/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--spacing-sm);
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--text-on-brand);
    border-radius: var(--radius-sm);
    z-index: 1000;
    text-decoration: none;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--spacing-sm);
}

:root {
    /* Colors - Premium Fintech Palette */
    /* Primary Brand: Deep Indigo/Violet */
    --primary-color: #4f46e5;
    /* Indigo 600 */
    --primary-dark: #3730a3;
    /* Indigo 800 */
    --primary-light: #818cf8;
    /* Indigo 400 */

    /* Secondary: Professional Blue */
    --secondary-color: #2563eb;
    /* Blue 600 */
    --accent-color: #3b82f6;
    /* Blue 500 */

    /* Functional Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    /* Neutrals - Slate (Cool gray for modern feel) */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* Bento/Card Colors (Glassmorphism) */
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.4);
    --card-hover-border: rgba(99, 102, 241, 0.4);
    --card-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
    --card-hover-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);

    /* Gradients replaced with solid professional colors */
    --gradient-primary: var(--primary-color);
    --gradient-hero: var(--bg-page);
    --gradient-dark: var(--neutral-900);
    --gradient-success: var(--success-color);
    --gradient-text: var(--primary-color);

    /* Backgrounds */
    --bg-page: #f8fafc;
    /* Slight off-white for depth */
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;

    /* Text Colors */
    --text-primary: #0f172a;
    /* Slate 900 */
    --text-secondary: #475569;
    /* Slate 600 */
    --text-muted: #64748b;
    /* Slate 500 */
    --text-on-brand: #ffffff;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2.25rem;
    --font-size-4xl: 3rem;
    --font-size-5xl: 4rem;
    /* Scaled up for hero */
    --font-size-6xl: 5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(79, 70, 229, 0.3);
    --glow-accent: 0 0 20px rgba(59, 130, 246, 0.3);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Fixed elements heights */
    --navbar-height: 80px;

    /* Missing Variables Restored */
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-highlight: rgba(255, 255, 255, 0.9);
    --glass-shadow: var(--card-shadow);
    --grid-color: rgba(79, 70, 229, 0.1);
    --grid-size: 60px;
    --gradient-text: var(--primary-color);
    --shadow-glow-hover: 0 20px 40px -5px rgba(79, 70, 229, 0.15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-page);
    background-image: none;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

/* Disable hyphenation for Russian and Greek language */
html[lang="ru"] body,
html[lang="el"] body {
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
}

/* ========================================
   DARK PAGE THEME
   ======================================== */
.dark-page {
    --bg-page: var(--dark-bg);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    background-color: var(--dark-bg);
    color: var(--text-primary);
}

.dark-page .navbar {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-page .navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-page .nav-link {
    color: #cbd5e1;
}

.dark-page .nav-link:hover {
    color: white;
}

.dark-page .logo-text {
    color: white;
}

.dark-page .project-card {
    background: rgba(30, 41, 59, 0.7);
    /* Slate 800 with opacity */
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-page .project-card:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-page .project-title {
    color: white;
}

.dark-page .project-description {
    color: #cbd5e1;
}

.dark-page .section-title {
    color: white;
}

.dark-page .section-description {
    color: #cbd5e1;
}

.dark-page .footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-page .footer-title {
    color: white;
}

.dark-page .footer-links a {
    color: #cbd5e1;
}

.dark-page .footer-links a:hover {
    color: white;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 600;
    /* Lighter weight for modern feel */
}

/* ========================================
   UTILITIES & EFFECTS
   ======================================== */

.bg-noise {
    display: none;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-panel:hover {
    background: var(--glass-highlight);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.text-gradient {
    color: var(--primary-color);
    font-weight: 800;
}

/* Clean Card Utility (Premium Glass) */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-bounce), box-shadow var(--transition-base), border-color var(--transition-base);
}

.glass-card::before {
    display: none;
}

.glass-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--card-hover-border);
    background: rgba(255, 255, 255, 0.85);
}

/* Animations - Aurora Effect */
@keyframes aurora-1 {

    0%,
    100% {
        top: -50%;
        left: -50%;
        opacity: 0.4;
    }

    50% {
        top: -20%;
        left: -20%;
        opacity: 0.6;
    }
}

@keyframes aurora-2 {

    0%,
    100% {
        bottom: -50%;
        right: -50%;
        opacity: 0.4;
    }

    50% {
        bottom: -20%;
        right: -20%;
        opacity: 0.6;
    }
}

@keyframes aurora-3 {

    0%,
    100% {
        top: 40%;
        left: 40%;
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        top: 30%;
        left: 60%;
        transform: scale(1.2);
        opacity: 0.5;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--neutral-200);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-image {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.logo-text {
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: color var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    display: none;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    padding: 0.25rem;
    background: var(--neutral-100);
    border-radius: var(--radius-full);
    border: 1px solid var(--neutral-200);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: var(--font-size-xs);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-body);
    line-height: 1;
    text-decoration: none;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

.lang-btn.active {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--neutral-200);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: normal;
    justify-content: center;
    text-align: center;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--glow-primary), 0 4px 6px -1px rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary), 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    background: var(--primary-dark);
}

.btn-primary::before {
    display: none;
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--neutral-50);
    transform: translateY(-2px);
    border-color: var(--primary-light);
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--font-size-base);
}

.btn-xl {
    padding: 1.25rem 3rem;
    font-size: var(--font-size-lg);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--navbar-height) + var(--spacing-3xl)) 0 var(--spacing-2xl);
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background: var(--grid-color);
    background-size: var(--grid-size) var(--grid-size);
    mask-image: none;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

.constellation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: rgba(59, 130, 246, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 60vw;
    height: 60vw;
    background: #2563eb;
    top: -30%;
    left: -20%;
    animation: aurora-1 25s infinite alternate;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    background: #0ea5e9;
    bottom: -20%;
    right: -10%;
    animation: aurora-2 20s infinite alternate;
}

.orb-3 {
    width: 40vw;
    height: 40vw;
    background: #0ea5e9;
    top: 40%;
    left: 40%;
    animation: aurora-3 30s infinite alternate;
    opacity: 0.3;
}

.hero-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
        text-align: left;
    }

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

    .hero-cta {
        justify-content: flex-start;
    }

    .hero-trust-badges {
        justify-content: flex-start;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right {
    position: relative;
    width: 100%;
}

/* Terminal Styles */
#hero-terminal {
    width: 100%;
    min-height: 400px;
    background: rgba(13, 13, 35, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.1);
    overflow: hidden;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-controls {
    display: flex;
    gap: 8px;
    margin-right: 1rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red {
    background-color: #ef4444;
}

.control-dot.yellow {
    background-color: #f59e0b;
}

.control-dot.green {
    background-color: #10b981;
}

.terminal-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.terminal-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #93c5fd;
}

.terminal-line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.line-prefix {
    color: var(--secondary-color);
    font-weight: bold;
}

.line-content {
    word-break: break-word;
}

.line-content.success {
    color: var(--success-color);
}

.line-content.warning {
    color: var(--warning-color);
}

.line-content.info {
    color: var(--accent-color);
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background-color: var(--text-primary);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1.25rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
    white-space: normal;
    text-align: center;
}

.hero-badge i {
    color: #f43f5e;
    /* Rose/Pink accent */
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.03em;
}

.gradient-text {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

/* Shine Effect Animation */
@keyframes shine {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.shine-text {
    color: var(--primary-color);
    animation: none;
    font-weight: 900;
}

.hero-description {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-subnote {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: calc(var(--spacing-md) * -1);
    margin-bottom: var(--spacing-xl);
    letter-spacing: 0.01em;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--primary-light);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-md);
    /* Reduced from lg to fit badges */
    flex-wrap: wrap;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    /* Small font size */
    font-weight: 700;
    /* Bold font */
    color: var(--text-muted);
    /* Monochromatic gray/steel */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-trust-badge i {
    font-size: 1.1em;
    opacity: 0.8;
}

.hero-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.hero-note i {
    color: var(--success-color);
}

/* Trust Bar */
.trust-bar {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--dark-border);
}

.trust-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
    opacity: 0.7;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.trust-logo:hover {
    color: var(--text-primary);
    opacity: 1;
    transform: translateY(-2px);
}

.trust-logo i {
    font-size: 1.2rem;
    color: var(--primary-light);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    margin: 0 auto var(--spacing-xs);
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes bounce {

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

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

/* ========================================
   SECTION STYLES
   ======================================== */

section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    background: var(--dark-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

/* Founder Card */
.founder-card {
    border-radius: var(--radius-2xl);
    padding: var(--spacing-sm);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
}

.profile-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.founder-info {
    padding: var(--spacing-md) var(--spacing-sm);
    text-align: center;
}

.founder-name {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.founder-title {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
}

.founder-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.founder-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color var(--transition-base);
}

.founder-social a:hover {
    color: var(--primary-light);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.about-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    line-height: 1.3;
}

.about-lead {
    font-size: var(--font-size-lg);
    color: var(--primary-light);
    font-weight: 500;
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.stat-mini {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.stat-mini:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.stat-mini .stat-value {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-light);
    margin-bottom: var(--spacing-xs);
}

.stat-mini .stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    background: var(--bg-page);
    overflow: visible;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding-top: 2rem;
    overflow: visible;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: visible;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.service-card>.btn {
    margin-top: auto;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15), 0 0 20px rgba(59, 130, 246, 0.05);
    background: var(--glass-highlight);
}

.service-card.popular {
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.service-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 0.25rem 0.75rem;
    background: var(--success-color);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.service-badge.discount {
    background: var(--warning-color);
    top: var(--spacing-md);
    left: var(--spacing-md);
    right: auto;
}

.service-badge.popular-badge {
    background: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
    top: -1.25rem;
    right: auto;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
    z-index: 100;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(59, 130, 246, 0.6);
    }
}

.service-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 0.75rem;
    background: var(--primary-color);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: white;
}

.service-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.service-price {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.price-old {
    font-size: var(--font-size-xl);
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: #ef4444;
    font-weight: 700;
}

.service-duration {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-size: 0.8rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1rem;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.service-features i {
    color: var(--success-color);
    font-size: 0.75rem;
    flex-shrink: 0;
    width: 0.75rem;
}

.retainer-card {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    backdrop-filter: blur(10px);
}

.retainer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.retainer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.retainer-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-2xl);
    font-weight: 700;
}

.retainer-title i {
    color: var(--primary-color);
}

.retainer-price {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--primary-color);
}

.retainer-description {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   CASES SECTION
   ======================================== */

.cases {
    background: var(--bg-tertiary);
    position: relative;
}

.cases-grid {
    display: none;
    /* Deprecated, using .bento-grid */
}

.case-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-glow-hover);
    background: var(--glass-highlight);
}

/* Module Card Styles for Bento Grid */
.module-card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding: var(--spacing-sm);
}

.module-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.module-icon {
    font-size: 1.5rem;
    color: var(--primary-light);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.module-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.module-metric-container {
    margin-top: auto;
    margin-bottom: var(--spacing-md);
}

.module-metric {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: block;
}

.module-title-hero {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.module-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-size-sm);
    opacity: 0.8;
    transition: all var(--transition-base);
    text-decoration: none;
    margin-top: auto;
}

.case-card:hover .module-action {
    opacity: 1;
    gap: 0.75rem;
}

.module-description {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: var(--spacing-sm) 0 var(--spacing-md);
}

.module-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    padding: 0;
}

.module-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.module-features i {
    color: var(--success-color);
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 0.35em;
}

.module-example {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--primary-light);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
}

.module-example i {
    color: var(--warning-color);
    flex-shrink: 0;
    margin-top: 0.2em;
}

/* Module Metrics Grid (Benefit / Savings) */
.module-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xs) var(--spacing-md);
    margin-bottom: var(--spacing-md);
    background: rgba(59, 130, 246, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
}

.mm-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.mm-value {
    font-size: var(--font-size-base);
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1.2;
}

.mm-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.custom-case-cta {
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
}

.custom-case-content h3 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.custom-case-content p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.custom-case-note {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: var(--spacing-md);
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
    background: var(--bg-page);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto var(--spacing-2xl);
}

.process-step {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    align-items: flex-start;
}

/* LEFT SIDE - adjusted for grid */
.process-step:nth-child(odd) {
    margin-right: 0;
    padding-right: 0;
    justify-content: flex-start;
    text-align: left;
}

.process-step:nth-child(odd) .process-number {
    position: relative;
    right: auto;
    top: auto;
    z-index: 2;
    margin-bottom: var(--spacing-md);
}

.process-step:nth-child(odd) .process-features,
.process-step:nth-child(odd) .process-features li {
    justify-content: flex-start;
}

/* RIGHT SIDE - adjusted for grid */
.process-step:nth-child(even) {
    margin-left: 0;
    padding-left: 0;
    justify-content: flex-start;
    text-align: left;
}

.process-step:nth-child(even) .process-number {
    position: relative;
    left: auto;
    top: auto;
    z-index: 2;
    margin-bottom: var(--spacing-md);
}

.process-content {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.process-content:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: var(--shadow-xl);
}

.process-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.process-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.process-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.process-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.process-features i {
    color: var(--success-color);
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    color: var(--primary-light);
    flex-shrink: 0;
}

.process-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.benefit-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
}

.benefit-value {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--success-color);
    margin-bottom: var(--spacing-sm);
}

.benefit-label {
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

/* ========================================
   CALCULATOR SECTION
   ======================================== */

.calculator {
    background: var(--dark-bg);
}

.calculator-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.calculator-header {
    background: var(--primary-color);
    padding: var(--spacing-xl);
    text-align: center;
    color: white;
}

.calculator-header h3 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
}

.calculator-header p {
    opacity: 0.9;
    font-size: var(--font-size-sm);
}

.calculator-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    padding: var(--spacing-2xl);
}

.calculator-inputs h4,
.calculator-results h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

.input-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.input-control {
    width: 120px;
}

.input-group label i {
    color: var(--primary-color);
}

.input-group input[type="range"] {
    width: 100%;
    margin-top: var(--spacing-sm);
    flex-basis: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.input-group input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    transition: all var(--transition-base);
    margin-bottom: 0;
}

.input-group input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}



.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
}

.result-cards {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.result-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.result-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.result-card.highlight {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.result-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: white;
    flex-shrink: 0;
}

.result-data {
    flex: 1;
}

.result-value {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--primary-light);
    margin-bottom: 0.25rem;
}

.result-label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) 0;
    font-size: var(--font-size-sm);
}

.detail-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item span {
    color: var(--text-secondary);
}

.detail-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.calculator-cta {
    text-align: center;
}

.calculator-cta p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    background: rgba(59, 130, 246, 0.05);
    padding: var(--spacing-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-lg);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: white;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.stat-text {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.stats-source {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    margin-top: var(--spacing-lg);
}

.stats-source a {
    color: var(--primary-light);
    text-decoration: underline;
    transition: color var(--transition-base);
}

.stats-source a:hover {
    color: var(--primary-color);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: var(--dark-bg);
    padding: var(--spacing-3xl) 0;
}

.cta-card {
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(59, 130, 246, 0.1);
    animation: pulse 4s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.cta-description {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.cta-benefits {
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.cta-benefits i {
    color: var(--success-color);
    font-size: var(--font-size-base);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.cta-features i {
    color: var(--primary-light);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-image {
    width: 40px;
    height: 40px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a,
.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-base);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.footer-contact i {
    color: var(--primary-light);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--dark-border);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* ========================================
   SCROLL TO TOP
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

/* ========================================
   ANIMATIONS
   ======================================== */

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .calculator-body {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-base);
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .language-switcher {
        width: 100%;
        justify-content: center;
        margin: var(--spacing-sm) 0;
    }

    .lang-btn {
        flex: 1;
        text-align: center;
    }

    .hero-stats {
        gap: var(--spacing-md);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

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

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

    .case-results {
        grid-template-columns: 1fr;
    }

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

    .retainer-header {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .process-step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .process-number {
        margin: 0 auto;
    }

    .process-features {
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-3xl: 2.5rem;
        --spacing-2xl: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .case-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .case-metrics {
        align-items: flex-start;
    }
}

/* ========================================
   Projects Section
   ======================================== */
.projects {
    padding: var(--spacing-3xl) 0;
    background: var(--dark-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.project-card {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--dark-border);
    position: relative;
    transition: var(--transition-base);
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow-hover);
    background: rgba(30, 41, 59, 0.5);
}

.project-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.project-icon i {
    font-size: 1.5rem;
    color: white;
}

.project-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 0.25rem 0.75rem;
    background: var(--success-color);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.project-badge.research {
    background: var(--primary-color);
}

.project-title {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.project-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.project-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.project-features li i {
    color: var(--success-color);
    font-size: var(--font-sm);
}

.project-video {
    margin: var(--spacing-md) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.project-video iframe {
    width: 100%;
    height: 100%;
}

/* Video Preview/Thumbnail */
.video-preview {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.video-preview:hover img {
    transform: scale(1.05);
}

.video-preview .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(220, 38, 38, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.video-preview:hover .play-button {
    background: #ef4444;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-preview .play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 4px;
}

.video-preview .video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FindPro Page
   ======================================== */
.findpro-page {
    padding: var(--spacing-3xl) 0;
    background: var(--dark-bg);
}

.findpro-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.findpro-intro .section-title {
    margin-bottom: var(--spacing-sm);
}

.findpro-disclaimer {
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
    font-size: var(--font-sm);
    line-height: 1.5;
}

.findpro-chat-card {
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
    display: flex;
    flex-direction: column;
    min-height: 580px;
    overflow: hidden;
}

.findpro-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--dark-border);
    background: rgba(30, 41, 59, 0.42);
}

.findpro-chat-header h2 {
    font-size: var(--font-xl);
    margin: 0 0 0.2rem;
}

.findpro-chat-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--font-sm);
}

.findpro-status {
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    font-size: var(--font-xs);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.findpro-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.findpro-message {
    display: flex;
}

.findpro-message.is-user {
    justify-content: flex-end;
}

.findpro-message.is-assistant {
    justify-content: flex-start;
}

.findpro-bubble {
    max-width: min(84%, 660px);
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    line-height: 1.55;
    white-space: pre-wrap;
    color: var(--text-primary);
    background: rgba(30, 41, 59, 0.76);
    border: 1px solid var(--dark-border);
}

.findpro-message.is-user .findpro-bubble {
    background: var(--primary-color);
    border: none;
    color: #ffffff;
}

.findpro-bubble.is-muted {
    color: var(--text-secondary);
    font-style: italic;
}

.findpro-input-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-top: 1px solid var(--dark-border);
    background: rgba(15, 23, 42, 0.82);
}

.findpro-input-row input {
    flex: 1;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    padding: 0.85rem 1rem;
    font-size: var(--font-base);
    min-width: 0;
}

.findpro-input-row input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.findpro-input-row button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .findpro-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .findpro-chat-card {
        min-height: 520px;
    }

    .findpro-bubble {
        max-width: 95%;
    }
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: var(--font-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-badge i {
    color: var(--primary-color);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: var(--spacing-3xl) 0;
    background: var(--dark-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.faq-item {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--dark-border);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-size: var(--font-base);
    font-weight: 600;
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition-base);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--dark-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--dark-border);
}

.faq-cta p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Blog Page Styles
   ======================================== */
.blog-hero {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-2xl);
    background: var(--dark-bg);
    text-align: center;
}

.blog-hero-title {
    font-size: var(--font-4xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.blog-hero-description {
    font-size: var(--font-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.blog-content {
    padding: var(--spacing-2xl) 0 var(--spacing-3xl);
    background: var(--dark-bg);
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
}

.blog-section-title {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.blog-section-title i {
    color: var(--primary-color);
}

/* Blog Article Cards */
.blog-articles {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.blog-card {
    display: flex;
    gap: var(--spacing-lg);
    background: var(--dark-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--dark-border);
    overflow: hidden;
    transition: var(--transition-base);
}

.blog-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    min-width: 120px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image i {
    font-size: 2.5rem;
    color: white;
}

.blog-card-content {
    padding: var(--spacing-lg);
    flex: 1;
}

.blog-card-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.blog-card-date {
    font-size: var(--font-sm);
    color: var(--text-muted);
}

.blog-card-category {
    font-size: var(--font-xs);
    padding: 0.2rem 0.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    font-weight: 600;
}

.blog-card-title {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
}

.blog-card-link:hover {
    color: var(--primary-color);
    gap: var(--spacing-sm);
}

.blog-more {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Blog Sidebar - Telegram */
.blog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.telegram-widget {
    background: var(--dark-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--dark-border);
    padding: var(--spacing-lg);
}

.telegram-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.telegram-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
}

.telegram-info {
    display: flex;
    flex-direction: column;
}

.telegram-name {
    font-weight: 700;
    color: var(--text-primary);
}

.telegram-handle {
    font-size: var(--font-sm);
    color: var(--text-muted);
}

.telegram-description {
    color: var(--text-secondary);
    font-size: var(--font-sm);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.btn-telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: #0088cc;
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
}

.btn-telegram:hover {
    background: #006699;
    transform: translateY(-2px);
}

.telegram-feed {
    margin-top: var(--spacing-lg);
    max-height: 400px;
    overflow-y: auto;
}

.telegram-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    color: var(--text-muted);
}

.telegram-post {
    display: block;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--dark-border);
    text-decoration: none;
    transition: var(--transition-base);
}

.telegram-post:hover {
    background: rgba(255, 255, 255, 0.05);
}

.telegram-post:last-child {
    border-bottom: none;
}

.telegram-post-date {
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.telegram-post-content {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.telegram-fallback {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--text-secondary);
}

.telegram-fallback i {
    font-size: 2rem;
    color: #0088cc;
    margin-bottom: var(--spacing-sm);
}

.telegram-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    color: var(--primary-light);
    text-decoration: none;
    font-size: var(--font-sm);
    transition: var(--transition-base);
}

.telegram-view-all:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-card {
        flex-direction: column;
    }

    .blog-card-image {
        min-height: 100px;
    }

    .blog-hero-title {
        font-size: var(--font-2xl);
    }
}

/* ========================================
   Holiday / Christmas Elements
   ======================================== */

/* Holiday Banner */
.holiday-banner {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: #1a472a;
    padding: 0.75rem 0;
    text-align: center;
    z-index: 999;
    border-bottom: 2px solid #c41e3a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.holiday-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.holiday-banner span {
    color: #fff;
    font-size: var(--font-size-sm);
}

.holiday-banner a {
    color: #ffd700;
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition-base);
}

.holiday-banner a:hover {
    color: #fff;
}

.holiday-icon {
    font-size: 1.2rem;
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

/* Adjust hero section for banner */
.hero {
    padding-top: calc(var(--navbar-height) + var(--holiday-banner-height) + var(--spacing-xl));
}

/* Snowflakes */
.snowflakes {
    position: fixed;
    top: calc(var(--navbar-height) + var(--holiday-banner-height));
    left: 0;
    width: 100%;
    height: calc(100% - (var(--navbar-height) + var(--holiday-banner-height)));
    pointer-events: none;
    z-index: 900;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: snowfall linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.snowflake:nth-child(1) {
    left: 5%;
    animation-duration: 10s;
    animation-delay: 0s;
    font-size: 1.2rem;
}

.snowflake:nth-child(2) {
    left: 15%;
    animation-duration: 12s;
    animation-delay: 1s;
    font-size: 1.8rem;
}

.snowflake:nth-child(3) {
    left: 25%;
    animation-duration: 8s;
    animation-delay: 2s;
    font-size: 1rem;
}

.snowflake:nth-child(4) {
    left: 35%;
    animation-duration: 14s;
    animation-delay: 0.5s;
    font-size: 1.5rem;
}

.snowflake:nth-child(5) {
    left: 45%;
    animation-duration: 9s;
    animation-delay: 3s;
    font-size: 2rem;
}

.snowflake:nth-child(6) {
    left: 55%;
    animation-duration: 11s;
    animation-delay: 1.5s;
    font-size: 1.3rem;
}

.snowflake:nth-child(7) {
    left: 65%;
    animation-duration: 13s;
    animation-delay: 2.5s;
    font-size: 1.7rem;
}

.snowflake:nth-child(8) {
    left: 75%;
    animation-duration: 10s;
    animation-delay: 0.8s;
    font-size: 1.1rem;
}

.snowflake:nth-child(9) {
    left: 85%;
    animation-duration: 15s;
    animation-delay: 1.2s;
    font-size: 1.6rem;
}

.snowflake:nth-child(10) {
    left: 95%;
    animation-duration: 7s;
    animation-delay: 2.2s;
    font-size: 1.4rem;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .snowflake,
    .holiday-icon {
        animation: none;
    }

    .snowflakes {
        display: none;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .holiday-banner {
        padding: 0.5rem 0;
    }

    .holiday-banner span {
        font-size: var(--font-size-xs);
    }

    .holiday-icon {
        display: none;
    }

    .hero {
        padding-top: calc(var(--navbar-height) + var(--holiday-banner-height) + var(--spacing-lg));
    }

    .snowflakes {
        top: calc(var(--navbar-height) + var(--holiday-banner-height));
        height: calc(100% - (var(--navbar-height) + var(--holiday-banner-height)));
    }

    .snowflake {
        font-size: 1rem;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: var(--spacing-3xl) 0;
    background: var(--dark-bg);
}

.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-3xl);
    padding: var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.about-card .founder-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    /* Vertically center the content with the image */
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dark-border);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.about-badge span:first-child {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 900;
    line-height: 1;
}

.about-badge span:last-child {
    font-size: var(--font-size-xs);
    opacity: 0.9;
    display: block;
    margin-top: 0.25rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Override global margins to rely on gap */
.about-content .section-badge {
    margin-bottom: 0;
    align-self: flex-start;
}

.about-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.2;
}

.about-lead {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.6;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--glass-border);
}

.about-stat {
    text-align: center;
}

.about-stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about-stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.about-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.about-social {
    display: flex;
    gap: var(--spacing-sm);
}

.about-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    transition: all var(--transition-base);
}

.about-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 300px 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .about-badge {
        bottom: -15px;
        right: -10px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .about-badge span:first-child {
        font-size: var(--font-size-2xl);
    }

    .about-title {
        font-size: var(--font-size-2xl);
        text-align: center;
    }

    .about-content {
        text-align: center;
        align-items: center;
        /* Center flex items on mobile */
    }

    .about-content .section-badge {
        align-self: center;
    }

    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }

    .about-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   DECORATIVE ELEMENTS
   ======================================== */

/* Floating shapes */
.decorative-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-circle {
    border-radius: 50%;
    background: var(--primary-color);
}

.shape-ring {
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
}

.shape-dots {
    display: grid;
    grid-template-columns: repeat(5, 8px);
    gap: 12px;
}

.shape-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.shape-line {
    height: 2px;
    background: var(--primary-color);
    transform-origin: left;
}

.shape-cross {
    width: 40px;
    height: 40px;
    position: relative;
}

.shape-cross::before,
.shape-cross::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
}

.shape-cross::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.shape-cross::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

/* Section divider wave */
.section-divider {
    position: relative;
    height: 80px;
    margin: -40px 0;
    z-index: 1;
}

.section-divider svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Grid pattern background */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.03);
    pointer-events: none;
}

/* Glow effect for cards */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(59, 130, 246, 0.1);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    border-radius: 50%;
}

.glow-effect:hover::before {
    opacity: 1;
}

/* Animated gradient border */
.gradient-border {
    position: relative;
    background: var(--dark-card);
    border-radius: var(--radius-xl);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--primary-color);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gradient-border:hover::before {
    opacity: 1;
}

/* Floating animation for decorative elements */
@keyframes float-slow {

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

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-medium {

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

    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

@keyframes pulse-slow {

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

    50% {
        opacity: 0.2;
        transform: scale(1.1);
    }
}

.animate-float-slow {
    animation: float-slow 8s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 6s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Hero decorative elements specific */
.hero .decorative-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 5%;
    animation: float-slow 10s ease-in-out infinite;
}

.hero .decorative-shapes .shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation: float-medium 8s ease-in-out infinite;
    animation-delay: -2s;
}

.hero .decorative-shapes .shape-3 {
    top: 30%;
    left: 5%;
    animation: pulse-slow 5s ease-in-out infinite;
}

.hero .decorative-shapes .shape-4 {
    bottom: 30%;
    right: 15%;
    animation: float-slow 7s ease-in-out infinite;
    animation-delay: -3s;
}

/* Cases section decorative */
.cases .decorative-shapes .shape-1 {
    width: 200px;
    height: 200px;
    top: 5%;
    left: -5%;
    opacity: 0.05;
}

.cases .decorative-shapes .shape-2 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 5%;
    opacity: 0.08;
}

/* Services section decorative */
.services .decorative-shapes .shape-1 {
    width: 250px;
    height: 250px;
    top: -5%;
    right: -5%;
    opacity: 0.05;
}

/* Responsive */
@media (max-width: 768px) {
    .decorative-shapes {
        display: none;
    }
}

/* ========================================
   CONTACT FORM STYLES
   ======================================== */

.contact-form-container {
    width: 100%;
    padding: var(--spacing-xl) 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: left;
}

.form-group label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-family: inherit;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-success-message {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-color);
    border-radius: var(--radius-xl);
    text-align: center;
    color: var(--success-color);
}

.form-success-message i {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   V2 REDESIGN - ETHEREAL GLASS
   ======================================== */

/* Spotlight Effect */
.spotlight-card {
    position: relative;
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.05);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

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



.spotlight-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Island Navigation */
.nav-island {
    position: fixed;
    top: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 600px;
    background: rgba(3, 0, 20, 0.6);
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    z-index: 1000;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-island:hover {
    background: rgba(3, 0, 20, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.2);
    transform: translateX(-50%) translateY(-2px);
}

.nav-island .logo {
    margin-right: var(--spacing-xl);
}

.nav-island .nav-menu {
    gap: var(--spacing-md);
}

@media (max-width: 768px) {
    .nav-island {
        top: var(--spacing-sm);
        min-width: 90%;
        padding: 0.5rem 1rem;
    }
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-md);
    width: 100%;
}

.bento-item {
    grid-column: span 4;
}

.bento-item.span-6 {
    grid-column: span 6;
}

.bento-item.span-8 {
    grid-column: span 8;
}

.bento-item.span-12 {
    grid-column: span 12;
}

@media (max-width: 1024px) {

    .bento-item,
    .bento-item.span-6,
    .bento-item.span-8 {
        grid-column: span 12;
    }
}

/* Digital Horizon Background */
.digital-horizon {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60vh;
    transform: perspective(1000px) rotateX(60deg) scale(2);
    transform-origin: center bottom;
    opacity: 0.3;
    animation: grid-move 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes grid-move {
    0% {
        background-position: center 0;
    }

    100% {
        background-position: center var(--grid-size);
    }
}

/* ========================================
   READABILITY + DENSITY POLISH
   ======================================== */

:root {
    --text-secondary: #334155;
    --text-muted: #475569;
    --card-bg: rgba(255, 255, 255, 0.92);
    --card-border: rgba(148, 163, 184, 0.35);
    --card-hover-border: rgba(59, 130, 246, 0.4);
    --dark-bg: #0b1220;
    --dark-card: #111b2e;
    --dark-border: rgba(148, 163, 184, 0.28);
    --gradient-success: var(--success-color);
    --shadow-2xl: 0 26px 60px -24px rgba(2, 6, 23, 0.45);
    --shadow-glow: 0 24px 55px -30px rgba(37, 99, 235, 0.4);
    --radius-3xl: 2rem;
    --bento-bg: rgba(255, 255, 255, 0.96);
    --bento-border: rgba(148, 163, 184, 0.36);
    --holiday-banner-height: 0px;
    --font-xs: var(--font-size-xs);
    --font-sm: var(--font-size-sm);
    --font-base: var(--font-size-base);
    --font-lg: var(--font-size-lg);
    --font-xl: var(--font-size-xl);
    --font-2xl: var(--font-size-2xl);
    --font-3xl: var(--font-size-3xl);
    --font-4xl: var(--font-size-4xl);
    --spacing-2xl: 3rem;
    --spacing-3xl: 4.5rem;
}

body {
    line-height: 1.65;
}

section {
    padding: clamp(2.75rem, 6vw, 4.25rem) 0;
}

.hero {
    min-height: auto;
    padding: calc(var(--navbar-height) + 3rem) 0 clamp(2.25rem, 4vw, 3.25rem);
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    line-height: 1.08;
    margin-bottom: var(--spacing-md);
}

.hero-description {
    max-width: 62ch;
    line-height: 1.62;
    margin-bottom: var(--spacing-lg);
}

.hero-subnote {
    margin-bottom: var(--spacing-lg);
}

.trust-bar {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
}

.section-header {
    margin: 0 auto var(--spacing-xl);
}

.section-description,
.module-description,
.service-description,
.process-description,
.faq-answer p,
.stat-text,
.footer-description {
    color: var(--text-secondary);
}

.bento-grid {
    gap: var(--spacing-sm);
}

.services-grid {
    padding-top: 1rem;
    margin-bottom: 0;
}

.service-card {
    padding: 1.25rem;
}

.process-timeline {
    gap: var(--spacing-lg);
    margin: 0 auto var(--spacing-xl);
}

.process-number {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.stats-section {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.cta-section {
    padding: clamp(3rem, 6vw, 4rem) 0;
}

.cta-card {
    padding: clamp(1.5rem, 4vw, 2.75rem);
}

.contact-form-container {
    padding: var(--spacing-md) 0 0;
}

.nav-island {
    background: rgba(9, 16, 33, 0.88);
    border-color: rgba(148, 163, 184, 0.34);
}

.nav-island .nav-link {
    color: #cbd5e1;
}

.nav-island .nav-link:hover {
    color: #ffffff;
}

.services,
.faq,
.calculator,
.cta-section,
.footer {
    color: #e2e8f0;
}

.services .section-title,
.faq .section-title,
.calculator .section-title,
.cta-title,
.footer-title,
.calculator h3,
.calculator h4 {
    color: #f8fafc;
}

.services .section-description,
.faq .section-description,
.calculator .section-description,
.cta-description,
.faq-cta p,
.calculator-cta p,
.service-duration,
.service-description,
.service-features li,
.faq-answer p,
.footer-description,
.footer-contact li,
.footer-links a,
.footer-contact a,
.cta-features {
    color: #cbd5e1;
}

.footer-links a:hover,
.footer-contact a:hover,
.faq-question:hover {
    color: #ffffff;
}

.calculator .input-group label,
.calculator .detail-item span {
    color: #cbd5e1;
}

.calculator .input-group input[type="number"] {
    color: #f8fafc;
}

.calculator .result-label {
    color: #dbeafe;
}

.cta-section .form-group label {
    color: #dbeafe;
}

.cta-section .form-group input,
.cta-section .form-group textarea {
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.52);
    border-color: rgba(148, 163, 184, 0.36);
}

@media (max-width: 768px) {
    .nav-menu .nav-link {
        color: #e2e8f0;
    }

    .hero {
        padding: calc(var(--navbar-height) + 2.25rem) 0 2.25rem;
    }

    .hero-cta {
        gap: var(--spacing-sm);
    }

    .section-header {
        margin-bottom: var(--spacing-lg);
    }

    .service-card {
        padding: 1rem;
    }
}

/* ========================================
   V3 PREMIUM VISUAL PASS
   ======================================== */

:root {
    --primary-color: #1d4ed8;
    --primary-dark: #1e3a8a;
    --primary-light: #60a5fa;
    --accent-color: #0891b2;
    --gradient-primary: var(--primary-color);
}

body {
    background-color: #f3f7fc;
    background-image: none;
}

section {
    padding: clamp(2.25rem, 5vw, 3.75rem) 0;
}

.hero {
    padding: calc(var(--navbar-height) + 2.6rem) 0 clamp(2rem, 4vw, 2.8rem);
}

.hero-grid {
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-left {
    max-width: 640px;
}

.hero-background {
    background: rgba(29, 78, 216, 0.05);
}

.digital-horizon {
    opacity: 0.2;
}

.grid-pattern {
    opacity: 0.28;
}

.hero-badge {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(96, 165, 250, 0.36);
    color: #dbeafe;
    box-shadow: 0 10px 30px -18px rgba(29, 78, 216, 0.85);
}

.hero-badge i {
    color: #93c5fd;
}

.hero-description {
    color: #22324b;
}

.hero-subnote {
    color: #334155;
}

.shine-text {
    animation: none;
    color: #1d4ed8;
}

.trust-label {
    color: #334155;
}

.nav-island {
    min-width: min(760px, calc(100vw - 1.5rem));
    max-width: calc(100vw - 1.5rem);
    padding: 0.5rem 1rem;
    border-radius: 22px;
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 16px 42px -24px rgba(2, 6, 23, 0.85);
}

.nav-island.scrolled {
    background: rgba(9, 16, 33, 0.95);
    border-color: rgba(148, 163, 184, 0.42);
}

.nav-island .container {
    padding: 0 0.5rem;
}

.nav-island .nav-wrapper {
    padding: 0;
}

.nav-island .mobile-menu-toggle span {
    background: #dbeafe;
}

.nav-island .language-switcher {
    background: rgba(148, 163, 184, 0.16);
    border-color: rgba(148, 163, 184, 0.34);
}

.nav-island .lang-btn {
    color: #cbd5e1;
}

.nav-island .lang-btn.active {
    background: #f8fafc;
    color: #1e3a8a;
    border-color: rgba(148, 163, 184, 0.45);
}

.btn {
    border-radius: 14px;
    font-weight: 650;
}

.btn-sm {
    border-radius: 9999px;
}

.btn-primary {
    box-shadow: 0 14px 32px -18px rgba(29, 78, 216, 0.85);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 34px -20px rgba(14, 116, 144, 0.9);
}

.btn-secondary {
    border-color: rgba(148, 163, 184, 0.45);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(79, 70, 229, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

.pulse-attention-btn {
    animation: pulse-glow 2s infinite;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    gap: 0.3rem 0.4rem;
    line-height: 1.3;
    font-size: clamp(0.85rem, 2vw + 0.5rem, 1rem);
    padding: 0.8rem 1rem;
}

.pulse-attention-btn i {
    flex-shrink: 0;
}

.pulse-attention-btn:hover {
    animation: none;
}

.section-title {
    letter-spacing: -0.03em;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.section-description {
    max-width: 70ch;
    margin: 0 auto;
}

.bento-grid {
    gap: 0.9rem;
}

.spotlight-card {
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 12px 26px -18px rgba(15, 23, 42, 0.5);
}

.spotlight-card::before {
    background: rgba(255, 255, 255, 0.06);
}



.case-card,
.service-card {
    border-color: rgba(148, 163, 184, 0.34);
    box-shadow: 0 18px 36px -28px rgba(15, 23, 42, 0.58);
}

.case-card:hover,
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 78, 216, 0.45);
    box-shadow: 0 24px 44px -28px rgba(29, 78, 216, 0.42);
}

.module-title {
    line-height: 1.25;
}


.services-grid {
    gap: var(--spacing-md);
}

.service-title {
    font-size: 1.02rem;
}

.service-description {
    font-size: 0.88rem;
    line-height: 1.45;
}

.process .process-content,
.process .benefit-item,
.faq .faq-item,
.calculator-card,
.stats-section .stat-card {
    background: rgba(15, 23, 42, 0.93);
    border-color: rgba(148, 163, 184, 0.34);
}

.process .process-title,
.faq .faq-question,
.calculator h3,
.calculator h4,
.calculator .detail-item strong,
.stats-section .stat-number,
.stats-section .benefit-label,
.footer-title {
    color: #f8fafc;
}

.process .process-description,
.process .process-features li,
.process .benefit-label,
.faq .faq-answer p,
.faq-cta p,
.calculator .input-group label,
.calculator .detail-item span,
.calculator .calculator-cta p,
.stats-section .stat-text,
.stats-source,
.footer-description,
.footer-links a,
.footer-contact a,
.footer-contact li,
.footer-bottom {
    color: #cbd5e1;
}

.faq .faq-question {
    border-bottom: 1px solid transparent;
}

.faq .faq-item.active .faq-question {
    border-bottom-color: rgba(148, 163, 184, 0.22);
}

.faq .faq-question i {
    color: #93c5fd;
}

.calculator .result-card {
    background: rgba(30, 41, 59, 0.64);
}

.calculator .result-value {
    color: #dbeafe;
}

.calculator .detail-item:not(:last-child) {
    border-bottom-color: rgba(148, 163, 184, 0.24);
}

.cta-card::before {
    animation: none;
    opacity: 0.65;
}

.contact-form {
    gap: 0.9rem;
}

.contact-form select {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    background: rgba(15, 23, 42, 0.52) !important;
    border: 1px solid rgba(148, 163, 184, 0.36) !important;
    border-radius: var(--radius-lg) !important;
    color: #f8fafc !important;
    font-family: inherit !important;
}

.contact-form select:focus {
    outline: none;
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

@media (max-width: 992px) {
    .nav-island {
        min-width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: calc(var(--navbar-height) + 1.9rem) 0 1.85rem;
    }

    section {
        padding: 2.1rem 0;
    }

    .section-description {
        max-width: 100%;
    }

    .faq-grid {
        gap: 0.7rem;
    }

    .cta-features {
        gap: var(--spacing-md);
    }
}

/* ========================================
   V3 HOTFIXES (POST-REVIEW)
   ======================================== */

html {
    scroll-padding-top: calc(var(--navbar-height) + 2rem);
}

section {
    scroll-margin-top: calc(var(--navbar-height) + 2rem);
}

/* Fix: gradient bar appearing instead of hero text on some browsers */
.hero-title .shine-text {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: #1d4ed8 !important;
    animation: none !important;
}

/* Fix: trust cards too tall and misaligned */
.trust-bar {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
}

.trust-bar .bento-grid {
    gap: 0.75rem;
}

.trust-bar .trust-logo {
    min-height: 72px;
    border-radius: 14px;
    box-shadow: 0 10px 24px -20px rgba(15, 23, 42, 0.55);
}

.trust-bar .spotlight-content {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.6rem !important;
    padding: 0.9rem 1rem !important;
}

.trust-bar .trust-logo i {
    font-size: 1.15rem;
}

/* Fix: process spacing and readability */
.process-timeline {
    gap: var(--spacing-md);
}

.process-step {
    gap: 0.45rem;
}

.process-step .process-number {
    margin-bottom: 0 !important;
}

.process .process-content {
    padding: 1.5rem;
}

.process .process-title {
    font-size: clamp(1.8rem, 2.6vw, 2.3rem);
}

.process .process-description,
.process .process-features li {
    color: #dbe6f5;
}

/* Fix: impact cards text on dark background */
.case-study .benefit-label {
    color: #dbe6f5 !important;
}

.case-study .faq-cta p {
    color: #dbe6f5 !important;
}

/* Fix: services cards had light bg + light text */
.services .service-card {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.42);
}

.services .service-title,
.services .service-description,
.services .service-features li,
.services .service-duration {
    color: #1f2c40 !important;
}

.services .service-features i {
    color: #059669;
}

/* Fix: calculator contrast */
.calculator .calculator-card {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.32);
}

.calculator .calculator-body {
    background: #0f172a;
}

.calculator .calculator-inputs h4,
.calculator .calculator-results h4,
.calculator .input-group label,
.calculator .detail-item span,
.calculator .calculator-cta p {
    color: #dbe6f5 !important;
}

.calculator .input-group input[type="number"] {
    background: rgba(30, 41, 59, 0.9);
    color: #f8fafc !important;
    border-color: rgba(148, 163, 184, 0.34);
}

.calculator .input-group input[type="range"] {
    background: rgba(148, 163, 184, 0.35);
}

.calculator .result-card {
    background: rgba(30, 41, 59, 0.88) !important;
}

.calculator .result-label {
    color: #bfdbfe !important;
}

.calculator .detail-item:not(:last-child) {
    border-bottom-color: rgba(148, 163, 184, 0.22) !important;
}

/* Fix: stats source too low contrast */
.stats-source {
    color: #475569 !important;
}

.stats-source a {
    color: #2563eb !important;
}

/* Fix: contact section/form readability */
.cta-card {
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(148, 163, 184, 0.32);
}

.cta-card:hover {
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(148, 163, 184, 0.4);
}

.cta-title {
    color: #f8fafc !important;
}

.cta-section .form-group label {
    color: #dbe6f5 !important;
}

.cta-section .form-group input,
.cta-section .form-group textarea,
.cta-section .contact-form select {
    background: rgba(30, 41, 59, 0.92) !important;
    color: #f8fafc !important;
    border-color: rgba(148, 163, 184, 0.34) !important;
}

.cta-section .form-group input::placeholder,
.cta-section .form-group textarea::placeholder {
    color: #94a3b8;
}

.cta-section .form-group input:focus,
.cta-section .form-group textarea:focus,
.cta-section .contact-form select:focus {
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.16) !important;
}

@media (max-width: 768px) {
    .trust-bar .bento-item {
        grid-column: span 12;
    }

    .services .service-card {
        padding: 1.1rem;
    }
}

/* ========================================
   WHITE-BLUE TUNE (PROCESS + STATS)
   ======================================== */

.process {
    background: #f8fbff;
}

.process .process-content,
.process .benefit-item,
.stats-section .stat-card {
    background: #ffffff !important;
    border: 1px solid rgba(96, 165, 250, 0.34) !important;
    box-shadow: 0 18px 36px -26px rgba(37, 99, 235, 0.35);
}

.process .process-content:hover,
.process .benefit-item:hover,
.stats-section .stat-card:hover {
    border-color: rgba(37, 99, 235, 0.48) !important;
    box-shadow: 0 24px 44px -28px rgba(37, 99, 235, 0.42);
}

.process .process-title,
.process .process-description,
.process .process-features li,
.process .benefit-label,
.stats-section .stat-text {
    color: #1f2f45 !important;
}

.process .process-number {
    background: #e0ecff;
    border-color: rgba(59, 130, 246, 0.45);
    color: #2563eb;
}

.process .process-features i {
    color: #2563eb;
}

.process .benefit-value {
    color: #1d4ed8;
}

.stats-section {
    background: #eef5ff;
}

.stats-section .stat-number {
    color: #1d4ed8 !important;
}

.stats-section .stats-source {
    color: #334155 !important;
}

.stats-section .stats-source a {
    color: #2563eb !important;
}

/* ========================================
   WHITE-BLUE TUNE (CASE STUDY IMPACT)
   ======================================== */

.case-study .benefit-item {
    background: #ffffff !important;
    border: 1px solid rgba(96, 165, 250, 0.34) !important;
    box-shadow: 0 16px 34px -24px rgba(37, 99, 235, 0.33);
}

.case-study .benefit-item:hover {
    border-color: rgba(37, 99, 235, 0.46) !important;
    box-shadow: 0 22px 42px -26px rgba(37, 99, 235, 0.4);
}

.case-study .benefit-value {
    color: #1d4ed8 !important;
}

.case-study .benefit-label,
.case-study .module-description {
    color: #1f2f45 !important;
}

.case-study .faq-cta {
    background: #ffffff !important;
    border: 1px solid rgba(96, 165, 250, 0.3) !important;
    box-shadow: 0 14px 30px -24px rgba(37, 99, 235, 0.28);
}

.case-study .faq-cta p {
    color: #1f2f45 !important;
}

/* ========================================
   HOTFIX: compact case-study impact block
   ======================================== */

.case-study .process-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.55rem, 1.3vw, 0.95rem);
    margin-top: clamp(0.45rem, 1.1vw, 0.8rem);
}

.case-study .bento-item.span-12.case-card {
    padding: clamp(0.85rem, 1.5vw, 1.15rem);
    gap: clamp(0.5rem, 1.1vw, 0.8rem);
}

.case-study .benefit-item {
    padding: clamp(0.8rem, 1.4vw, 1.05rem);
    border-radius: 1.25rem;
}

.case-study .benefit-value {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.05;
    margin-bottom: 0.2rem;
}

.case-study .benefit-label {
    font-size: clamp(0.88rem, 1.1vw, 1rem);
    line-height: 1.28;
}

.case-study .module-description {
    margin: clamp(0.5rem, 1.1vw, 0.8rem) 0 clamp(0.55rem, 1.1vw, 0.85rem);
    font-size: clamp(0.86rem, 1vw, 0.96rem);
    line-height: 1.4;
}

.case-study .faq-cta {
    margin-top: clamp(0.45rem, 1vw, 0.7rem);
    padding: clamp(0.7rem, 1.2vw, 0.95rem);
    border-radius: 1rem;
}

.case-study .faq-cta p {
    margin-bottom: clamp(0.4rem, 0.9vw, 0.6rem);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.case-study .faq-cta .btn {
    padding: 0.65rem 1.2rem;
}

@media (max-width: 1024px) {
    .case-study .process-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .case-study .process-benefits {
        grid-template-columns: 1fr;
    }

    .case-study .benefit-item {
        padding: 1rem;
    }
}

/* ========================================
   HOTFIX: gradient-text rendering bug
   ======================================== */

.case-study .benefit-value,
.process .benefit-value {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: initial !important;
    color: #1d4ed8 !important;
}

/* ========================================
   HOTFIX: compact calculator footprint
   ======================================== */

.calculator {
    padding: clamp(1.9rem, 4vw, 2.8rem) 0;
}

.calculator .section-header {
    margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
}

.calculator .calculator-card {
    border-radius: 1.5rem;
}

.calculator .calculator-header {
    padding: clamp(1rem, 2.2vw, 1.4rem) clamp(1rem, 2vw, 1.5rem);
}

.calculator .calculator-header h3 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    margin-bottom: 0.35rem;
}

.calculator .calculator-body {
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(1rem, 2vw, 1.4rem);
}

.calculator .calculator-inputs h4,
.calculator .calculator-results h4 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}

.calculator .input-group {
    margin-bottom: 0.9rem;
}

.calculator .input-group label {
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}

.calculator .input-group input[type="number"] {
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.45rem;
    font-size: 1.1rem;
}

.calculator .result-cards {
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.calculator .result-card {
    padding: 0.75rem 0.9rem;
    border-radius: 0.9rem;
}

.calculator .result-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
}

.calculator .result-value {
    font-size: clamp(1.45rem, 2.3vw, 1.9rem);
    margin-bottom: 0;
}

.calculator .result-details {
    padding: 0.8rem 0.9rem;
    margin-bottom: 0.9rem;
}

.calculator .detail-item {
    padding: 0.32rem 0;
}

.calculator .calculator-cta p {
    margin-bottom: 0.6rem;
}

@media (max-width: 1024px) {
    .calculator .calculator-body {
        gap: 1rem;
        padding: 1rem;
    }
}

/* ========================================
   HOTFIX: white + black-blue theme (services -> footer)
   ======================================== */

.services,
.faq,
.calculator,
.stats-section,
.cta-section,
.footer {
    background: #ffffff !important;
    color: #0f172a !important;
}

.services .section-title,
.faq .section-title,
.calculator .section-title,
.cta-title,
.footer-title,
.calculator h3,
.calculator h4,
.faq .faq-question,
.stats-section .stat-number {
    color: #0f172a !important;
}

.services .section-description,
.faq .section-description,
.calculator .section-description,
.service-description,
.service-duration,
.service-features li,
.faq-answer p,
.faq-cta p,
.calculator .input-group label,
.calculator .detail-item span,
.calculator .calculator-cta p,
.stats-section .stat-text,
.stats-section .stats-source,
.footer-description,
.footer-contact li,
.footer-links a,
.footer-contact a,
.footer-bottom,
.cta-features,
.cta-section .form-group label {
    color: #1e293b !important;
}

.services .service-card,
.faq .faq-item,
.faq .faq-cta,
.calculator .calculator-card,
.calculator .result-card,
.calculator .result-details,
.stats-section .stat-card,
.cta-section .cta-card {
    background: #ffffff !important;
    border: 1px solid rgba(37, 99, 235, 0.22) !important;
    box-shadow: 0 16px 30px -24px rgba(37, 99, 235, 0.28) !important;
}

.services .service-card:hover,
.faq .faq-item:hover,
.stats-section .stat-card:hover {
    border-color: rgba(37, 99, 235, 0.38) !important;
    box-shadow: 0 22px 36px -26px rgba(37, 99, 235, 0.35) !important;
}

.calculator .calculator-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.calculator .calculator-header h3 {
    color: #1d4ed8 !important;
}

.calculator .calculator-header p,
.calculator .result-label,
.calculator .detail-item strong,
.services .service-title,
.faq .faq-question:hover,
.footer-links a:hover,
.footer-contact a:hover,
.stats-section .stats-source a,
.cta-features i,
.faq .faq-question i {
    color: #1d4ed8 !important;
}

.calculator .calculator-body {
    background: #ffffff !important;
}

.calculator .input-group input[type="number"],
.cta-section .form-group input,
.cta-section .form-group textarea,
.cta-section .contact-form select,
.contact-form select {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(37, 99, 235, 0.25) !important;
}

.cta-section .form-group input::placeholder,
.cta-section .form-group textarea::placeholder {
    color: #64748b !important;
}

.cta-section .form-group input:focus,
.cta-section .form-group textarea:focus,
.cta-section .contact-form select:focus,
.contact-form select:focus,
.calculator .input-group input[type="number"]:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

.footer {
    border-top: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(37, 99, 235, 0.16) !important;
}

/* ========================================
   WHITE-BLUE TUNE (FAQ)
   ======================================== */

.faq {
    background: #f8fbff;
    color: #1f2f45;
}

.faq .section-title,
.faq .section-description {
    color: #1f2f45 !important;
}

.faq .faq-item {
    background: #ffffff !important;
    border: 1px solid rgba(96, 165, 250, 0.34) !important;
    box-shadow: 0 18px 36px -26px rgba(37, 99, 235, 0.22);
}

.faq .faq-item:hover {
    border-color: rgba(37, 99, 235, 0.46) !important;
    box-shadow: 0 22px 42px -28px rgba(37, 99, 235, 0.28);
}

.faq .faq-item.active {
    border-color: rgba(37, 99, 235, 0.56) !important;
}

.faq .faq-question {
    color: #1f2f45 !important;
}

.faq .faq-question:hover {
    color: #1d4ed8 !important;
}

.faq .faq-item.active .faq-question {
    border-bottom-color: rgba(37, 99, 235, 0.2);
}

.faq .faq-question i {
    color: #2563eb !important;
}

.faq .faq-answer p,
.faq-cta p {
    color: #334155 !important;
}

.faq-cta {
    background: #ffffff !important;
    border: 1px solid rgba(96, 165, 250, 0.3) !important;
    box-shadow: 0 14px 30px -24px rgba(37, 99, 235, 0.26);
}

/* ========================================
   FINAL GUARD: pure white sections + black-blue typography
   ======================================== */

.services,
.faq,
.calculator,
.stats-section,
.cta-section,
.footer,
.faq .faq-item,
.faq-cta,
.calculator .calculator-card,
.cta-section .cta-card,
.stats-section .stat-card {
    background: #ffffff !important;
}

.services,
.faq,
.calculator,
.stats-section,
.cta-section,
.footer,
.services .section-title,
.faq .section-title,
.calculator .section-title,
.cta-title,
.footer-title,
.faq .faq-question,
.calculator h3,
.calculator h4,
.stats-section .stat-number {
    color: #0f172a !important;
}

/* Final fix: enforce readable calculator typography on light cards */
.calculator .calculator-inputs h4,
.calculator .calculator-results h4,
.calculator .result-value {
    color: #0f172a !important;
}

/* ========================================
   LANDING OPTIMIZATION (B2B TRUST)
   ======================================== */

.section-description,
.module-description,
.service-description,
.process-description,
.faq-answer p,
.calculator .calculator-cta p,
.calculator .detail-item span,
.footer-description,
.hero-subnote,
.trust-label {
    color: #334155 !important;
}

.case-card .spotlight-content,
.service-card,
.faq-item,
.calculator-card,
.stat-card,
.benefit-item,
.result-card,
.result-details {
    text-align: left !important;
}

.section-header,
.section-header .section-title,
.section-header .section-description {
    text-align: center !important;
}

.hero-dashboard-panel {
    background: rgba(10, 20, 60, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 24px;
    padding: 1.4rem;
    box-shadow: 0 25px 50px -12px rgba(29, 78, 216, 0.35), inset 0 1px 0 rgba(96, 165, 250, 0.12);
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.hero-dashboard-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(37, 99, 235, 0.1);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

.hero-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.hero-dashboard-live {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
        border-color: rgba(16, 185, 129, 0.3);
    }

    50% {
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
        border-color: rgba(16, 185, 129, 0.6);
    }
}

.hero-dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.hero-dashboard-kpis .kpi-card {
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 14px;
    padding: 0.85rem 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-dashboard-kpis .kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(29, 78, 216, 0.25), inset 0 1px 0 rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
}

.hero-dashboard-kpis .kpi-card strong {
    display: block;
    color: #bfdbfe;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.hero-dashboard-kpis .kpi-card span {
    display: block;
    margin-top: 0.3rem;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
}

.hero-chart {
    position: relative;
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 16px;
    background: rgba(10, 25, 70, 0.5);
    box-shadow: inset 0 2px 15px rgba(0, 0, 0, 0.3);
    padding: 1rem 0.8rem 0;
    margin-bottom: 1rem;
    overflow: hidden;
    z-index: 1;
}

.hero-chart::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(96, 165, 250, 0.05);
    background-size: 20px 20px;
    opacity: 0.6;
    pointer-events: none;
}

.hero-chart .chart-line {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 35%;
    height: 2px;
    background: #3b82f6;
    box-shadow: 0 0 10px #60a5fa, 0 0 20px #2563eb;
    transform: rotate(-6deg) scaleX(0);
    transform-origin: left center;
    z-index: 2;
}

.hero-dashboard-panel.animated .hero-chart .chart-line {
    animation: chartLineReveal 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes chartLineReveal {
    0% {
        transform: rotate(-6deg) scaleX(0);
    }

    100% {
        transform: rotate(-6deg) scaleX(1);
    }
}

.hero-chart .chart-bars {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 0.5rem;
    height: 110px;
    position: relative;
    z-index: 1;
}

.hero-chart .chart-bars span {
    height: var(--h);
    border-radius: 6px 6px 0 0;
    background: rgba(59, 130, 246, 0.85);
    box-shadow: 0 -4px 15px -5px rgba(37, 99, 235, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: filter 0.3s ease;
}

.hero-chart .chart-bars span:hover {
    filter: brightness(1.2);
}

.hero-dashboard-panel.animated .hero-chart .chart-bars span {
    animation: chartBarReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-dashboard-panel.animated .hero-chart .chart-bars span:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-dashboard-panel.animated .hero-chart .chart-bars span:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-dashboard-panel.animated .hero-chart .chart-bars span:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-dashboard-panel.animated .hero-chart .chart-bars span:nth-child(4) {
    animation-delay: 0.4s;
}

.hero-dashboard-panel.animated .hero-chart .chart-bars span:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes chartBarReveal {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }
}

.hero-network {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1;
}

.hero-network span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8, 0 0 0 4px rgba(56, 189, 248, 0.2);
    animation: networkPulse 2s infinite alternate ease-in-out;
}

.hero-network span:nth-child(2) {
    animation-delay: 0.4s;
    background: #60a5fa;
    box-shadow: 0 0 10px #60a5fa, 0 0 0 4px rgba(96, 165, 250, 0.2);
}

.hero-network span:nth-child(3) {
    animation-delay: 0.8s;
    background: #818cf8;
    box-shadow: 0 0 10px #818cf8, 0 0 0 4px rgba(129, 140, 248, 0.2);
}

.hero-network span:nth-child(4) {
    animation-delay: 1.2s;
    background: #a78bfa;
    box-shadow: 0 0 10px #a78bfa, 0 0 0 4px rgba(167, 139, 250, 0.2);
}

@keyframes networkPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
        filter: brightness(1.3);
    }
}

.security-first-header {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: #eff6ff;
    color: #1e40af;
    font-weight: 700;
}

.security-benefits .benefit-item {
    border: 1px solid rgba(37, 99, 235, 0.28) !important;
    background: #ffffff !important;
}

.security-benefits .benefit-item:hover {
    border-color: rgba(34, 197, 94, 0.45) !important;
}

.security-benefits .security-icon {
    margin-bottom: 0.6rem;
    color: #2563eb;
    font-size: 1.1rem;
}

.calculator .calculator-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 1.25rem;
    align-items: start;
}

.calculator .calculator-inputs {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    padding: 1.1rem;
}

.calculator .sticky-results {
    position: sticky;
    top: calc(var(--navbar-height, 76px) + 1.25rem);
    background: #0f172a !important;
    border: 1px solid rgba(96, 165, 250, 0.4) !important;
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 24px 40px -28px rgba(15, 23, 42, 0.8);
}

.calculator .sticky-results h4,
.calculator .sticky-results .result-value {
    color: #ffffff !important;
}

.calculator .sticky-results .result-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
}

.calculator .sticky-results .result-label,
.calculator .sticky-results .detail-item span,
.calculator .sticky-results .calculator-cta p {
    color: #cbd5e1 !important;
}

.calculator .sticky-results .detail-item strong {
    color: #f8fafc !important;
}

.calculator .sticky-results .result-icon {
    background: #1d4ed8;
}

.calculator .sticky-results .calculator-cta .btn {
    width: 100%;
    justify-content: center;
}

.tech-stack-proof {
    background: #f8fafc;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    padding: 1.8rem 0;
}

.tech-stack-title {
    text-align: center;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.9rem;
}

.tech-stack-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.7rem;
}

.tech-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    padding: 0.55rem 0.7rem;
    font-weight: 600;
    box-shadow: 0 10px 18px -18px rgba(37, 99, 235, 0.7);
}

.tech-badge i {
    color: #2563eb;
}

@media (max-width: 980px) {
    .calculator .calculator-layout {
        grid-template-columns: 1fr;
    }

    .calculator .sticky-results {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .hero-dashboard-kpis {
        grid-template-columns: 1fr;
    }

    .hero-chart .chart-bars {
        height: 82px;
    }

    .tech-stack-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========================================
   FINAL TUNE: compact calculator layout
   ======================================== */

.calculator {
    padding: clamp(1.55rem, 3.3vw, 2.15rem) 0;
}

.calculator .container {
    max-width: 1120px;
}

.calculator .section-header {
    margin-bottom: clamp(0.8rem, 2vw, 1.2rem);
}

.calculator .calculator-header {
    padding: clamp(0.8rem, 1.8vw, 1.1rem) clamp(0.9rem, 1.8vw, 1.3rem);
}

.calculator .calculator-header h3 {
    margin-bottom: 0.2rem;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.calculator .calculator-header p {
    font-size: 0.98rem;
}

.calculator .calculator-body {
    gap: 0.9rem;
    padding: 0.9rem;
}

.calculator .calculator-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
    gap: 0.9rem;
}

.calculator .calculator-inputs,
.calculator .sticky-results {
    border-radius: 14px;
    padding: 0.9rem;
}

.calculator .calculator-inputs h4,
.calculator .calculator-results h4 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.05rem, 1.55vw, 1.25rem);
}

.calculator .input-group {
    margin-bottom: 0.72rem;
}

.calculator .input-group:last-child {
    margin-bottom: 0;
}

.calculator .input-group label {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.calculator .input-group input[type="number"] {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.calculator .input-group input[type="range"] {
    height: 5px;
}

.calculator .input-group input[type="range"]::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
}

.calculator .input-group input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
}

.calculator .result-cards {
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.calculator .result-card {
    gap: 0.7rem;
    padding: 0.62rem 0.75rem;
}

.calculator .result-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

.calculator .result-value {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.calculator .result-label {
    font-size: 0.72rem;
}

.calculator .result-details {
    padding: 0.62rem 0.75rem;
    margin-bottom: 0.65rem;
}

.calculator .detail-item {
    padding: 0.24rem 0;
    font-size: 0.88rem;
}

.calculator .calculator-cta p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.calculator .sticky-results .calculator-cta .btn {
    padding: 0.68rem 1rem;
    min-height: 44px;
}

@media (max-width: 980px) {
    .calculator .calculator-layout {
        grid-template-columns: 1fr;
    }

    .calculator .calculator-body {
        padding: 0.85rem;
    }
}

/* ========================================
   FINAL TUNE: compact stats cards
   ======================================== */

.stats-section {
    padding: clamp(1.35rem, 3vw, 2rem) 0;
}

.stats-section .stats-grid {
    gap: 0.85rem;
}

.stats-section .stat-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    column-gap: 0.7rem;
    text-align: left;
    padding: clamp(1rem, 2vw, 1.35rem);
    border-radius: 14px;
}

.stats-section .stat-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 10px;
    font-size: 0.95rem;
}

.stats-section .stat-number {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0.35rem;
    font-size: clamp(1.9rem, 3.5vw, 2.4rem);
    line-height: 1.05;
}

.stats-section .stat-text {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.9rem;
    line-height: 1.35;
}

.stats-section .stats-source {
    margin-top: 0.7rem;
}

@media (max-width: 768px) {
    .stats-section .stats-grid {
        gap: 0.65rem;
    }

    .stats-section .stat-card {
        grid-template-columns: 36px 1fr;
        padding: 0.9rem;
    }

    .stats-section .stat-icon {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .stats-section .stat-number {
        font-size: 1.95rem;
    }
}

/* ========================================
   FINAL TUNE: ultra-compact calculator
   ======================================== */

.calculator .calculator-header {
    padding: 0.68rem 0.9rem !important;
}

.calculator .calculator-header h3 {
    font-size: clamp(1.12rem, 1.8vw, 1.45rem) !important;
    margin-bottom: 0.12rem !important;
}

.calculator .calculator-header p {
    font-size: 0.92rem !important;
}

.calculator .calculator-body {
    gap: 0.72rem !important;
    padding: 0.72rem !important;
}

.calculator .calculator-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 350px) !important;
    gap: 0.72rem !important;
}

.calculator .calculator-inputs,
.calculator .sticky-results {
    padding: 0.72rem !important;
}

.calculator .calculator-inputs h4,
.calculator .calculator-results h4 {
    margin-bottom: 0.52rem !important;
    font-size: 1.08rem !important;
}

.calculator .input-group {
    margin-bottom: 0.5rem !important;
}

.calculator .input-group label {
    margin-bottom: 0.2rem !important;
    font-size: 0.84rem !important;
    line-height: 1.2;
}

.calculator .input-group input[type="number"] {
    min-height: 34px;
    padding: 0.34rem 0.62rem !important;
    margin-bottom: 0.14rem !important;
    font-size: 0.95rem !important;
}

.calculator .input-group input[type="range"] {
    height: 4px !important;
    margin: 0 !important;
}

.calculator .input-group input[type="range"]::-webkit-slider-thumb {
    width: 12px !important;
    height: 12px !important;
    box-shadow: none !important;
}

.calculator .input-group input[type="range"]::-moz-range-thumb {
    width: 12px !important;
    height: 12px !important;
    box-shadow: none !important;
}

.calculator .result-cards {
    gap: 0.42rem !important;
    margin-bottom: 0.52rem !important;
}

.calculator .result-card {
    gap: 0.55rem !important;
    padding: 0.5rem 0.62rem !important;
}

.calculator .result-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
}

.calculator .result-value {
    font-size: clamp(1.12rem, 1.7vw, 1.45rem) !important;
}

.calculator .result-label {
    font-size: 0.66rem !important;
}

.calculator .result-details {
    padding: 0.52rem 0.62rem !important;
    margin-bottom: 0.52rem !important;
}

.calculator .detail-item {
    padding: 0.18rem 0 !important;
    font-size: 0.82rem !important;
}

.calculator .calculator-cta p {
    margin-bottom: 0.42rem !important;
    font-size: 0.88rem !important;
}

.calculator .sticky-results .calculator-cta .btn {
    padding: 0.56rem 0.8rem !important;
    min-height: 40px !important;
}

@media (max-width: 980px) {
    .calculator .calculator-layout {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   FINAL TUNE V2: compact left + readable texts
   ======================================== */

.calculator .container {
    max-width: 1080px;
}

.calculator .calculator-layout {
    grid-template-columns: minmax(0, 0.84fr) minmax(300px, 360px) !important;
}

.calculator .calculator-inputs {
    max-width: 100%;
    padding: 0.62rem !important;
}

.calculator .calculator-inputs h4 {
    margin-bottom: 0.45rem !important;
}

.calculator .input-group {
    margin-bottom: 0.42rem !important;
}

.calculator .input-group label {
    font-size: 0.82rem !important;
    margin-bottom: 0.16rem !important;
}

.calculator .input-group label i {
    font-size: 0.92rem;
}

.calculator .input-group input[type="number"] {
    min-height: 32px;
    padding: 0.28rem 0.56rem !important;
    margin-bottom: 0.1rem !important;
    border-radius: 0.75rem;
}

.calculator .input-group input[type="range"] {
    height: 3px !important;
}

.calculator .input-group input[type="range"]::-webkit-slider-thumb {
    width: 11px !important;
    height: 11px !important;
}

.calculator .input-group input[type="range"]::-moz-range-thumb {
    width: 11px !important;
    height: 11px !important;
}

.calculator .sticky-results .result-details {
    background: rgba(248, 250, 252, 0.95) !important;
    border: 1px solid rgba(148, 163, 184, 0.32) !important;
}

.calculator .sticky-results .detail-item span {
    color: #334155 !important;
}

.calculator .sticky-results .detail-item strong {
    color: #0f172a !important;
}

.calculator .sticky-results .detail-item:not(:last-child) {
    border-bottom-color: rgba(148, 163, 184, 0.28) !important;
}

@media (max-width: 980px) {
    .calculator .container {
        max-width: 100%;
    }

    .calculator .calculator-layout {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   FINAL TUNE V3: extra-compact sliders
   ======================================== */

.calculator .input-group input[type="range"] {
    height: 2px !important;
    margin: 0 !important;
}

.calculator .input-group input[type="range"]::-webkit-slider-thumb {
    width: 9px !important;
    height: 9px !important;
    box-shadow: none !important;
}

.calculator .input-group input[type="range"]::-moz-range-thumb {
    width: 9px !important;
    height: 9px !important;
    box-shadow: none !important;
}

.calculator .input-group input[type="number"] {
    margin-bottom: 0.06rem !important;
}

.calculator .input-group {
    margin-bottom: 0.34rem !important;
}

/* ========================================
   NAV ISLAND (Dark Floating Pill)
   ======================================== */

.nav-island {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: min(740px, calc(100vw - 2rem));
    max-width: 95%;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.35rem 1.25rem;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.nav-island .nav-wrapper {
    padding: 0;
    width: 100%;
}

.nav-island .nav-wrapper {
    padding: 0.1rem 0;
}

.nav-island.scrolled {
    background: rgba(15, 23, 42, 0.97);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    top: 0.6rem;
}

/* Fix contrast inside dark navbar */
.nav-island .logo-text {
    color: #ffffff;
}

.nav-island .logo-image {
    width: 28px;
    height: 28px;
}

.nav-island .logo {
    font-size: 1rem;
    gap: 0.5rem;
}

.nav-island .nav-link {
    color: #cbd5e1;
    font-size: 0.8125rem;
}

.nav-island .nav-link:hover {
    color: #ffffff;
}

/* Specific button overrides for dark nav */
.nav-island .btn-primary {
    background: #ffffff;
    color: #0f172a;
    border: none;
    padding: 0.4rem 1.1rem;
    font-size: 0.8125rem;
}

.nav-island .btn-primary:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

/* ========================================
   LANGUAGE DROPDOWN
   ======================================== */

.language-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.02em;
    user-select: none;
}

.lang-current:hover {
    background: rgba(148, 163, 184, 0.25);
    color: #ffffff;
    border-color: rgba(148, 163, 184, 0.4);
}

.lang-current i.fa-chevron-down {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.language-dropdown:hover .lang-current i.fa-chevron-down,
.language-dropdown.open .lang-current i.fa-chevron-down {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(9, 16, 33, 0.97);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 0.35rem;
    min-width: 130px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.97);
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    z-index: 999;
}

.language-dropdown:hover .lang-menu,
.language-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.lang-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.lang-item.active {
    background: rgba(79, 70, 229, 0.25);
    color: #a5b4fc;
}

.lang-item .lang-flag {
    font-size: 1rem;
    line-height: 1;
}

.lang-item .lang-name {
    flex: 1;
}

.lang-item .lang-code {
    font-size: 0.65rem;
    opacity: 0.5;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ========================================
   MOBILE STICKY CTA
   ======================================== */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: var(--spacing-sm);
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid var(--neutral-200);
        z-index: 1000;
        transform: translateY(100%);
        transition: transform var(--transition-base);
        /* Safe Area for iOS */
        padding-bottom: calc(var(--spacing-sm) + env(safe-area-inset-bottom));
    }

    .dark-page .mobile-sticky-cta {
        background: rgba(15, 23, 42, 0.85);
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .mobile-sticky-cta.visible {
        transform: translateY(0);
    }

    .mobile-sticky-cta .btn {
        width: 100%;
        display: flex;
        justify-content: center;
        box-shadow: var(--shadow-md);
    }
}

/* ========================================
   TESTIMONIAL CARD (CASE STUDY INLINE)
   ======================================== */
.testimonial-card {
    position: relative;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: all var(--transition-base);
    z-index: 1;
    /* Ensures text is readable above the quote */
}

.testimonial-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 10rem;
    font-family: Georgia, serif;
    color: rgba(99, 102, 241, 0.08);
    /* Transparent primary color */
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    font-size: var(--font-size-lg);
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    position: relative;
    z-index: 1;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-author::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}

.dark-page .testimonial-card {
    background: rgba(15, 23, 42, 0.4);
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-page .testimonial-text {
    color: #f8fafc;
}

/* ========================================
   SAVINGS QUICK-FORM MODAL
   ======================================== */

.savings-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.savings-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.savings-modal {
    position: relative;
    width: min(440px, calc(100vw - 2rem));
    background: #ffffff;
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow:
        0 32px 64px -20px rgba(15, 23, 42, 0.18),
        0 8px 24px -8px rgba(59, 130, 246, 0.1);
    transform: scale(0.92) translateY(12px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.savings-modal-overlay.active .savings-modal {
    transform: scale(1) translateY(0);
}

.savings-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: rgba(148, 163, 184, 0.12);
    border-radius: 50%;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}

.savings-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.savings-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.savings-modal-icon {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 0.6rem;
    display: block;
}

.savings-modal-header h3 {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.savings-modal-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.savings-modal-subtitle strong {
    color: #2563eb;
    font-size: 1.3rem;
    font-weight: 800;
    display: inline-block;
    margin-left: 0.3rem;
}

.savings-modal-fields {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.savings-modal-form .form-group label {
    color: #1e293b;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: block;
}

.savings-modal-form .form-group input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0.7rem;
    color: #0f172a;
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.savings-modal-form .form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: #ffffff;
}

.savings-modal-form .form-group input::placeholder {
    color: #94a3b8;
}

.savings-modal-note {
    text-align: center;
    color: #94a3b8;
    font-size: 0.78rem;
    margin: 0.75rem 0 0;
    line-height: 1.4;
}

/* Success state */
.savings-modal-success {
    text-align: center;
    padding: 1.5rem 0;
}

.savings-modal-success i {
    font-size: 2.5rem;
    color: #22c55e;
    margin-bottom: 0.75rem;
    display: block;
}

.savings-modal-success p {
    color: #1e293b;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 480px) {
    .savings-modal {
        padding: 1.5rem 1.25rem;
    }
}