/* ======================================================
   PracticApp — Landing Page Styles
   Stack: Vanilla CSS, Mobile First
   ====================================================== */

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

:root {
  --bg:         #0D1117;
  --bg-2:       #111820;
  --bg-card:    #141C26;
  --bg-card-2:  #111820;
  --navy:       #1A3A5C;
  --cyan:       #00B4D8;
  --cyan-dark:  #0090AD;
  --cyan-glow:  rgba(0, 180, 216, 0.15);
  --text:       #E6EDF3;
  --text-muted: #8B9BAD;
  --border:     rgba(255,255,255,0.07);
  --border-cyan:rgba(0,180,216,0.25);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.25s ease;
  --font:       'Outfit', 'Segoe UI', sans-serif;
  --shadow-card: 0 4px 32px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 40px rgba(0,180,216,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: #4cc9e8; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Utility ---- */
.gradient-text {
  background: linear-gradient(90deg, var(--cyan) 0%, #90e0ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid var(--border-cyan);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan);
  color: #000;
}
.btn-primary:hover {
  background: #4cc9e8;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,180,216,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--border-cyan);
}
.btn-outline:hover {
  background: var(--cyan-glow);
  color: #4cc9e8;
  border-color: var(--cyan);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---- Fade-in animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon { flex-shrink: 0; }
.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
}
.logo-accent { color: var(--cyan); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-cta { margin-left: 8px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(26,58,92,0.5) 0%, transparent 70%),
              var(--bg);
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}
.hero-waves svg { width: 100%; height: auto; }

.hero-deco {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}
.deco-anchor {
  position: absolute;
  animation: floatAnchor 8s ease-in-out infinite;
}
.deco-1 { top: 18%; right: 8%; animation-delay: 0s; }
.deco-2 { bottom: 28%; left: 6%; animation-delay: -4s; }

@keyframes floatAnchor {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 40px 60px;
  align-items: center;
}

.hero-badge {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,216,0.08);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-headline {
  grid-column: 1;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-subheadline {
  grid-column: 1;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1 / 6;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Screen Mockup */
.screen-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: floatMockup 7s ease-in-out infinite;
}
@keyframes floatMockup {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.screen-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.screen-bar span:nth-child(1) { background: #ff5f57; }
.screen-bar span:nth-child(2) { background: #febc2e; }
.screen-bar span:nth-child(3) { background: #28c840; }

.screen-body { padding: 20px; }

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.mock-title {
  font-weight: 700;
  font-size: 0.95rem;
}
.mock-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0,180,216,0.15);
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.mock-label { color: var(--text-muted); }
.mock-val { font-weight: 500; }

.mock-divider { height: 1px; background: var(--border); margin: 12px 0; }

.mock-notif {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #4ade80;
  padding: 8px 10px;
  background: rgba(74,222,128,0.07);
  border-radius: 8px;
  border: 1px solid rgba(74,222,128,0.15);
  margin-bottom: 14px;
}

.mock-actions {
  display: flex;
  gap: 8px;
}
.mock-btn {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.mock-btn:hover { background: rgba(255,255,255,0.09); color: var(--text); }
.mock-btn-primary {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
}
.mock-btn-primary:hover { background: #4cc9e8; color: #000; }

/* ================================================================
   STATS
================================================================ */
.stats-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 20px 40px;
  flex: 1;
  min-width: 160px;
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ================================================================
   FEATURES
================================================================ */
.features-section {
  padding: 100px 0;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyan-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-glow);
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

/* ================================================================
   HOW IT WORKS
================================================================ */
.how-section {
  position: relative;
  padding: 100px 0;
  background: var(--bg-2);
}

.how-bg-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  line-height: 0;
}
.how-bg-wave svg { width: 100%; height: auto; }

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step-item {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 20px;
}

.step-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 24px rgba(0,180,216,0.1);
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
  opacity: 0.6;
}

/* ================================================================
   PLANS
================================================================ */
.plans-section {
  padding: 100px 0;
  background: var(--bg);
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  transition: all var(--transition);
}
.plan-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.plan-featured {
  border-color: var(--cyan);
  background: linear-gradient(160deg, rgba(0,180,216,0.06) 0%, var(--bg-card) 50%);
  box-shadow: 0 0 60px rgba(0,180,216,0.08);
}

.plan-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-header { display: flex; flex-direction: column; gap: 8px; }

.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}
.plan-currency {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.plan-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.plan-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.plan-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.plan-features strong { color: var(--text); }

.plans-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.plans-note a {
  color: var(--cyan);
  font-weight: 500;
}

/* ================================================================
   FAQ
================================================================ */
.faq-section {
  padding: 100px 0;
  background: var(--bg-2);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color var(--transition);
}
.faq-item.open {
  border-color: var(--border-cyan);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}
.faq-question:hover {
  background: rgba(255,255,255,0.03);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================================================================
   CTA FINAL
================================================================ */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--bg);
  overflow: hidden;
}

.cta-bg-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  pointer-events: none;
  opacity: 0.5;
}
.cta-ship { width: 100%; height: auto; }

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(26,58,92,0.3) 0%, rgba(0,180,216,0.06) 100%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.cta-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: #080D13;
  padding: 60px 0 32px;
  position: relative;
  border-top: 1px solid var(--border);
}

.footer-wave {
  position: absolute;
  top: -59px;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}
.footer-wave svg { width: 100%; height: auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-dev {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-dev a {
  color: var(--cyan);
  font-weight: 500;
}

.footer-links-group h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group li a,
.footer-links-group li span {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links-group li a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ================================================================
   RESPONSIVE — TABLET
================================================================ */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-links-group:nth-child(4) {
    grid-column: 2;
  }
}

/* ================================================================
   RESPONSIVE — MOBILE
================================================================ */
@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13,17,23,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1.25rem;
    padding: 12px 24px;
  }

  .nav-toggle { display: flex; z-index: 1000; }
  .nav-cta { display: none; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badge { margin: 0 auto; }
  .hero-subheadline { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { grid-column: 1; grid-row: auto; }

  .stats-grid {
    flex-direction: column;
    gap: 0;
  }
  .stat-divider {
    width: 60px;
    height: 1px;
  }
  .stat-item { padding: 18px 20px; }

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

  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { display: none; }

  .plans-grid { max-width: 100%; }
  .plan-card { padding: 24px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-brand { grid-column: 1; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-content {
    padding: 36px 24px;
  }

  .section-header { margin-bottom: 40px; }

  .how-section { padding-top: 80px; }
}

@media (max-width: 480px) {
  .btn-lg {
    padding: 12px 20px;
    font-size: 0.925rem;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ================================================================
   INNER PAGES — Page Hero (Términos, Privacidad, Contacto)
================================================================ */
.page-hero {
  padding: 140px 0 60px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(26,58,92,0.45) 0%, transparent 70%), var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .section-tag { margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ================================================================
   LEGAL PAGES — Content
================================================================ */
.legal-section {
  padding: 72px 0 100px;
  background: var(--bg);
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-content ul {
  list-style: none;
  margin: 0 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-content ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.legal-content a { color: var(--cyan); }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-last-updated {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 40px;
}

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-section {
  padding: 72px 0 100px;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}
.contact-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--cyan-glow);
  border: 1px solid var(--border-cyan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-text h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.contact-detail-text p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
}

/* Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.form-group label span { color: var(--cyan); }
.form-control {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-control::placeholder { color: #3d4f62; }
.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%238B9BAD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
select.form-control option { background: #141C26; }
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

/* Turnstile widget */
.cf-turnstile {
  margin-top: 4px;
}

/* Alerts */
.form-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-alert-success {
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
  color: #4ade80;
}
.form-alert-error {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.25);
  color: #f87171;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
}
