/* ===========================
   GOOGLE AI PRO 5TB — LANDING PAGE
   Design System & Styles
   =========================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Google+Sans:wght@400;500;700&display=swap');

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Colors */
  --white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-section: #F1F3F4;
  --text-primary: #202124;
  --text-secondary: #5F6368;
  --text-muted: #9AA0A6;
  --border-light: #E8EAED;

  /* Google Brand Colors */
  --google-blue: #4285F4;
  --google-blue-dark: #3367D6;
  --google-blue-light: #E8F0FE;
  --google-red: #EA4335;
  --google-red-light: #FCE8E6;
  --google-yellow: #FBBC05;
  --google-green: #34A853;
  --google-green-light: #E6F4EA;

  /* Typography */
  --font-primary: 'Inter', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-blue: 0 8px 30px rgba(66, 133, 244, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Utility --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.google-logo-text {
  font-size: var(--font-size-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.google-logo-text .g-blue { color: var(--google-blue); }
.google-logo-text .g-red { color: var(--google-red); }
.google-logo-text .g-yellow { color: var(--google-yellow); }
.google-logo-text .g-green { color: var(--google-green); }

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--google-blue-light);
  color: var(--google-blue);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.header-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--google-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  padding: calc(64px + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(52, 168, 83, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.hero-tagline .spark {
  font-size: 16px;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.hero-title .highlight {
  color: var(--google-blue);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  font-weight: 400;
}

/* Price Card */
.price-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--google-blue), var(--google-red), var(--google-yellow), var(--google-green));
}

.price-badge {
  display: inline-block;
  background: var(--google-blue-light);
  color: var(--google-blue);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
}

.price-original {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-value {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.price-value .currency {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.price-period {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  font-weight: 500;
}

.price-installments {
  font-size: var(--font-size-sm);
  color: var(--google-green);
  font-weight: 600;
  margin-top: var(--space-xs);
}

.price-note {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Hero Visual (right side) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Image */
.hero-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-xl);
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 16px 48px rgba(66, 133, 244, 0.12));
  animation: float-img 8s ease-in-out infinite;
}

@keyframes float-img {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.price-period-label {
  font-size: var(--font-size-base);
  color: var(--google-blue);
  font-weight: 600;
  margin-top: 2px;
  margin-bottom: var(--space-sm);
}

/* ===========================
   BENEFITS SECTION
   =========================== */
.benefits {
  padding: var(--space-4xl) 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--google-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.benefit-card.featured {
  border-color: var(--google-blue);
  box-shadow: var(--shadow-md);
}

.benefit-card.featured::before {
  content: 'DESTAQUE';
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--google-blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-md);
}

.benefit-icon.blue { background: var(--google-blue-light); }
.benefit-icon.green { background: var(--google-green-light); }
.benefit-icon.red { background: var(--google-red-light); }
.benefit-icon.yellow { background: #FEF7E0; }
.benefit-icon.purple { background: #F3E8FD; }
.benefit-icon.teal { background: #E0F7FA; }

.benefit-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.benefit-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===========================
   EXCLUSIVE CARD SECTION
   =========================== */
.exclusive {
  padding: var(--space-4xl) 0;
  background: var(--white);
}

.exclusive-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.exclusive-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--google-blue), var(--google-red), var(--google-yellow), var(--google-green));
}

.exclusive-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.exclusive-icon {
  width: 52px;
  height: 52px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.exclusive-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.exclusive-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.exclusive-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.exclusive-highlight {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.exclusive-highlight-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.exclusive-highlight-text {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.exclusive-highlight-text strong {
  color: var(--text-primary);
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-light);
  position: relative;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* Counter */
.counter-wrapper {
  margin-bottom: var(--space-2xl);
}

.counter-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--google-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.counter-number-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.counter-number {
  font-size: 72px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: transform 0.3s ease;
}

.counter-number.decrement {
  animation: counter-pop 0.4s ease;
}

@keyframes counter-pop {
  0% { transform: scale(1); }
  30% { transform: scale(1.1); color: var(--google-red); }
  100% { transform: scale(1); }
}

.counter-text {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  font-weight: 500;
}

/* Progress bar */
.counter-bar-wrapper {
  max-width: 400px;
  margin: 0 auto var(--space-md);
}

.counter-bar {
  height: 8px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.counter-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--google-red), var(--google-yellow));
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.counter-warning {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--google-blue);
  color: var(--white);
  font-size: var(--font-size-lg);
  font-weight: 700;
  padding: 18px 48px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  box-shadow: var(--shadow-blue);
  margin-top: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover {
  background: var(--google-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(66, 133, 244, 0.4);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button .arrow {
  font-size: 20px;
  transition: transform var(--transition-fast);
}

.cta-button:hover .arrow {
  transform: translateX(4px);
}

/* WhatsApp contact button */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: #25D366;
  color: var(--white);
  font-size: var(--font-size-lg);
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  margin-top: var(--space-md);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-base);
}

.whatsapp-button:hover {
  background: #1EBE5D;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* CTA Price reminder */
.cta-price-reminder {
  margin-top: var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.cta-price-reminder strong {
  color: var(--text-primary);
  font-size: var(--font-size-base);
}

/* Trust badges */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.trust-badge .icon {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: var(--space-2xl) 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  text-align: center;
}

.footer-google-bar {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-lg);
}

.footer-google-bar span {
  width: 32px;
  height: 3px;
  border-radius: var(--radius-full);
}

.footer-google-bar span:nth-child(1) { background: var(--google-blue); }
.footer-google-bar span:nth-child(2) { background: var(--google-red); }
.footer-google-bar span:nth-child(3) { background: var(--google-yellow); }
.footer-google-bar span:nth-child(4) { background: var(--google-green); }

.footer-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.footer-disclaimer {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.footer-copy {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-top: var(--space-md);
}

/* ===========================
   RESPONSIVE
   =========================== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
  }

  .hero-tagline {
    margin: 0 auto var(--space-lg);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .price-card {
    max-width: 480px;
    margin: 0 auto var(--space-xl);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --font-size-5xl: 2.25rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
  }

  .header-badge {
    display: none;
  }

  .hero {
    padding: calc(64px + var(--space-2xl)) 0 var(--space-2xl);
  }

  .storage-badge {
    width: 120px;
    height: 120px;
  }

  .storage-badge .number {
    font-size: 40px;
  }

  .floating-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .exclusive-card {
    padding: var(--space-xl);
  }

  .counter-number {
    font-size: 56px;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
  }

  .whatsapp-button {
    width: 100%;
  }

  .trust-badges {
    flex-direction: column;
    gap: var(--space-md);
  }
}
