:root {
  --bg: #f8fafc;
  --bg-subtle: #f1f5f9;
  --ink: #0f172a;
  --ink-light: #475569;
  --brand: #0ea5e9;
  --brand-dark: #0284c7;
  --green: #10b981;
  --green-dark: #059669;
  --line: #e2e8f0;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.8);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

::selection {
  background: var(--brand);
  color: white;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 10px;
  border: 3px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ink-light);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem 0;
  transition: padding 0.3s ease;
}

.site-header.scrolled {
  padding: 0.2rem 0;
  box-shadow: var(--shadow-lg);
}

.logo {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  -webkit-text-fill-color: var(--brand);
  width: 28px;
  height: 28px;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--ink-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-ghost {
  text-decoration: none;
  color: var(--ink-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-ghost:hover {
  color: var(--brand);
}

.wa-btn {
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  transition: all 0.2s;
}

.wa-btn i {
  width: 18px;
  height: 18px;
}

.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

/* Hero */
.hero {
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, #e0f2fe 0%, transparent 40%),
              radial-gradient(circle at 90% 10%, #dcfce7 0%, transparent 35%);
  z-index: -1;
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  color: #0369a1;
  background: #f0f9ff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
  font-weight: 900;
  color: #0f172a;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.2rem;
  color: var(--ink-light);
  margin-bottom: 2rem;
  max-width: 540px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.checks li {
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink-light);
  font-weight: 500;
}

.checks li i {
  color: var(--green);
  width: 20px;
}

.cta-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -10px;
}

.avatars img:first-child {
  margin-left: 0;
}

.trust-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-light);
}

.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
  transition: all 0.2s;
}

.btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.3);
}

/* Glass Card */
.glass-card {
  background: var(--glass);
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid var(--white);
  box-shadow: var(--shadow-xl);
}

.glass-card img {
  border-radius: 16px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.glass-card img:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Trust Section */
.trust-section {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.trust-section p {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 2.5rem;
}

.logo-cloud {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  opacity: 0.6;
  filter: grayscale(1);
}

.logo-marquee {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  width: 100%;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.logo-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.dummy-logo {
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  opacity: 0.6;
  white-space: nowrap;
}

/* Sections General */
.section {
  padding: 8rem 0;
}

.light {
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  font-weight: 800;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--ink-light);
}

/* Grids */
.grid4, .grid3 {
  display: grid;
  gap: 2rem;
}

.grid4 { grid-template-columns: repeat(4, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }

/* LAIA AI Mockup */
.laia-visual {
  perspective: 1000px;
}

.ai-chat-mockup {
  background: #1e293b;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: rotateY(-10deg) rotateX(5deg);
  max-width: 400px;
  margin: 0 auto;
}

.chat-header {
  background: #334155;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f1f5f9;
  font-size: 0.8rem;
  font-weight: 600;
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.dot:nth-child(2) { background: #fbbf24; }
.dot:nth-child(3) { background: #22c55e; }

.chat-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.msg {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  max-width: 85%;
}

.msg.bot {
  background: #334155;
  color: #f1f5f9;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.msg.user {
  background: var(--brand);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.msg.sparkles {
  border: 1px solid var(--brand);
  position: relative;
}

.mini-feat {
  background: var(--white);
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mini-feat h4 { margin: 0; font-size: 0.95rem; }
.mini-feat i { width: 20px; height: 20px; }
.feature-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: var(--bg-subtle);
  color: var(--brand);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.icon-box.brand { background: #e0f2fe; }

/* Problem/Solution Cards */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.card {
  padding: 4rem 3rem;
  border-radius: 32px;
  border: 1px solid var(--line);
}

.card.bad { border-top: 8px solid #ef4444; background: #fff; }
.card.good { border-top: 8px solid var(--green); background: #fff; box-shadow: var(--shadow-xl); }

/* Gallery */
.gallery-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item span {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.1rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.stars { color: #fbbf24; margin-bottom: 1.5rem; }

/* Pricing */
.price-card {
  background: var(--white);
  padding: 4rem 2.5rem;
  border-radius: 32px;
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.3s;
}

.price-card.featured {
  border: 2px solid var(--brand);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.price { font-size: 3.5rem; font-weight: 900; margin: 1.5rem 0; }
.price span { font-size: 1rem; color: var(--ink-light); }

.feature-list { list-style: none; padding: 0; margin: 2.5rem 0; display: flex; flex-direction: column; gap: 1rem; }
.feature-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 1rem; }

.btn-outline {
  display: block;
  text-align: center;
  padding: 1.2rem;
  border-radius: 16px;
  border: 2px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  transition: all 0.2s;
}

.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.popular-tag {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--brand);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  padding: 2.5rem;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--line);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  text-align: center;
  padding: 10rem 0;
}

.cta h2 { font-size: clamp(2.5rem, 5vw, 4rem); color: white; margin-bottom: 1.5rem; }

/* Footer */
.site-footer {
  padding: 8rem 0 3rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { text-decoration: none; color: var(--ink-light); transition: color 0.2s; }
.footer-links a:hover { color: var(--brand); }

.footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
  .hero-shot img { transform: none !important; margin: 0 auto; }
  .grid4, .grid3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .laia-visual .ai-chat-mockup { transform: none; margin: 0 auto; }
}

@media (max-width: 768px) {
  nav, .btn-ghost { display: none; }
  .grid4, .grid3, .split, .gallery-3, .faq-grid, .footer-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; margin: 2rem 0; }
  .section { padding: 5rem 0; }
  .cta-row { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 2rem; }
  .hero { padding: 6rem 0 4rem; }
  .ai-chat-mockup { max-width: 100%; }
}
