/* ═══════════════════════════════════════════════════════════════
   SunOne Landing v2 — index.css
   Design language: dark #0a1425, brand #9F2583 → #ED5DA5
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

/* ─── Design tokens ──────────────────────────────────────────── */
:root {
    --a: #9F2583;
    --b: #ED5DA5;
    --bg: #0a1425;
    --card: #111d33;
    --card2: #0e1929;
    --border: rgba(255,255,255,.07);
    --border-h: rgba(237,93,165,.22);
    --muted: rgba(255,255,255,.38);
    --soft: rgba(255,255,255,.62);
    --white: #ffffff;
    --green: #34d399;
    --r: 16px;
    --r-sm: 10px;
    --ease: cubic-bezier(.4,0,.2,1);
    --t: .22s cubic-bezier(.4,0,.2,1);
}

/* ─── Body ───────────────────────────────────────────────────── */
body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── Background decoration ──────────────────────────────────── */
.bg-layer {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.bg-mesh {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 8% 12%, rgba(159,37,131,.13) 0%, transparent 55%),
        radial-gradient(ellipse 55% 60% at 90% 85%, rgba(237,93,165,.09) 0%, transparent 55%),
        var(--bg);
}
.bg-grid {
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0, rgba(255,255,255,.014) 1px, transparent 1px, transparent 76px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.014) 0, rgba(255,255,255,.014) 1px, transparent 1px, transparent 76px);
}
.orb {
    position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none;
    animation: floatOrb 16s ease-in-out infinite alternate;
}
.orb-1 { width: 620px; height: 620px; background: rgba(159,37,131,.10); top: -200px; left: -200px; }
.orb-2 { width: 480px; height: 480px; background: rgba(237,93,165,.07); bottom: -150px; right: -150px; animation-delay: -6s; }
.orb-3 { width: 320px; height: 320px; background: rgba(159,37,131,.05); top: 38%; left: 42%; animation-delay: -11s; }
@keyframes floatOrb {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(32px, 22px) scale(1.09); }
}

/* ─── Layout ─────────────────────────────────────────────────── */
.wrap { position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(159,37,131,.12); border: 1px solid rgba(159,37,131,.28);
    border-radius: 100px; padding: 5px 14px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px;
    color: var(--b); margin-bottom: 18px;
}
.section-label .dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--b);
    animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.3; transform:scale(.55); }
}
.grad-text {
    background: linear-gradient(130deg, var(--a) 0%, var(--b) 70%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
h2 { font-size: clamp(28px, 3.6vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; }
p { line-height: 1.72; }

/* ─── Scroll-reveal ──────────────────────────────────────────── */
.reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .42s; }

/* ═══════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    height: 70px; display: flex; align-items: center;
    border-bottom: 1px solid transparent;
    transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s;
}
.nav.scrolled {
    background: rgba(10,20,37,.88); backdrop-filter: blur(18px) saturate(150%);
    border-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 42px; display: block; }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
    font-size: 14px; font-weight: 500; color: var(--soft); text-decoration: none;
    position: relative; padding-bottom: 2px; transition: color var(--t);
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1.5px;
    background: linear-gradient(90deg, var(--a), var(--b));
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px; border-radius: var(--r-sm);
    font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
    text-decoration: none; border: none; transition: all var(--t);
}
.btn-ghost {
    background: rgba(255,255,255,.06); border: 1px solid var(--border);
    color: var(--soft); padding: 9px 20px;
}
.btn-ghost:hover { background: rgba(255,255,255,.10); color: var(--white); border-color: var(--border-h); }
.btn-primary {
    background: linear-gradient(135deg, var(--a) 0%, var(--b) 100%);
    color: #fff; padding: 10px 22px; position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0); transition: background var(--t);
}
.btn-primary:hover::before { background: rgba(255,255,255,.09); }
.btn-primary:active { transform: scale(.98); }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--r); }
.btn-lg.btn-primary { border-radius: var(--r); }
.btn-outline {
    background: transparent; border: 1px solid rgba(255,255,255,.16); color: var(--soft);
    padding: 13px 28px; font-size: 15px; border-radius: var(--r);
}
.btn-outline:hover { border-color: var(--border-h); color: var(--white); }

/* Hamburger */
.nav-hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px; width: 38px;
}
.nav-hamburger span {
    display: block; width: 22px; height: 2px; background: var(--white);
    border-radius: 2px; transition: all .28s var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.nav-panel {
    position: fixed; top: 70px; left: 0; right: 0; z-index: 890;
    background: rgba(9,18,34,.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border); padding: 24px 28px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s;
}
.nav-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.nav-panel ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.nav-panel a { font-size: 16px; font-weight: 500; color: var(--soft); text-decoration: none; }
.nav-panel a:hover { color: var(--white); }

@media (max-width: 800px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-actions .btn-ghost { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.s-hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 110px 0 72px; overflow: hidden;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 52px; text-align: center; }
    .hero-visual { order: -1; }
    .hero-ctas, .hero-trust { justify-content: center; }
    .hero-p { margin-left: auto; margin-right: auto; }
}

/* Kicker badge */
.hero-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(159,37,131,.12); border: 1px solid rgba(159,37,131,.28);
    border-radius: 100px; padding: 6px 16px; margin-bottom: 26px;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.3px;
    color: var(--b); cursor: default;
}
.kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--b); animation: pulse 2s ease-in-out infinite; }

.hero-h1 {
    font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; line-height: 1.08;
    letter-spacing: -.025em; margin-bottom: 24px;
}
.hero-p {
    font-size: clamp(16px, 1.8vw, 19px); color: var(--soft); margin-bottom: 38px; max-width: 490px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-trust {}
.trust-label {
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--muted); margin-bottom: 14px;
}
.trust-logos {
    display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
    filter: brightness(5) saturate(0); opacity: .3;
}
.trust-logos img { height: 26px; object-fit: contain; }

/* Hero video + floating badge stats */
.hero-dashboard-outer {
    position: relative;
}
.hero-dashboard-outer::before {
    content: ''; position: absolute; inset: -40px;
    background: radial-gradient(ellipse 80% 70% at center, rgba(159,37,131,.22) 0%, transparent 65%);
    z-index: -1; border-radius: 50%; pointer-events: none;
}
.hero-video-wrap {
    position: relative; border-radius: 18px; overflow: visible;
    animation: dashFloat 8s ease-in-out infinite alternate;
}
.hero-video {
    width: 100%; max-width: 580px; display: block;
    border-radius: 18px;
    box-shadow: 0 48px 120px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.07);
}
@keyframes dashFloat {
    from { transform: translateY(0); }
    to   { transform: translateY(-16px); }
}

/* Floating stat badges */
.hv-badge {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: rgba(8,14,28,.88); backdrop-filter: blur(14px) saturate(1.6);
    border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(159,37,131,.18);
    white-space: nowrap; pointer-events: none;
}
.hv-badge-icon { width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.hv-badge-icon svg { width: 24px; height: 24px; }
.hv-badge-val {
    font-size: 17px; font-weight: 800; color: #fff; line-height: 1.1;
    letter-spacing: -.3px;
}
.hv-badge-val span { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.45); }
.hv-badge-lbl { font-size: 10.5px; color: rgba(255,255,255,.42); margin-top: 2px; }

/* Positions */
.hv-badge-tr { top: -18px; right: -10px; border-color: rgba(237,93,165,.35); }
.hv-badge-tr .hv-badge-val { color: #34d399; }
.hv-badge-bl { bottom: 28px; left: -14px; border-color: rgba(159,37,131,.3); }
.hv-badge-bl .hv-badge-val { color: #ED5DA5; }
.hv-badge-br { bottom: -18px; right: 20px; border-color: rgba(255,255,255,.1); }

.kpi-num { animation: fadeSlide .6s var(--ease) .3s both; }
.kpi-badge { animation: fadeSlide .5s var(--ease) .5s both; }
@keyframes fadeSlide { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform:none; } }

/* ═══════════════════════════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════════════════════════ */
.s-ticker {
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 16px 0; overflow: hidden; user-select: none;
}
.ticker-track {
    display: flex; width: max-content;
    animation: ticker 38s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
    display: inline-flex; align-items: center; gap: 10px; padding: 0 28px;
    font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap;
    transition: color .2s;
}
.ticker-item:hover { color: var(--soft); }
.ticker-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--a); opacity: .5; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   METRICS
   ═══════════════════════════════════════════════════════════════ */
.s-metrics { padding: 88px 0; }
.metrics-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    border-radius: var(--r); border: 1px solid var(--border); overflow: hidden;
    gap: 1px; background: var(--border);
}
@media (max-width: 640px) { .metrics-grid { grid-template-columns: 1fr; } }
.metric-card {
    background: var(--card); padding: 52px 36px; text-align: center;
    position: relative; overflow: hidden;
    transition: background var(--t);
}
.metric-card:hover { background: rgba(17,29,51,.9); }
.metric-card::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 50%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--a), var(--b), transparent);
    opacity: 0; transition: opacity .4s; border-radius: 2px;
}
.metric-card:hover::after { opacity: 1; }
.metric-number {
    font-size: clamp(52px, 7vw, 88px); font-weight: 800; line-height: 1;
    color: var(--white); margin-bottom: 10px; display: flex; align-items: flex-end; justify-content: center; gap: 2px;
}
.metric-suffix {
    font-size: .45em; font-weight: 800; line-height: 1.6;
    background: linear-gradient(130deg, var(--a), var(--b));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.metric-label { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   FEATURES BENTO
   ═══════════════════════════════════════════════════════════════ */
.s-features { padding: 80px 0; }
.section-head { margin-bottom: 56px; }
.section-head p { font-size: 17px; color: var(--soft); margin-top: 14px; max-width: 520px; }

.bento { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: auto; gap: 16px; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

.bcard {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
    padding: 32px; position: relative; overflow: hidden;
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.bcard:hover { border-color: var(--border-h); transform: translateY(-4px); box-shadow: 0 24px 56px rgba(0,0,0,.35); }
/* Shimmer sweep on hover */
.bcard::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 65%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(237,93,165,.04), transparent);
    transition: left .7s var(--ease); pointer-events: none;
}
.bcard:hover::before { left: 160%; }
/* Accent top border on hover */
.bcard::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--a), var(--b));
    transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.bcard:hover::after { transform: scaleX(1); }
.bcard.span-2 { grid-column: span 2; }
@media (max-width: 560px) { .bcard.span-2 { grid-column: span 1; } }

.bcard-inner { display: flex; gap: 32px; align-items: flex-start; height: 100%; }
@media (max-width: 700px) { .bcard-inner { flex-direction: column; } }
.bcard-inner.reverse { flex-direction: row-reverse; }
@media (max-width: 700px) { .bcard-inner.reverse { flex-direction: column; } }

.feat-icon {
    width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
    background: rgba(159,37,131,.12); border: 1px solid rgba(237,93,165,.18);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feat-icon svg { width: 26px; height: 26px; }
.bcard h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.bcard p { font-size: 14px; color: var(--soft); line-height: 1.68; }
.bcard .feat-copy { flex: 1; }
.bcard .feat-visual { flex-shrink: 0; width: 140px; display: flex; align-items: center; }
@media (max-width: 700px) { .bcard .feat-visual { width: 100%; max-width: 200px; margin: 0 auto; } }
.feat-visual svg { width: 100%; height: auto; }

/* ═══════════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════════ */
.s-process { padding: 80px 0; }
.process-inner { position: relative; }

/* ── Animated dashed connector ── */
.process-connector {
    position: absolute; top: 60px;
    left: calc(12.5% + 30px); right: calc(12.5% + 30px);
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(237,93,165,.6) 0,
        rgba(237,93,165,.6) 9px,
        transparent 9px,
        transparent 22px
    );
    animation: connFlow .55s linear infinite;
    z-index: 2; /* above cards, below step-num circles */
}
@keyframes connFlow { to { background-position: 22px 0; } }

/* Glowing particle traveling along the connector */
.process-connector::before {
    content: ''; position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; border-radius: 50%;
    background: radial-gradient(circle, rgba(237,93,165,.9) 0%, transparent 70%);
    animation: connParticle 5s linear infinite;
    left: 0; pointer-events: none;
}
/*
  Timeline (5 s total):
  0–3%   fade in at circle 1          (0.15 s)
  3–18%  travel → circle 2  @ left 33% (0.75 s)
  18–28% pause  at circle 2            (0.50 s)
  28–43% travel → circle 3  @ left 67% (0.75 s)
  43–53% pause  at circle 3            (0.50 s)
  53–68% travel → circle 4  @ left100% (0.75 s)
  68–82% pause  at circle 4            (0.70 s)
  82–100% fade out + reset gap         (0.90 s)
*/
@keyframes connParticle {
    0%   { left:   0%; opacity: 0; }
    3%   { left:   0%; opacity: 1; }
    18%  { left:  33%; opacity: 1; }
    28%  { left:  33%; opacity: 1; }
    43%  { left:  67%; opacity: 1; }
    53%  { left:  67%; opacity: 1; }
    68%  { left: 100%; opacity: 1; }
    82%  { left: 100%; opacity: 1; }
    92%  { left: 100%; opacity: 0; }
    100% { left: 100%; opacity: 0; }
}

@media (max-width: 768px) { .process-connector { display: none; } }

.process-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 28px;
    position: relative;
}
@media (max-width: 768px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .process-grid { grid-template-columns: 1fr; } }

.step {
    display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 12px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
    transition: border-color var(--t), transform var(--t);
}
.step { position: relative; top: 0; transition: border-color var(--t), top var(--t), box-shadow var(--t); }
.step:hover { border-color: var(--border-h); top: -4px; }

.step-num {
    width: 72px; height: 72px; border-radius: 50%; position: relative;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 800; margin-bottom: 20px;
    background: var(--card2);
    z-index: 3; /* above the dashed connector (z-index: 2) */
    animation: circleGlow 5s linear infinite;
}
/*
  Glow peaks ~0.25 s after particle arrives at each circle.
  Arrival times: circle1=0.15s  circle2=0.90s  circle3=2.15s  circle4=3.40s
  delay = arrival - 0.25s (glow peak is at 5% of 5s = 0.25s)
*/
.step:nth-child(1) .step-num { animation-delay:  0.00s; }
.step:nth-child(2) .step-num { animation-delay:  0.65s; }
.step:nth-child(3) .step-num { animation-delay:  1.90s; }
.step:nth-child(4) .step-num { animation-delay:  3.15s; }
@keyframes circleGlow {
    0%   { box-shadow: 0 0 0 4px rgba(159,37,131,.08), 0 0 20px rgba(237,93,165,.12); }
    5%   { box-shadow: 0 0 0 11px rgba(159,37,131,.32), 0 0 42px rgba(237,93,165,.85), 0 0 68px rgba(237,93,165,.38); }
    20%  { box-shadow: 0 0 0 4px rgba(159,37,131,.08), 0 0 20px rgba(237,93,165,.12); }
    100% { box-shadow: 0 0 0 4px rgba(159,37,131,.08), 0 0 20px rgba(237,93,165,.12); }
}
.step-num::before {
    content: ''; position: absolute; inset: -2px; border-radius: 50%;
    background: linear-gradient(135deg, var(--a), var(--b)); z-index: -1;
}
.step-num::after {
    content: ''; position: absolute; inset: 2px; border-radius: 50%;
    background: var(--card2); z-index: -1;
}
.step-mini-svg { margin-bottom: 16px; }
.step-mini-svg svg { width: 40px; height: 40px; }
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--soft); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.s-testimonials { padding: 80px 0; }
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 860px) { .test-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .test-grid { grid-template-columns: 1fr; } }

.tcard {
    background: linear-gradient(145deg, rgba(16,24,48,.85) 0%, rgba(8,14,32,.92) 100%);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 20px;
    padding: 32px;
    position: relative; overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    display: flex; flex-direction: column;
}
/* Gradient glow blob — top-right corner */
.tcard::after {
    content: ''; position: absolute; top: -40px; right: -40px;
    width: 140px; height: 140px; border-radius: 50%;
    background: radial-gradient(circle, rgba(159,37,131,.22) 0%, transparent 70%);
    pointer-events: none; transition: opacity .35s;
}
/* Big decorative quote mark */
.tcard::before {
    content: '\201C';
    position: absolute; bottom: 90px; right: 28px;
    font-size: 110px; line-height: 1;
    font-family: Georgia, 'Times New Roman', serif;
    color: rgba(237,93,165,.07);
    pointer-events: none; user-select: none;
}
.tcard:hover {
    transform: translateY(-7px);
    border-color: rgba(237,93,165,.28);
    box-shadow: 0 24px 64px rgba(0,0,0,.45), 0 0 0 1px rgba(237,93,165,.1), 0 0 48px rgba(159,37,131,.12);
}
.tcard:hover::after { opacity: 1.6; }

/* Stars */
.tcard-stars { margin-bottom: 18px; }
.tcard-stars svg { width: 92px; height: 15px; }

/* Hide the old SVG quote — decorative quote is now CSS ::before */
.tcard-quote { display: none; }

/* Body text */
.tcard-text {
    font-size: 14.5px; color: rgba(255,255,255,.68);
    line-height: 1.78; margin-bottom: 0;
    flex: 1; position: relative; z-index: 1;
}

/* Author — separated by a line */
.tcard-author {
    display: flex; align-items: center; gap: 13px;
    margin-top: 28px; padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.07);
    position: relative; z-index: 1;
}
.tcard-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(237,93,165,.45);
}
.tcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcard-name { font-size: 14px; font-weight: 700; display: block; color: #fff; }
.tcard-role { font-size: 11.5px; color: rgba(237,93,165,.75); margin-top: 2px; display: block; font-weight: 500; letter-spacing: .3px; }

/* ═══════════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════════ */
.s-cta { padding: 80px 0; }
.cta-card {
    border-radius: 24px; padding: 84px 52px; text-align: center;
    position: relative; overflow: hidden;
    background: linear-gradient(145deg, rgba(159,37,131,.16) 0%, rgba(10,20,37,.98) 55%);
    border: 1px solid rgba(159,37,131,.22);
}
.cta-card::before {
    content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 400px;
    background: radial-gradient(ellipse at top center, rgba(159,37,131,.22) 0%, transparent 60%);
    pointer-events: none;
}
.cta-card h2 { margin-bottom: 18px; }
.cta-card > p { color: var(--soft); font-size: 18px; margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* Decorative SVG sun */
.cta-deco {
    position: absolute; right: 48px; bottom: -10px;
    width: 180px; opacity: .055; pointer-events: none;
}
.cta-deco-left {
    position: absolute; left: -20px; top: 50%; transform: translateY(-50%);
    width: 120px; opacity: .04; pointer-events: none;
}
@media (max-width: 640px) {
    .cta-card { padding: 52px 24px; }
    .cta-deco, .cta-deco-left { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.s-footer { border-top: 1px solid var(--border); padding: 44px 0 32px; }
.footer-inner {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px;
}
.footer-logo img { height: 38px; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color var(--t); }
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; align-items: center; }
.footer-social-link {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); border: 1px solid var(--border);
    transition: color var(--t), border-color var(--t), background var(--t);
}
.footer-social-link:hover { color: #fff; border-color: var(--border-h); background: rgba(237,93,165,.12); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   WHATSAPP FAB
   ═══════════════════════════════════════════════════════════════ */
.wa-fab {
    position: fixed; bottom: 28px; right: 28px; z-index: 800;
    height: 54px; border-radius: 27px; background: #25D366;
    display: flex; align-items: center; justify-content: flex-start;
    padding: 0 13px; gap: 0; text-decoration: none; overflow: hidden;
    box-shadow: 0 6px 22px rgba(37,211,102,.35);
    width: 54px;
    transition: width .42s cubic-bezier(.34,1.56,.64,1),
                gap .42s cubic-bezier(.34,1.56,.64,1),
                padding-right .42s cubic-bezier(.34,1.56,.64,1),
                box-shadow var(--t);
}
.wa-fab:hover {
    width: 166px; gap: 9px; padding-right: 18px;
    box-shadow: 0 10px 32px rgba(37,211,102,.48);
}
.wa-fab svg { width: 28px; height: 28px; fill: white; flex-shrink: 0; }
.wa-label {
    max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap;
    font-size: 13px; font-weight: 700; color: white; letter-spacing: .01em;
    transition: max-width .4s .05s cubic-bezier(.34,1.56,.64,1),
                opacity .22s .08s;
}
.wa-fab:hover .wa-label { max-width: 120px; opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   SECTION HEAD CENTERED VARIANT
   ═══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-center .section-head p { margin-left: auto; margin-right: auto; }
