/* ═══════════════════════════════════════════════════════════
   Zentix™ Features Landing Page — CSS
   Extends the 2026 design system for ad-optimized conversion.
   ═══════════════════════════════════════════════════════════ */

/* ── Design tokens (same as main site) ─────────────────── */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #64748b;
    --accent-color: #f43f5e;
    --accent-glow: rgba(244, 63, 94, 0.35);
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --white: #ffffff;
    --black: #000000;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --dark-gray: #334155;
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 100%);
    --gradient-accent: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

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

html,
body {
    width: 100%;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* ══════════════════════════════════════════════════════════
   GLOBAL COMPONENTS
   ══════════════════════════════════════════════════════════ */

/* ── Gradient text ─────────────────────────────────────── */
.f-gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Badges ────────────────────────────────────────────── */
.f-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.f-badge-wa {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.2);
}

/* ── Section header ────────────────────────────────────── */
.f-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.f-section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 16px 0 12px;
    color: var(--dark-color);
}

.f-section-header p {
    font-size: 17px;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto;
}

/* ── Buttons ───────────────────────────────────────────── */
.f-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.f-btn-sm {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 10px;
}

.f-btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.f-btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.f-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.45);
}

.f-btn-accent {
    background: var(--gradient-accent);
    color: #fff;
}

.f-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.f-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

.f-pulse-btn {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

.f-hero-primary-cta {
    position: relative;
    transform: translateZ(0);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.55);
}

.f-hero-primary-cta::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.55);
    pointer-events: none;
    opacity: 0.8;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
    }

    50% {
        box-shadow: 0 4px 40px rgba(99, 102, 241, 0.55);
    }
}

/* ── Reveal Animation ──────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════ */
.f-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    overflow: hidden;
    padding: 0 0 60px;
}

/* ── Background orbs ───────────────────────────────────── */
.f-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.f-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: orb-float 12s ease-in-out infinite;
}

.f-hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.3);
    top: -10%;
    left: -10%;
}

.f-hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.25);
    top: 30%;
    right: -8%;
    animation-delay: -4s;
}

.f-hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(244, 63, 94, 0.15);
    bottom: -5%;
    left: 30%;
    animation-delay: -8s;
}

@keyframes orb-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 15px) scale(0.95);
    }
}

.f-hero-mesh {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(244, 63, 94, 0.06) 0%, transparent 35%);
}

/* ── Top bar ───────────────────────────────────────────── */
.f-topbar {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.f-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.f-logo img {
    border-radius: 8px;
}

.f-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.f-topbar-pricing-icon {
    display: none;
}

.f-lang-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.f-lang-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ── Hero content ──────────────────────────────────────── */
.f-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding-top: 100px;
    padding-top: calc(100px + env(safe-area-inset-top, 0px));
    display: flex;
    flex-direction: column;
    align-items: center;
}

.f-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .f-hero-badge {
        margin-top: 48px;
    }
}

.f-hero-badge i {
    color: #f59e0b;
}

.f-hero h1 {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 800px;
    margin-bottom: 20px;
}

.f-hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 36px;
    line-height: 1.6;
}

.f-hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── Phone mockup ──────────────────────────────────────── */
.f-hero-visual {
    margin-top: 50px;
    perspective: 1200px;
}

.f-phone-frame {
    width: 280px;
    background: #1a1a2e;
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transform: rotateX(4deg);
    transition: transform 0.5s ease;
}

.f-phone-frame:hover {
    transform: rotateX(0deg) scale(1.02);
}

.f-phone-notch {
    width: 100px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 8px;
}

.f-phone-screen {
    background: #0d1117;
    border-radius: 20px;
    overflow: hidden;
}

.f-chat-header-mock {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #128C7E;
    color: #fff;
    font-size: 13px;
}

.f-chat-avatar-mock {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.f-chat-avatar-mock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.f-chat-body-mock {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.f-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.4;
    animation: msg-appear 0.5s ease both;
}

.f-msg-in {
    background: #1e293b;
    color: #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.f-msg-out {
    background: #dcf8c6;
    color: #1a1a2e;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.f-msg:nth-child(1) {
    animation-delay: 0.3s;
}

.f-msg:nth-child(2) {
    animation-delay: 0.8s;
}

.f-msg:nth-child(3) {
    animation-delay: 1.4s;
}

.f-msg:nth-child(4) {
    animation-delay: 2.0s;
}

.f-msg:nth-child(5) {
    animation-delay: 2.6s;
}

.f-msg:nth-child(6) {
    animation-delay: 3.2s;
}

.f-msg:nth-child(7) {
    animation-delay: 3.8s;
}

.f-msg:nth-child(8) {
    animation-delay: 4.4s;
}

@keyframes msg-appear {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ══════════════════════════════════════════════════════════
   SOCIAL PROOF BAR — Premium Glassmorphism Stats
   ══════════════════════════════════════════════════════════ */
.f-social-proof {
    background: linear-gradient(180deg, var(--white) 0%, #f1f0ff 100%);
    padding: 56px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.f-social-proof::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.f-stats-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.f-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    padding: 28px 36px;
    min-width: 180px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.f-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.f-stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.f-stat:hover::before {
    opacity: 1;
}

/* Stagger reveal delays */
.f-stat[data-reveal]:nth-child(1) {
    transition-delay: 0ms;
}

.f-stat[data-reveal]:nth-child(2) {
    transition-delay: 150ms;
}

.f-stat[data-reveal]:nth-child(3) {
    transition-delay: 300ms;
}

.f-stat[data-reveal]:nth-child(4) {
    transition-delay: 450ms;
}

/* Animated glow orb behind number */
.f-stat::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    z-index: 0;
}

.f-stat:hover::after {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}

.f-stat-num {
    font-size: 40px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.f-stat-suffix {
    font-size: 26px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.f-stat-complete .f-stat-suffix {
    opacity: 1;
    transform: scale(1);
}

/* Shimmer sweep on completion */
.f-stat-complete .f-stat-num::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.15) 50%, transparent 100%);
    animation: shimmer-sweep 1s ease-out 0.2s forwards;
    pointer-events: none;
}

@keyframes shimmer-sweep {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Completion glow pulse */
.f-stat-complete {
    animation: stat-glow 1.5s ease-out;
}

@keyframes stat-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.15);
    }

    50% {
        box-shadow: 0 0 24px 4px rgba(99, 102, 241, 0.12);
    }

    100% {
        box-shadow: none;
    }
}

.f-stat-label {
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════════════════
   FEATURES SHOWCASE
   ══════════════════════════════════════════════════════════ */
.f-features {
    padding: 100px 0;
    background: var(--light-color);
}

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

.f-feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.f-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.f-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.f-feature-card:hover::before {
    opacity: 1;
}

.f-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
}

.f-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.f-feature-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   WHATSAPP SHOWCASE
   ══════════════════════════════════════════════════════════ */
.f-whatsapp-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #047857 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.f-whatsapp-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(37, 211, 102, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 35%);
}

.f-wa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.f-wa-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin: 16px 0 18px;
    letter-spacing: -0.02em;
}

.f-wa-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 24px;
}

.f-wa-list {
    list-style: none;
    margin-bottom: 32px;
}

.f-wa-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 500;
}

.f-wa-list li i {
    color: #25D366;
    font-size: 18px;
}

.f-wa-phone-note {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* ── WhatsApp phone visual ─────────────────────────────── */
.f-wa-visual {
    display: flex;
    justify-content: center;
}

.f-wa-phone {
    width: 320px;
    background: #1a1a2e;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.f-wa-phone-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #075E54;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.f-wa-phone-bar i {
    font-size: 20px;
}

.f-wa-messages {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 240px;
    background: linear-gradient(180deg, #0c1117, #111827);
}

.f-wa-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.f-wa-msg-in {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.f-wa-msg-out {
    background: #dcf8c6;
    color: #0f172a;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════════════ */
.f-how-it-works {
    padding: 100px 0;
    background: var(--white);
}

.f-steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.f-step {
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.f-step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 2;
}

.f-step-connector {
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    width: calc(100% - 40px);
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0.25;
    z-index: 1;
    overflow: hidden;
}

.f-step-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.8), transparent);
    animation: connector-pulse 2.5s ease-in-out infinite;
}

@keyframes connector-pulse {
    0% {
        left: -40%;
    }

    100% {
        left: 140%;
    }
}

.f-step:last-child .f-step-connector {
    display: none;
}

.f-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.f-step p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.f-testimonials {
    padding: 100px 0;
    background: var(--light-color);
}

.f-testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.f-testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    padding-left: 36px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Left accent bar */
.f-testimonial-card::before {
    content: '';
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--gradient-primary);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

/* Quote decoration */
.f-testimonial-card::after {
    content: '\201C';
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 64px;
    font-family: Georgia, serif;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.08;
    pointer-events: none;
}

.f-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.f-testimonial-card:hover::before {
    opacity: 1;
}

.f-testimonial-stars {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.f-testimonial-card>p {
    font-size: 14px;
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.f-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.f-testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.f-testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--dark-color);
}

.f-testimonial-author span {
    font-size: 12px;
    color: var(--gray);
}

/* ══════════════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════════════ */
.f-pricing {
    padding: 100px 0;
    background: var(--white);
}

.f-pricing-card {
    max-width: 480px;
    margin: 0 auto;
    border-radius: 24px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.12);
    overflow: hidden;
    position: relative;
}

.f-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.f-pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.f-pricing-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
}

.f-pricing-toggle {
    display: flex;
    gap: 4px;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 3px;
}

.f-currency-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.f-currency-btn.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.f-pricing-body {
    padding: 24px 32px 32px;
}

.f-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 8px;
}

.f-price-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.f-price-amount {
    font-size: 56px;
    font-weight: 900;
    color: var(--dark-color);
    line-height: 1;
    letter-spacing: -0.03em;
}

.f-price-period {
    font-size: 16px;
    color: var(--gray);
    font-weight: 500;
    margin-left: 4px;
}

.f-price-note {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 24px;
}

.f-pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.f-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 500;
}

.f-pricing-features li i {
    color: var(--success-color);
    font-size: 16px;
    flex-shrink: 0;
}

.f-pricing-fine {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: var(--gray);
}

/* ══════════════════════════════════════════════════════════
   REGISTRATION
   ══════════════════════════════════════════════════════════ */
.f-register {
    padding: 100px 0;
    background: var(--gradient-hero);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.f-register::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(244, 63, 94, 0.06) 0%, transparent 40%);
}

.f-register .container {
    position: relative;
    z-index: 2;
}

.f-register .f-section-header h2 {
    color: #fff;
}

.f-register .f-section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.f-register-card {
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 36px;
}

/* ── Social auth buttons ───────────────────────────────── */
.f-social-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.f-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.f-social-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.f-social-google:hover {
    background: rgba(66, 133, 244, 0.15);
    border-color: rgba(66, 133, 244, 0.3);
}

.f-social-facebook:hover {
    background: rgba(24, 119, 242, 0.15);
    border-color: rgba(24, 119, 242, 0.3);
}

/* ── Divider ───────────────────────────────────────────── */
.f-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.f-divider::before,
.f-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

/* ── Email form ────────────────────────────────────────── */
.f-email-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.f-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.f-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.f-form-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.f-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.f-form-group input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.f-register-fine {
    text-align: center;
    margin-top: 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.f-register-fine a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Success state ─────────────────────────────────────── */
.f-register-success {
    text-align: center;
    padding: 20px 0;
    position: relative;
}

.f-register-success h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 20px 0 10px;
}

.f-register-success p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 24px;
}

.f-confetti-zone {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.f-confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: confetti-fall 2s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(-20px) rotate(0deg);
    }

    100% {
        opacity: 0;
        transform: translateY(300px) rotate(720deg);
    }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.f-footer {
    padding: 24px 0;
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.f-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.f-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #fff;
}

.f-footer-brand img {
    border-radius: 6px;
}

.f-footer-links {
    display: flex;
    gap: 20px;
}

.f-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.f-footer-links a:hover {
    color: #fff;
}

.f-footer-copy {
    color: rgba(255, 255, 255, 0.35);
}

/* ══════════════════════════════════════════════════════════
   FLOATING WHATSAPP CTA
   ══════════════════════════════════════════════════════════ */
.f-tg-float {
    position: fixed;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0088cc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 24px rgba(0, 136, 204, 0.4);
    transition: var(--transition);
    animation: wa-bounce 3s ease-in-out infinite;
}

.f-tg-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(0, 136, 204, 0.5);
}

.f-wa-float {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: wa-bounce 3s ease-in-out infinite;
}

.f-wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

@keyframes wa-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.f-wa-float-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-color);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.f-wa-float:hover .f-wa-float-tooltip {
    opacity: 1;
}

.f-tg-float:hover .f-wa-float-tooltip {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN (Mobile-first priority)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .f-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .f-wa-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .f-wa-content {
        order: 1;
    }

    .f-wa-visual {
        order: 2;
    }

    .f-wa-list {
        display: inline-flex;
        flex-direction: column;
        text-align: left;
        margin: 0 auto 32px;
    }

    .f-steps-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .f-step-connector {
        display: none;
    }

    .f-testimonials-track {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .f-btn {
        white-space: normal;
    }

    .f-topbar-actions {
        gap: 8px;
    }

    .f-topbar-actions .f-btn-sm {
        padding: 10px 12px;
        font-size: 12px;
    }

    .f-lang-toggle {
        min-height: 40px;
        padding: 8px 12px;
    }

    .f-topbar-pricing {
        min-width: 40px;
        padding: 10px 12px;
    }

    .f-topbar-pricing-icon {
        display: inline-flex;
    }

    .f-topbar-pricing-label {
        display: none !important;
    }

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

    .f-hero h1 {
        font-size: 28px;
    }

    .f-hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 340px;
    }

    .f-hero-ctas .f-btn {
        width: 100%;
        justify-content: center;
    }

    .f-phone-frame {
        width: 240px;
    }

    .f-wa-phone {
        width: 280px;
    }

    .f-pricing-card {
        margin: 0 -8px;
        border-radius: 20px;
    }

    .f-pricing-header {
        padding: 20px 20px 0;
    }

    .f-pricing-body {
        padding: 20px 20px 28px;
    }

    .f-price-amount {
        font-size: 48px;
    }

    .f-price-currency {
        font-size: 20px;
    }

    .f-price-period {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    .f-pricing-features li {
        font-size: 13px;
        gap: 10px;
    }

    .f-register-card {
        padding: 28px 20px;
        margin: 0 -8px;
    }

    .f-stats-row {
        gap: 16px;
    }

    .f-stat {
        min-width: 140px;
        padding: 20px 24px;
    }

    .f-stat-num {
        font-size: 28px;
    }

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

    .f-topbar {
        padding: 14px 16px 0;
    }

    .f-hero-content {
        padding-top: 36px;
    }

    .f-wa-float {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .f-tg-float {
        right: 16px;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 420px) {
    .f-topbar {
        padding: 12px 14px 0;
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
    }

    .f-logo span {
        font-size: 17px;
    }

    .f-topbar-actions {
        gap: 6px;
    }

    .f-topbar-actions .f-btn-sm {
        padding: 9px 10px;
        font-size: 11px;
    }

    .f-hero-content {
        padding-top: calc(28px + env(safe-area-inset-top, 0px));
    }

    .f-hero h1 {
        font-size: 26px;
    }

    .f-hero-sub {
        font-size: 15px;
    }

    .f-phone-frame {
        width: 220px;
    }

    .f-wa-phone {
        width: 252px;
    }

    .f-price-amount {
        font-size: 42px;
    }

    .f-pricing-card {
        margin: 0 -4px;
    }
}

/* ── Loading spinner for auth buttons ──────────────────── */
.f-btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.f-btn-loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-btn 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes spin-btn {
    to {
        transform: rotate(360deg);
    }
}