/* ==========================================================================
   Guarda Digital — Landing Page Stylesheet
   Converted from React + Tailwind to pure CSS
   Color scheme: Purple / Magenta (premium platform aesthetic)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand colors */
  --gd-purple:        hsl(270, 70%, 50%);
  --gd-purple-light:  hsl(270, 80%, 65%);
  --gd-purple-dark:   hsl(270, 60%, 30%);
  --gd-magenta:       hsl(320, 80%, 55%);
  --gd-magenta-light: hsl(320, 85%, 70%);
  --gd-pink:          hsl(330, 90%, 65%);
  --gd-green:         hsl(152, 60%, 40%);
  --gd-gold:          hsl(42,  52%, 54%);

  /* Surface / text / border */
  --bg-light:    hsl(270, 60%, 96%);
  --text-primary: hsl(270, 30%, 15%);
  --text-muted:   hsl(270, 10%, 45%);
  --border-color: hsl(270, 15%, 90%);
  --card-bg:      #ffffff;

  /* Elevation shadows */
  --shadow-sm:  0 1px 3px hsla(270, 40%, 20%, 0.08), 0 1px 2px hsla(270, 40%, 20%, 0.06);
  --shadow-md:  0 4px 16px hsla(270, 40%, 20%, 0.10), 0 2px 6px hsla(270, 40%, 20%, 0.07);
  --shadow-lg:  0 10px 30px hsla(270, 40%, 20%, 0.12), 0 4px 10px hsla(270, 40%, 20%, 0.08);
  --shadow-xl:  0 20px 50px hsla(270, 40%, 20%, 0.14), 0 8px 20px hsla(270, 40%, 20%, 0.10);
  --shadow-2xl: 0 25px 60px hsla(270, 50%, 30%, 0.20), 0 10px 24px hsla(270, 50%, 30%, 0.14);
  --shadow-purple: 0 8px 40px hsla(270, 70%, 50%, 0.30);
  --shadow-pink:   0 8px 32px hsla(320, 80%, 55%, 0.35);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.5s ease;

  /* Border radii */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-primary);
  background-color: #ffffff;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  line-height: 1.7;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   Typography Helpers
   -------------------------------------------------------------------------- */
.font-heading {
  font-family: 'Poppins', sans-serif;
}

.font-body {
  font-family: 'Open Sans', sans-serif;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Wider container for plans grid (4 columns need more space) */
#planos .container {
  max-width: 1400px;
}

.section {
  padding: 6rem 1.5rem;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Alignment utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

/* Base button shared styles */
.gd-btn-pink,
.gd-btn-outline,
.gd-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              background var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base);
  position: relative;
  overflow: hidden;
  line-height: 1;
}

/* Pink / magenta gradient button */
.gd-btn-pink {
  background: linear-gradient(135deg, var(--gd-magenta), var(--gd-pink));
  color: #ffffff;
  box-shadow: var(--shadow-pink);
}

.gd-btn-pink:hover,
.gd-btn-pink:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px hsla(320, 80%, 55%, 0.50);
}

.gd-btn-pink:active {
  transform: translateY(0);
}

/* Outline button */
.gd-btn-outline {
  background: transparent;
  color: var(--gd-purple);
  border: 2px solid var(--gd-purple);
  box-shadow: none;
}

.gd-btn-outline:hover,
.gd-btn-outline:focus-visible {
  background: hsla(270, 70%, 50%, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.gd-btn-outline:active {
  transform: translateY(0);
}

/* Solid purple button */
.gd-btn-primary {
  background: var(--gd-purple);
  color: #ffffff;
  box-shadow: var(--shadow-purple);
}

.gd-btn-primary:hover,
.gd-btn-primary:focus-visible {
  background: var(--gd-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px hsla(270, 70%, 50%, 0.45);
}

.gd-btn-primary:active {
  transform: translateY(0);
}

/* Large button variant */
.gd-btn--lg {
  font-size: 1.1rem;
  padding: 1.125rem 2.5rem;
}

/* Small button variant */
.gd-btn--sm {
  font-size: 0.875rem;
  padding: 0.625rem 1.5rem;
}

/* --------------------------------------------------------------------------
   NavBar (Fixed)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 2px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: linear-gradient(
    180deg,
    hsla(270, 70%, 30%, 0.95),
    hsla(270, 60%, 35%, 0.85)
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsla(270, 50%, 80%, 0.10);
  transition: background var(--transition-base),
              padding var(--transition-base);
}

.navbar.scrolled {
  background: linear-gradient(
    180deg,
    hsla(270, 70%, 25%, 0.98),
    hsla(270, 60%, 30%, 0.96)
  );
  padding: 0.75rem 3rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 2.25rem;
  width: auto;
}

.navbar-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Shimmer accent bar above navbar */
.navbar-shimmer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gd-magenta) 30%,
    var(--gd-pink) 50%,
    var(--gd-magenta) 70%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: gd-shimmer 3s linear infinite;
}

/* Desktop nav links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
}

.navbar-link:hover,
.navbar-link:focus-visible {
  color: #ffffff;
}

.navbar-link--active {
  color: #ffffff;
}

/* Mobile hamburger toggle */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

.navbar-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Desktop CTA button (smaller) */
.navbar-cta {
  font-size: 0.875rem;
  padding: 0.625rem 1.75rem;
}

/* Mobile flyout menu — Blazor conditionally renders this element,
   so it must be display:flex when present (no .open toggle needed) */
.navbar-mobile {
  display: flex;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(
    180deg,
    hsl(270, 65%, 28%),
    hsl(270, 60%, 25%)
  );
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.5rem;
  border-bottom: 1px solid hsla(270, 50%, 80%, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar-mobile-link {
  font-family: 'Open Sans', sans-serif;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid hsla(270, 50%, 80%, 0.10);
  transition: color var(--transition-fast);
}

.navbar-mobile-link:hover {
  color: #ffffff;
}

.navbar-mobile-link:last-of-type {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsla(270, 70%, 35%, 0.85) 0%,
    hsla(320, 70%, 45%, 0.60) 50%,
    hsla(270, 60%, 40%, 0.40) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero h1 {
  font-weight: 800;
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 span {
  font-weight: 900;
}

.hero p {
  color: rgba(255, 255, 255, 0.90);
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  border-radius: 1.5rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(
    135deg,
    hsla(320, 80%, 55%, 0.90),
    hsla(330, 90%, 65%, 0.90)
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* CTA button inside hero card */
.hero-cta-btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: hsl(320, 80%, 45%);
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Wave at bottom of hero */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.gd-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

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

.gd-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: hsla(270, 70%, 50%, 0.12);
  flex-shrink: 0;
}

.gd-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gd-purple);
}

.gd-card-icon--magenta {
  background: hsla(320, 80%, 55%, 0.12);
}

.gd-card-icon--magenta svg {
  color: var(--gd-magenta);
}

.gd-card-icon--green {
  background: hsla(152, 60%, 40%, 0.12);
}

.gd-card-icon--green svg {
  color: var(--gd-green);
}

.gd-card-icon--gold {
  background: hsla(42, 52%, 54%, 0.14);
}

.gd-card-icon--gold svg {
  color: var(--gd-gold);
}

.gd-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.gd-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-eyebrow {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gd-magenta);
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin-top: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-title span {
  background: linear-gradient(135deg, var(--gd-purple), var(--gd-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 42rem;
  margin: 1rem auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Combo Section (dark card)
   -------------------------------------------------------------------------- */
.combo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid hsla(270, 70%, 50%, 0.12);
}

.combo-header {
  padding: 2rem 3rem 1.5rem;
  background: hsl(250, 25%, 14%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.combo-header-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.combo-header-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
}

.combo-body {
  background: #ffffff;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
}

.combo-col {
  flex: 1;
}

.combo-divider {
  width: 1px;
  background: hsla(270, 70%, 50%, 0.10);
  flex-shrink: 0;
  align-self: stretch;
}

.combo-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.combo-item:last-child {
  margin-bottom: 0;
}

.combo-item-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.combo-item-icon--purple {
  background: hsla(270, 70%, 50%, 0.12);
}

.combo-item-icon--purple svg {
  color: var(--gd-purple);
  width: 1.25rem;
  height: 1.25rem;
}

.combo-item-icon--magenta {
  background: hsla(320, 80%, 55%, 0.12);
}

.combo-item-icon--magenta svg {
  color: var(--gd-magenta);
  width: 1.25rem;
  height: 1.25rem;
}

.combo-item-icon--green {
  background: hsla(152, 60%, 40%, 0.12);
}

.combo-item-icon--green svg {
  color: var(--gd-green);
  width: 1.25rem;
  height: 1.25rem;
}

.combo-item-content h4 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.combo-item-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Plans / Pricing Section
   -------------------------------------------------------------------------- */
.plan-card {
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
  background: #ffffff;
  border: 1px solid var(--border-color);
  position: relative;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.plan-card--featured {
  border: 2px solid var(--gd-purple);
  box-shadow: 0 8px 40px hsla(270, 70%, 50%, 0.15);
}

.plan-card--featured:hover {
  box-shadow: 0 20px 60px hsla(270, 70%, 50%, 0.25);
}

/* Plans grid — adapts to 3, 4, or 5 plans */
.plans-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* 3 plans: 3 columns */
.plans-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 4 plans: 4 columns */
.plans-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* 5 plans: row of 3 + row of 2 centered, or all 5 on wide screens */
.plans-grid--5 {
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}

@media (min-width: 1200px) {
  .plans-grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .plans-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Center the last 2 cards */
  .plans-grid--5 .plan-card:nth-child(4) {
    grid-column: 1 / 2;
    justify-self: center;
    max-width: 100%;
  }
  .plans-grid--5 .plan-card:nth-child(5) {
    grid-column: 2 / 4;
    justify-self: center;
    max-width: calc(50% - 0.75rem);
  }

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

@media (max-width: 768px) {
  .plans-grid--3,
  .plans-grid--4,
  .plans-grid--5 {
    grid-template-columns: 1fr;
  }

  .plans-grid .plan-card {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .plans-grid--5 .plan-card:nth-child(4),
  .plans-grid--5 .plan-card:nth-child(5) {
    grid-column: auto;
    justify-self: auto;
    max-width: 28rem;
  }
}

/* "Mais Popular" badge */
.plan-badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gd-magenta), var(--gd-pink));
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.375rem 1.25rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 16px hsla(320, 80%, 55%, 0.40);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.plan-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.plan-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.plan-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--gd-purple);
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-price sup {
  font-size: 1.25rem;
  font-weight: 700;
  vertical-align: super;
  margin-right: 0.125rem;
}

.plan-period {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
  margin-bottom: 2rem;
}

.plan-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  flex: 1;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.plan-features li:last-child {
  margin-bottom: 0;
}

.plan-features li svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--gd-purple);
}

.plan-features li.plan-feature--disabled {
  color: var(--text-muted);
  opacity: 0.65;
}

.plan-features li.plan-feature--disabled svg {
  color: var(--text-muted);
}

.plan-cta {
  width: 100%;
  text-align: center;
  display: block;
}

/* --------------------------------------------------------------------------
   Wave Divider
   -------------------------------------------------------------------------- */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: -1px 0;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 4rem 1.5rem;
  background: hsl(270, 50%, 20%);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid hsla(270, 50%, 80%, 0.15);
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-logo img {
  height: 2rem;
  width: auto;
}

.footer-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffffff;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 22rem;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer a:hover,
.footer a:focus-visible {
  color: #ffffff;
}

/* Contact links with icon */
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-link svg {
  flex-shrink: 0;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(270, 50%, 80%, 0.12);
  color: rgba(255, 255, 255, 0.80);
  font-size: 1rem;
  transition: transform var(--transition-base),
              background var(--transition-base),
              color var(--transition-base);
  flex-shrink: 0;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  transform: scale(1.10);
  background: hsla(270, 50%, 80%, 0.22);
  color: #ffffff;
}

.footer-social a svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Section Reveal Animation
   -------------------------------------------------------------------------- */
/* Section reveal: visible by default (SSR/no-JS friendly).
   JS adds .gd-reveal-ready to enable the animation, then
   IntersectionObserver adds .visible to trigger it. */
.gd-section-reveal {
  opacity: 1;
  transform: translateY(0);
}

.gd-section-reveal.gd-reveal-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out,
              transform 0.8s ease-out;
}

.gd-section-reveal.gd-reveal-ready.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.gd-section-reveal.visible .gd-card:nth-child(1),
.gd-section-reveal.visible .plan-card:nth-child(1) {
  transition-delay: 0.05s;
}

.gd-section-reveal.visible .gd-card:nth-child(2),
.gd-section-reveal.visible .plan-card:nth-child(2) {
  transition-delay: 0.10s;
}

.gd-section-reveal.visible .gd-card:nth-child(3),
.gd-section-reveal.visible .plan-card:nth-child(3) {
  transition-delay: 0.15s;
}

.gd-section-reveal.visible .gd-card:nth-child(4),
.gd-section-reveal.visible .plan-card:nth-child(4) {
  transition-delay: 0.20s;
}

/* --------------------------------------------------------------------------
   Animations / Keyframes
   -------------------------------------------------------------------------- */
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gd-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes gd-pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.08);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* Utility animation classes */
.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
  opacity: 0;
}

.animate-fade-in-delay-1 {
  animation: fade-in 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.animate-fade-in-delay-2 {
  animation: fade-in 0.6s ease-out 0.6s forwards;
  opacity: 0;
}

.animate-fade-in-delay-3 {
  animation: fade-in 0.6s ease-out 0.9s forwards;
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Color utilities */
.text-purple {
  color: var(--gd-purple);
}

.text-magenta {
  color: var(--gd-magenta);
}

.text-white {
  color: #ffffff;
}

.text-muted {
  color: var(--text-muted);
}

/* Background utilities */
.bg-light {
  background: var(--bg-light);
}

.bg-white {
  background: #ffffff;
}

.bg-dark-purple {
  background: hsl(270, 50%, 20%);
}

/* Margin / padding helpers */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Width helpers */
.w-full { width: 100%; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--gd-purple), var(--gd-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient text — magenta to pink variant */
.gradient-text-pink {
  background: linear-gradient(135deg, var(--gd-magenta), var(--gd-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   Responsive — Tablet: 769px – 1024px
   -------------------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .navbar {
    padding: 1rem 2rem;
  }

  .hero-content {
    max-width: 36rem;
  }

  .combo-body {
    flex-direction: column;
  }

  .combo-divider {
    display: none;
  }

  .wave-divider svg {
    height: 80px;
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}

/* --------------------------------------------------------------------------
   Responsive — Mobile: max-width 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Layout */
  .section {
    padding: 3rem 1.5rem;
  }

  /* Grids */
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

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

  /* NavBar */
  .navbar {
    padding: 1rem 1.25rem;
  }

  .navbar-links {
    display: none;
  }

  .navbar-cta {
    display: none;
  }

  .navbar-toggle {
    display: block;
  }

  /* Hero */
  .hero-content {
    max-width: 100%;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 1rem;
    width: 100%;
  }

  .hero-cta .gd-btn-pink,
  .hero-cta .gd-btn-outline,
  .hero-cta .gd-btn-primary {
    width: 100%;
    justify-content: center;
  }

  /* Combo */
  .combo-header {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .combo-body {
    flex-direction: column;
    padding: 1.5rem;
    gap: 2rem;
  }

  .combo-divider {
    display: none;
  }

  /* Plans */
  .plan-card {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  /* Section headers */
  .section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  /* Footer */
  .footer {
    padding: 3rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Wave divider height */
  .wave-divider svg {
    height: 40px;
  }

  /* Buttons */
  .gd-btn-pink,
  .gd-btn-outline,
  .gd-btn-primary {
    font-size: 0.95rem;
    padding: 0.8rem 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   Focus visible (accessibility)
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--gd-magenta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove default outline when not using keyboard */
:focus:not(:focus-visible) {
  outline: none;
}
