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

:root {
    --primary: #1565C0;
    --primary-light: #1E88E5;
    --primary-dark: #0D47A1;
    --accent: #00BCD4;
    --accent-light: #26C6DA;
    --bg: #0A0F1E;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text: #E2E8F0;
    --text-muted: #94A3B8;
    --text-bright: #F8FAFC;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --glow-primary: rgba(21, 101, 192, 0.4);
    --glow-accent: rgba(0, 188, 212, 0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --success: #22C55E;
    --error: #EF4444;
}

/* ===== Light Mode ===== */
body.light {
    --bg: #F5F8FC;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --text: #1E293B;
    --text-muted: #64748B;
    --text-bright: #0F172A;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --glow-primary: rgba(21, 101, 192, 0.2);
    --glow-accent: rgba(0, 188, 212, 0.15);
}

html { scroll-behavior: smooth; }

/* ===== Skip to Content (accessibility) ===== */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 14px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 9999;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    color: white;
}

/* ===== Focus-visible styles ===== */
*:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* Remove outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.5s ease, color 0.4s ease;
}

/* Global theme transition */
body *, body *::before, body *::after {
    transition-property: background-color, border-color, box-shadow, color;
    transition-duration: 0s;
}
body.theme-transitioning *, body.theme-transitioning *::before, body.theme-transitioning *::after {
    transition-duration: 0.45s;
    transition-timing-function: ease;
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
    z-index: 999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--glow-primary);
}

/* ===== Floating gradient orbs ===== */
.bg-orbs {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: orb-float 20s ease-in-out infinite;
}

.bg-orb:nth-child(1) {
    width: 400px; height: 400px;
    background: var(--primary);
    top: -10%; left: -5%;
    animation-duration: 25s;
}

.bg-orb:nth-child(2) {
    width: 350px; height: 350px;
    background: var(--accent);
    bottom: -10%; right: -5%;
    animation-duration: 20s;
    animation-delay: -5s;
}

.bg-orb:nth-child(3) {
    width: 250px; height: 250px;
    background: #E91E63;
    top: 40%; left: 60%;
    animation-duration: 30s;
    animation-delay: -10s;
    opacity: 0.06;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(30px, 40px) scale(1.02); }
}

body.light .bg-orb { opacity: 0.06; }

#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

a { color: var(--primary-light); transition: color 0.2s ease; }
a:hover { color: var(--accent-light); }

/* ===== ADVANCED LOADER ===== */
.loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG K Logo Animation */
.loader-k-svg {
    width: 100px;
    height: 100px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(21, 101, 192, 0.5));
    animation: svg-breathe 2.5s ease-in-out 1.6s infinite;
}

@keyframes svg-breathe {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(21, 101, 192, 0.5)); }
    50% { filter: drop-shadow(0 0 35px rgba(21, 101, 192, 0.8)); }
}

.k-bg {
    opacity: 0;
    animation: k-bg-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes k-bg-in {
    0% { opacity: 0; transform: scale(0.6) rotate(-5deg); }
    60% { opacity: 1; transform: scale(1.04) rotate(1deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* K parts — filled shapes */
.k-part {
    opacity: 0;
}

/* Upper part (arrow) — slides in from left + fades */
.k-upper {
    animation: k-upper-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    transform-origin: 60px 40px;
}

@keyframes k-upper-in {
    0% { opacity: 0; transform: translate(-12px, 8px) scale(0.85); }
    50% { opacity: 1; }
    80% { transform: translate(1px, -1px) scale(1.02); }
    100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

/* Lower part (chevron) — slides in from below + fades */
.k-lower {
    animation: k-lower-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
    transform-origin: 55px 85px;
}

@keyframes k-lower-in {
    0% { opacity: 0; transform: translate(-8px, 12px) scale(0.85); }
    50% { opacity: 1; }
    80% { transform: translate(1px, -1px) scale(1.02); }
    100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

/* Sparkle particles around arrow */
.k-spark {
    opacity: 0;
}

.k-s1 { animation: k-sparkle-1 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards; }
.k-s2 { animation: k-sparkle-2 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.25s forwards; }
.k-s3 { animation: k-sparkle-3 0.75s cubic-bezier(0.16, 1, 0.3, 1) 1.15s forwards; }

@keyframes k-sparkle-1 {
    0% { opacity: 0; r: 0; }
    30% { opacity: 1; r: 3; }
    60% { opacity: 0.6; r: 2; transform: translate(4px, -5px); }
    100% { opacity: 0; r: 0; transform: translate(8px, -10px); }
}

@keyframes k-sparkle-2 {
    0% { opacity: 0; r: 0; }
    30% { opacity: 1; r: 2.5; }
    60% { opacity: 0.5; r: 1.5; transform: translate(3px, -3px); }
    100% { opacity: 0; r: 0; transform: translate(7px, -6px); }
}

@keyframes k-sparkle-3 {
    0% { opacity: 0; r: 0; }
    25% { opacity: 1; r: 2.5; }
    60% { opacity: 0.4; r: 1.5; transform: translate(-2px, -5px); }
    100% { opacity: 0; r: 0; transform: translate(-4px, -10px); }
}

/* Glow ring pulsing around SVG */
.loader-glow-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 115px; height: 115px;
    transform: translate(-50%, -50%);
    border-radius: 26px;
    border: 2px solid rgba(21, 101, 192, 0);
    animation: glow-ring-in 0.6s ease 0.3s forwards, glow-ring-pulse 2.5s ease-in-out 1s infinite;
    pointer-events: none;
}

@keyframes glow-ring-in {
    0% { border-color: rgba(21, 101, 192, 0); transform: translate(-50%, -50%) scale(0.8); }
    100% { border-color: rgba(21, 101, 192, 0.25); transform: translate(-50%, -50%) scale(1); }
}

@keyframes glow-ring-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        border-color: rgba(21, 101, 192, 0.25);
        box-shadow: 0 0 0 rgba(21, 101, 192, 0);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        border-color: rgba(21, 101, 192, 0.5);
        box-shadow: 0 0 30px rgba(21, 101, 192, 0.15);
    }
}

.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.loader-brand {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -1px;
    animation: loader-text-in 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

.loader-tagline {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    animation: loader-text-in 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

@keyframes loader-text-in {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    animation: loader-text-in 0.5s ease forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loader-fill 2s ease-in-out forwards, loader-gradient-move 1s linear infinite;
}

@keyframes loader-fill {
    0% { width: 0%; }
    40% { width: 60%; }
    70% { width: 85%; }
    100% { width: 100%; }
}

@keyframes loader-gradient-move {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.loader-dots {
    display: flex;
    gap: 8px;
    animation: loader-text-in 0.5s ease forwards;
    opacity: 0;
    animation-delay: 1s;
}

.loader-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: loader-dot-bounce 1.4s ease-in-out infinite;
}

.loader-dots span:nth-child(2) { animation-delay: 0.15s; }
.loader-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes loader-dot-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 15, 30, 0.7);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(10, 15, 30, 0.9);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 38px; height: 38px;
    border-radius: 10px;
    object-fit: contain;
}

.footer-logo-img {
    width: 30px; height: 30px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -0.5px;
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active { color: var(--text-bright); }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }

/* Header right */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--glow-primary);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--glow-primary);
    color: white;
}

/* ===== Language Switcher ===== */
.lang-switcher { position: relative; }

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover { border-color: var(--border-hover); color: var(--text-bright); }
.lang-flag { font-size: 16px; line-height: 1; }
.lang-code { font-size: 13px; }
.lang-btn svg { transition: transform 0.3s ease; }
.lang-switcher.open .lang-btn svg { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(10, 15, 30, 0.95);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(20px);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 200;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    border-radius: var(--radius-xs);
    transition: all 0.2s ease;
}

.lang-option:hover { background: rgba(255,255,255,0.06); color: var(--text-bright); }
.lang-option.active { background: rgba(21,101,192,0.15); color: var(--primary-light); }
.lang-option span { font-size: 18px; line-height: 1; }

/* Mobile language */
.mobile-lang { display: flex; gap: 12px; margin-top: 16px; }

.mobile-lang-btn {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-lang-btn:hover, .mobile-lang-btn.active {
    border-color: var(--primary-light);
    background: rgba(21,101,192,0.15);
    transform: scale(1.1);
}

/* ===== Mobile Menu ===== */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 18px; right: 20px;
    z-index: 200;
    width: 40px; height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}

.mobile-menu-btn span {
    display: block;
    width: 20px; height: 2px;
    background: var(--text-bright);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 150;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.open { display: flex; opacity: 1; }

.mobile-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.mobile-link:hover, .mobile-link.active { color: var(--text-bright); }

/* ===== Hero ===== */
.hero {
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 80px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

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

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-bright);
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light), #F472B6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ===== Page Hero (sub-pages) ===== */
.page-hero {
    padding: 140px 0 50px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 60px; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 400px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    opacity: 0.2;
    pointer-events: none;
}

.page-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Audience tabs supprimés */

/* ===== Stats Section ===== */
.stats-section { padding: 20px 0 40px; }

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ===== Pricing Cards ===== */
.pricing { padding: 40px 0 80px; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Pro-only cards (kept visible) */

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card:hover::before { opacity: 1; }

/* Card shine sweep effect on hover */
.pricing-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.pricing-card:hover::after {
    left: 120%;
}

.pricing-card.popular {
    border-color: rgba(21, 101, 192, 0.3);
    background: linear-gradient(180deg, rgba(21, 101, 192, 0.08), var(--bg-card));
    transform: scale(1.03);
}

.pricing-card.popular::before {
    opacity: 1;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    height: 3px;
    background-size: 200% 100%;
    animation: border-flow 3s linear infinite;
}

@keyframes border-flow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}


.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 20px 60px rgba(21, 101, 192, 0.2), 0 0 80px rgba(21, 101, 192, 0.1);
}

.popular-badge {
    position: absolute;
    top: 16px; right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 2px 10px var(--glow-primary); }
    50% { box-shadow: 0 4px 25px var(--glow-primary); }
}

.fire-icon { font-size: 14px; }

/* Crown icon */
.card-crown {
    position: absolute;
    top: 16px; left: 16px;
    font-size: 24px;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.4));
    animation: crown-float 3s ease-in-out infinite;
}

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

.card-header { margin-bottom: 32px; }

.plan-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.plan-label-sales { color: #F59E0B; }
.plan-label-recruiter { color: #EC4899; }

.plan-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

/* Official price comparison */
.official-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.official-price > span:first-child {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.official-amount {
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0.7;
}

.official-amount s {
    text-decoration: line-through;
    text-decoration-color: var(--error);
}

.official-annual {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Karrier price row */
.karrier-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.karrier-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px var(--glow-primary);
}

/* Savings amount */
.savings-amount {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 14px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: var(--radius-xs);
    font-size: 13px;
    color: var(--success);
    font-weight: 500;
}

.savings-amount strong {
    font-weight: 800;
}

.savings-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    color: var(--success);
    animation: savings-pulse 3s ease-in-out infinite;
}

@keyframes savings-pulse {
    0%, 100% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
    50% { box-shadow: 0 0 12px rgba(34, 197, 94, 0.2); }
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-bright);
    align-self: flex-start;
    margin-top: 8px;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -3px;
    line-height: 1;
}

.pricing-card.popular .price-amount {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-decimal {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-muted);
    align-self: flex-start;
    margin-top: 10px;
}

.pricing-card.popular .price-decimal {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 4px;
}

.price-monthly {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Discount Badge (legacy) */
.discount-badge {
    display: none;
    align-items: center;
    margin-top: 10px;
    padding: 4px 12px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--success);
    transition: all 0.4s ease;
}

.discount-badge.hidden {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    padding: 0 12px;
    margin-top: 0;
    overflow: hidden;
}

/* ===== Features ===== */
.features-list {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text);
    transition: transform 0.2s ease;
}

.feature-item:hover { transform: translateX(4px); }
.feature-item.disabled { color: var(--text-muted); opacity: 0.5; }

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.feature-icon.check {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.feature-icon.cross {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    font-size: 10px;
}

/* ===== Savings Banner ===== */
.savings-banner {
    margin-top: 32px;
}

.savings-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(21, 101, 192, 0.08));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius);
    max-width: 700px;
    margin: 0 auto;
}

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

.savings-text-content strong {
    display: block;
    font-size: 15px;
    color: var(--text-bright);
    margin-bottom: 4px;
}

.savings-text-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ===== Comparison Table ===== */
.compare-toggle { text-align: center; margin-top: 40px; }

.compare-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.compare-btn:hover { color: var(--text-bright); border-color: var(--border-hover); background: var(--bg-card-hover); }

.compare-table-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin 0.5s ease;
    margin-top: 0;
}

.compare-table-wrapper.open {
    max-height: 1200px;
    margin-top: 32px;
}

.compare-table-scroll {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table th, .compare-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.compare-table thead th {
    font-weight: 700;
    color: var(--text-bright);
    font-size: 15px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-hover);
}

.compare-table td { color: var(--text-muted); }
.compare-table .highlight-col { background: rgba(21, 101, 192, 0.05); color: var(--text); }
.compare-table .check-cell { color: var(--success); font-weight: 700; }
.compare-table .cross-cell { color: var(--text-muted); opacity: 0.4; }
.compare-table .savings-cell { color: var(--success); font-weight: 700; }
.compare-table .price-row td { padding-top: 16px; border-top: 2px solid var(--border-hover); }

/* ===== CTA Buttons ===== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: inherit;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Ripple effect */
.cta-button .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple-out 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-out {
    to { transform: scale(4); opacity: 0; }
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 20px var(--glow-primary);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px var(--glow-primary);
    color: white;
}

.cta-secondary {
    background: var(--bg-card-hover);
    color: var(--text-bright);
    border: 1px solid var(--border);
}

.cta-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    color: var(--text-bright);
}

.cta-large {
    width: auto;
    padding: 18px 40px;
    font-size: 16px;
    border-radius: 50px;
}

/* ===== Trust Section ===== */
.trust { padding: 40px 0 80px; }

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.trust-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.trust-item:hover .trust-icon {
    transform: scale(1.2);
}

.trust-item {
    transition: transform 0.2s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
}

/* ===== Testimonials ===== */
.testimonials { padding: 80px 0; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Quotation mark decoration */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px; right: 20px;
    font-size: 60px;
    font-family: Georgia, serif;
    color: var(--primary-light);
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
}

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

.testimonial-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    font-weight: 700;
}

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

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

/* ===== Why Section ===== */
.why-section { margin-top: 48px; }

.why-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
}

.why-icon { font-size: 32px; margin-bottom: 12px; display: block; }

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 20px;
}

.why-items {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

/* ===== Annual Info ===== */
.annual-info {
    max-width: 600px;
    margin: 32px auto 0;
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.annual-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-bright);
}

.toggle-dot {
    width: 10px; height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.annual-text { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.annual-monthly { font-size: 12px; color: var(--text-muted); opacity: 0.7; }

/* ===== WhatsApp / Info Banner ===== */
.tab-info-banner { padding: 0 0 24px; }

.info-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: var(--radius-sm);
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.info-banner-icon { font-size: 28px; flex-shrink: 0; }
.info-banner p { font-size: 14px; color: var(--text); line-height: 1.6; margin: 0; }
.info-banner p strong { color: #fff; }

/* ===== FAQ ===== */
.faq { padding: 80px 0; }

.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -1px;
    margin-bottom: 50px;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover { border-color: var(--border-hover); }
.faq-item.open {
    border-color: rgba(21, 101, 192, 0.3);
    background: rgba(21, 101, 192, 0.05);
    box-shadow: 0 4px 20px rgba(21, 101, 192, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-bright);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-arrow {
    font-size: 22px;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    font-weight: 300;
}

.faq-item.open .faq-arrow { transform: rotate(90deg); color: var(--primary-light); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 24px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.faq-answer a { color: var(--primary-light); }

/* ===== How It Works ===== */
.how-it-works { padding: 80px 0; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Connecting line between steps */
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -12px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    opacity: 0.3;
}

@media (max-width: 768px) {
    .step-card:not(:last-child)::after { display: none; }
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 18px;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px var(--glow-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 25px var(--glow-primary);
}

.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-bright); margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== Final CTA ===== */
.final-cta { padding: 40px 0 100px; }

.cta-card {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(21, 101, 192, 0.2);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.08) 0%, transparent 50%);
    animation: rotate-bg 15s linear infinite;
}

@keyframes rotate-bg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 12px;
    position: relative;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 16px;
    position: relative;
}

.cta-savings {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 50px;
    color: var(--success);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

/* ===== Legal Pages ===== */
.legal-content { padding: 20px 0 80px; }

.legal-card {
    max-width: 740px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    backdrop-filter: blur(20px);
}

.legal-card h2 { font-size: 1.2rem; font-weight: 700; color: var(--text-bright); margin-top: 32px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.legal-card ul { list-style: none; padding: 0; margin-bottom: 12px; }
.legal-card li { font-size: 14px; color: var(--text-muted); line-height: 1.8; padding-left: 20px; position: relative; }
.legal-card li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--primary-light); border-radius: 50%; }
.legal-card a { color: var(--primary-light); text-decoration: none; }
.legal-card a:hover { color: var(--accent-light); text-decoration: underline; }

/* ===== Contact Page ===== */
.contact-section { padding: 20px 0 80px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    backdrop-filter: blur(20px);
}

.contact-form-card h2 { font-size: 1.3rem; font-weight: 700; color: var(--text-bright); margin-bottom: 28px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-bright);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(21,101,192,0.15);
}

.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); opacity: 0.5; }

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group select option { background: var(--bg); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.form-error { font-size: 12px; color: var(--error); display: none; }
.form-group input.error ~ .form-error, .form-group select.error ~ .form-error, .form-group textarea.error ~ .form-error { display: block; }
.btn-loader { display: none; }

.form-success { text-align: center; padding: 40px 20px; }
.success-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(34,197,94,0.15); color: var(--success); font-size: 28px; margin-bottom: 16px; animation: success-pop 0.5s cubic-bezier(0.16,1,0.3,1); }
@keyframes success-pop { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
.form-success h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-bright); margin-bottom: 8px; }
.form-success p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px; transition: all 0.3s ease; }
.info-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.info-icon { font-size: 24px; margin-bottom: 10px; }
.info-card h3 { font-size: 14px; font-weight: 700; color: var(--text-bright); margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 13px; color: var(--text-muted); text-decoration: none; line-height: 1.6; }
.info-card a:hover { color: var(--primary-light); }

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    z-index: 90;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { color: var(--text-bright); border-color: var(--border-hover); transform: translateY(-3px); }

/* ===== Sticky WhatsApp Button (mobile) ===== */
.whatsapp-sticky {
    display: none; /* hidden on desktop */
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9000;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    text-decoration: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.whatsapp-sticky:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}
@media (max-width: 768px) {
    .whatsapp-sticky { display: flex; }
    /* Give extra bottom padding so the sticky btn doesn't cover content */
    body { padding-bottom: 80px; }
}

/* ===== Footer ===== */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .logo-text { font-size: 18px; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; font-weight: 500; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text-bright); }

.footer-disclaimer { font-size: 12px; color: var(--text-muted); opacity: 0.7; max-width: 550px; }
.footer-copyright { font-size: 12px; color: var(--text-muted); opacity: 0.6; }

/* ===== Animations ===== */
.animate-fade-in, .animate-fade-up, .animate-slide-left, .animate-slide-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-in { transform: translateY(0); }
.animate-fade-up { transform: translateY(30px); }
.animate-slide-left { transform: translateX(-40px); }
.animate-slide-right { transform: translateX(40px); }

.animate-fade-in.visible, .animate-fade-up.visible, .animate-slide-left.visible, .animate-slide-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ===== Light Mode Overrides ===== */
body.light .header {
    background: rgba(245, 248, 252, 0.85);
}

body.light .header.scrolled {
    background: rgba(245, 248, 252, 0.95);
}

body.light .loader {
    background: #F5F8FC;
}

body.light .hero::before {
    background: radial-gradient(circle, rgba(21, 101, 192, 0.08) 0%, transparent 70%);
}

body.light .lang-dropdown {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

body.light .mobile-menu {
    background: rgba(245, 248, 252, 0.97);
}

body.light .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent), #E91E63);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light .pricing-card.popular {
    background: linear-gradient(180deg, rgba(21, 101, 192, 0.06), var(--bg-card));
}

body.light .form-group input,
body.light .form-group select,
body.light .form-group textarea {
    background: rgba(0, 0, 0, 0.02);
}

body.light .form-group select option {
    background: white;
    color: var(--text);
}

body.light .cta-card {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.06), rgba(0, 188, 212, 0.04));
}

body.light #particles { opacity: 0.3; }

body.light .loader-brand { color: var(--text-bright); }

body.light .loader-bar {
    background: rgba(0, 0, 0, 0.06);
}

body.light .cta-secondary {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-bright);
}

body.light .cta-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

body.light .pricing-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

body.light .pricing-card.popular:hover {
    box-shadow: 0 20px 60px rgba(21, 101, 192, 0.12), 0 0 80px rgba(21, 101, 192, 0.06);
}

body.light .testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

body.light .compare-table .highlight-col {
    background: rgba(21, 101, 192, 0.04);
}

body.light .lang-option:hover {
    background: rgba(0, 0, 0, 0.04);
}

body.light .lang-option.active {
    background: rgba(21, 101, 192, 0.08);
}

body.light .savings-inner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(21, 101, 192, 0.05));
}

body.light .cta-card::before {
    background: radial-gradient(circle, rgba(21, 101, 192, 0.04) 0%, transparent 50%);
}

body.light .pricing-card::after {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.02), transparent);
}

body.light .back-to-top,
body.light .theme-toggle {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body.light .scroll-progress {
    box-shadow: 0 0 8px rgba(21, 101, 192, 0.3);
}

body.light .pricing-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light .testimonial-card,
body.light .step-card,
body.light .why-card,
body.light .annual-info,
body.light .faq-item {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light .footer-disclaimer { opacity: 0.8; }
body.light .footer-copyright { opacity: 0.7; }

body.light .badge {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 90;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    color: var(--text-bright);
    border-color: var(--border-hover);
    transform: scale(1.1);
}

.theme-icon-sun,
.theme-icon-moon {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
}

.theme-icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.light .theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.light .theme-icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links, .header-cta { display: none; }
    .lang-switcher { margin-right: 56px; }
    .mobile-menu-btn { display: flex; }
    .header-inner { flex-wrap: wrap; gap: 10px; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
    .pricing-card.popular { transform: scale(1); order: -1; }
    .pricing-card.popular:hover { transform: translateY(-8px); }
    .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .trust-grid { gap: 20px; }
    .cta-card { padding: 40px 24px; }
    .hero { padding: 130px 0 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-card { padding: 28px 20px; }
    .legal-card { padding: 32px 24px; }
    .compare-table { font-size: 13px; }
    .compare-table th, .compare-table td { padding: 10px 12px; }
    .why-items { flex-direction: column; align-items: center; gap: 14px; }
    .stats-grid { gap: 24px; }
    .stat-number { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .pricing-card { padding: 32px 24px; }
    .price-amount { font-size: 3rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html { scroll-behavior: auto; }

    .animate-fade-in, .animate-fade-up, .animate-slide-left, .animate-slide-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .bg-orb, .loader-glow-ring, .badge-dot, .toggle-dot,
    .popular-badge, .savings-tag, .card-crown,
    .gradient-text, .scroll-progress, .cta-card::before {
        animation: none !important;
    }

    #particles { display: none !important; }
    .bg-orbs { display: none !important; }

    .pricing-card:hover { transform: none; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: none; }
    .step-card:hover { transform: none; }
    .testimonial-card:hover { transform: none; }
    .trust-item:hover { transform: none; }
    .header-cta:hover { transform: none; }
    .cta-primary:hover { transform: none; }
    .cta-secondary:hover { transform: none; }

    .loader { transition: none; }
    .loader.hidden { opacity: 0; visibility: hidden; }
}

/* ===== Backdrop-filter fallback ===== */
@supports not (backdrop-filter: blur(10px)) {
    .header { background: rgba(10, 15, 30, 0.95); }
    .header.scrolled { background: rgba(10, 15, 30, 0.98); }
    .badge { background: rgba(10, 15, 30, 0.9); }
    .lang-btn { background: rgba(10, 15, 30, 0.9); }
    .pricing-card { background: rgba(10, 15, 30, 0.9); }
    .back-to-top { background: rgba(10, 15, 30, 0.9); }
    .theme-toggle { background: rgba(10, 15, 30, 0.9); }
    body.light .header { background: rgba(245, 248, 252, 0.98); }
    body.light .badge { background: rgba(255, 255, 255, 0.95); }
    body.light .pricing-card { background: rgba(255, 255, 255, 0.95); }
    body.light .back-to-top, body.light .theme-toggle { background: rgba(255, 255, 255, 0.95); }
}

/* ===== Cookie Banner RGPD ===== */
#cookieBanner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 99999;
    background: rgba(10, 15, 30, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-family: var(--font);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#cookieBanner.visible { transform: translateY(0); }
#cookieBanner p {
    flex: 1;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    min-width: 220px;
}
#cookieBanner p a {
    color: var(--primary-light);
    text-decoration: underline;
}
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-accept {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: var(--font);
}
.cookie-accept:hover { background: var(--primary-light); }
.cookie-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 0.88rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    font-family: var(--font);
}
.cookie-decline:hover { border-color: var(--border-hover); color: var(--text); }

body.light #cookieBanner {
    background: rgba(245, 248, 252, 0.97);
    border-top-color: rgba(0,0,0,0.1);
}

/* ===== Payment methods badge ===== */
.payment-methods {
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.85;
}
.payment-methods span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ===== WhatsApp online badge ===== */
.wa-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #25D366;
    background: rgba(37,211,102,0.1);
    border: 1px solid rgba(37,211,102,0.25);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 8px;
}
.wa-online-dot {
    width: 7px; height: 7px;
    background: #25D366;
    border-radius: 50%;
    animation: waPulse 2s infinite;
}
@keyframes waPulse {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:0.5; transform:scale(0.8); }
}

/* ===== Sticky WhatsApp : masqué pendant loader ===== */
.whatsapp-sticky { opacity: 0; pointer-events: none; transition: opacity 0.4s 0.5s; }
.whatsapp-sticky.ready { opacity: 1; pointer-events: auto; }

/* ===== Text-fill-color fallback ===== */
.stat-number {
    color: var(--primary-light);
}

.pricing-card.popular .price-amount,
.pricing-card.popular .price-decimal {
    color: var(--primary-light);
}
