/* ===== CUSTOM FONTS ===== */
@font-face {
    font-family: 'Ari Display';
    src: url('../fonts/ari-w9500-display.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Import Inter from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== COLOR VARIABLES ===== */
:root {
    --bg-jet-black: #0A0A0A;
    --fg-mist-white: #F9FAFB;
    --accent-sky-blue: #4DB8FF;
    --accent-dark-red: #DC2626;
    --accent-deep-navy: #0E1A2B;
    --border-iron-gray: #1F2937;
    --text-slate: #94A3B8;
    
    /* Legacy variable names mapped to new colors */
    --accent-neon-lime: #DC2626;
    --accent-electric-aqua: #4DB8FF;
    --accent-hyper-purple: #DC2626;
    --accent-aqua-green: #DC2626;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-jet-black);
    color: var(--fg-mist-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== ARI DISPLAY FONT FOR HEADINGS & LOGO ===== */
h1, h2, h3, h4, h5, h6,
.logo,
.logo-high,
.logo-flow,
.logo-ai,
.hero-title,
.section-title,
.page-title,
.plan-name,
.feature-card h3,
.service-card h3,
.core-product-header h2,
.addon-card-main h3,
.growth-system-card h3,
.system-header h3,
.testimonial-author-preview strong,
.step-content h3,
.use-case-card h3,
.mission-card h3,
.team-member h4,
.why-item h3,
.case-card h3,
.faq-item h4,
.gradient-text {
    font-family: 'Ari Display', 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-iron-gray);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    letter-spacing: -1px;
}

.logo-high {
    color: var(--accent-sky-blue);
}

.logo-flow {
    color: var(--accent-dark-red);
}

.logo-ai {
    color: var(--fg-mist-white);
}

/* ===== SIMPLE DROPDOWN MENU TOGGLE ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-neon-lime);
    transition: all 0.3s;
    border-radius: 2px;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--fg-mist-white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-neon-lime);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-neon-lime);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-nav {
    background: var(--accent-hyper-purple);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    color: var(--fg-mist-white) !important;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background: #9333ea;
    color: var(--fg-mist-white) !important;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent-hyper-purple);
    color: var(--fg-mist-white);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-aqua-green), var(--accent-sky-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    background: #9333ea;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-neon-lime);
    border: 2px solid var(--accent-neon-lime);
    position: relative;
}

.btn-secondary:hover {
    background: rgba(50, 245, 129, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(50, 245, 129, 0.3);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: #000000;
    position: relative;
    overflow: hidden;
    min-height: 45vh;
    display: flex;
    align-items: center;
}

.page-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(77, 184, 255, 0.1) 0%, transparent 60%);
    filter: blur(80px);
    animation: floatLeft 15s ease-in-out infinite;
    z-index: 1;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 60%);
    filter: blur(80px);
    animation: floatRight 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatLeft {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

@keyframes floatRight {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, -50px); }
}

.page-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
    letter-spacing: -2px;
    line-height: 1.1;
}

.logo-text-inline {
    display: inline;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    font-weight: 400;
    line-height: 1.6;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 5rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

/* ===== CTA SECTION - STARS WITH FLOWING BORDER ===== */
.cta-section {
    background: radial-gradient(ellipse at top, #0a0a0a 0%, #000000 100%);
    padding: 6rem 0;
    border-top: 1px solid var(--border-iron-gray);
    border-bottom: 1px solid var(--border-iron-gray);
    position: relative;
    overflow: hidden;
}

/* Flowing border line that goes around entire section */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: 0;
    background: 
        linear-gradient(90deg,
            transparent 0%,
            transparent 20%,
            rgba(77, 184, 255, 0.4) 30%,
            rgba(77, 184, 255, 1) 35%,
            rgba(249, 250, 251, 1) 40%,
            rgba(220, 38, 38, 1) 45%,
            rgba(220, 38, 38, 0.4) 50%,
            transparent 60%,
            transparent 100%
        ) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    background-size: 400% 100%;
    animation: ctaFlowingBorder 12s linear infinite;
    filter: drop-shadow(0 0 10px rgba(77, 184, 255, 0.6));
}

@keyframes ctaFlowingBorder {
    0% {
        background-position: 0% 0%;
    }
    60% {
        background-position: 400% 0%;
    }
    100% {
        background-position: 800% 0%;
    }
}

/* Additional glow accent on corners */
.cta-section::after {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px solid transparent;
    border-radius: 0;
    background: 
        linear-gradient(90deg,
            transparent 0%,
            transparent 25%,
            rgba(77, 184, 255, 0.3) 35%,
            rgba(220, 38, 38, 0.3) 40%,
            transparent 50%,
            transparent 100%
        ) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    background-size: 400% 100%;
    animation: ctaFlowingBorder 12s linear infinite;
    animation-delay: -6s;
    filter: blur(4px);
    opacity: 0.6;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Star field - Multiple layers for depth */
.cta-content::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background-image: 
        /* Large stars (Sky Blue) */
        radial-gradient(circle 3px at 12% 18%, rgba(77, 184, 255, 1) 0%, rgba(77, 184, 255, 0.4) 70%, transparent 100%),
        radial-gradient(circle 3px at 88% 12%, rgba(77, 184, 255, 0.9) 0%, rgba(77, 184, 255, 0.3) 70%, transparent 100%),
        radial-gradient(circle 3px at 25% 75%, rgba(77, 184, 255, 0.95) 0%, rgba(77, 184, 255, 0.35) 70%, transparent 100%),
        radial-gradient(circle 3px at 65% 42%, rgba(77, 184, 255, 0.92) 0%, rgba(77, 184, 255, 0.38) 70%, transparent 100%),
        
        /* Medium stars (White) */
        radial-gradient(circle 2px at 45% 25%, rgba(249, 250, 251, 1) 0%, rgba(249, 250, 251, 0.3) 65%, transparent 100%),
        radial-gradient(circle 2px at 78% 45%, rgba(249, 250, 251, 0.9) 0%, rgba(249, 250, 251, 0.25) 65%, transparent 100%),
        radial-gradient(circle 2px at 35% 55%, rgba(249, 250, 251, 0.85) 0%, rgba(249, 250, 251, 0.3) 65%, transparent 100%),
        radial-gradient(circle 2px at 92% 72%, rgba(249, 250, 251, 0.9) 0%, rgba(249, 250, 251, 0.3) 65%, transparent 100%),
        radial-gradient(circle 2px at 22% 38%, rgba(249, 250, 251, 0.88) 0%, rgba(249, 250, 251, 0.28) 65%, transparent 100%),
        
        /* Small stars (Dark Red accent) */
        radial-gradient(circle 2px at 18% 42%, rgba(220, 38, 38, 0.8) 0%, rgba(220, 38, 38, 0.25) 60%, transparent 100%),
        radial-gradient(circle 2px at 62% 68%, rgba(220, 38, 38, 0.75) 0%, rgba(220, 38, 38, 0.22) 60%, transparent 100%),
        radial-gradient(circle 2px at 82% 28%, rgba(220, 38, 38, 0.7) 0%, rgba(220, 38, 38, 0.2) 60%, transparent 100%),
        radial-gradient(circle 2px at 42% 88%, rgba(220, 38, 38, 0.78) 0%, rgba(220, 38, 38, 0.24) 60%, transparent 100%),
        
        /* Tiny stars (mixed colors) - more of them */
        radial-gradient(circle 1px at 8% 62%, rgba(77, 184, 255, 0.7) 0%, transparent 100%),
        radial-gradient(circle 1px at 52% 15%, rgba(249, 250, 251, 0.8) 0%, transparent 100%),
        radial-gradient(circle 1px at 95% 88%, rgba(220, 38, 38, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1px at 38% 92%, rgba(77, 184, 255, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1px at 68% 8%, rgba(249, 250, 251, 0.7) 0%, transparent 100%),
        radial-gradient(circle 1px at 5% 35%, rgba(220, 38, 38, 0.5) 0%, transparent 100%),
        radial-gradient(circle 1px at 72% 82%, rgba(77, 184, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 1px at 28% 32%, rgba(249, 250, 251, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1px at 58% 58%, rgba(220, 38, 38, 0.55) 0%, transparent 100%),
        radial-gradient(circle 1px at 15% 88%, rgba(77, 184, 255, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1px at 85% 35%, rgba(249, 250, 251, 0.65) 0%, transparent 100%),
        radial-gradient(circle 1px at 32% 65%, rgba(220, 38, 38, 0.52) 0%, transparent 100%),
        radial-gradient(circle 1px at 48% 48%, rgba(77, 184, 255, 0.58) 0%, transparent 100%),
        radial-gradient(circle 1px at 75% 22%, rgba(249, 250, 251, 0.68) 0%, transparent 100%),
        radial-gradient(circle 1px at 18% 12%, rgba(220, 38, 38, 0.54) 0%, transparent 100%),
        radial-gradient(circle 1px at 92% 52%, rgba(77, 184, 255, 0.62) 0%, transparent 100%);
    background-size: 100% 100%;
    animation: ctaStarsFloat 50s ease-in-out infinite, ctaStarsTwinkle 4s ease-in-out infinite;
    opacity: 0.95;
    z-index: -1;
    pointer-events: none;
}

@keyframes ctaStarsFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0);
    }
    25% { 
        transform: translateY(-20px) translateX(10px);
    }
    50% { 
        transform: translateY(-30px) translateX(-8px);
    }
    75% { 
        transform: translateY(-15px) translateX(12px);
    }
}

@keyframes ctaStarsTwinkle {
    0%, 100% { 
        opacity: 0.95;
    }
    50% { 
        opacity: 1;
    }
}

/* Subtle glow using brand colors */
.cta-content::after {
    content: '';
    position: absolute;
    width: 180%;
    height: 180%;
    background: 
        radial-gradient(
            ellipse at 25% 45%, 
            rgba(77, 184, 255, 0.1) 0%, 
            rgba(77, 184, 255, 0.03) 35%,
            transparent 70%
        ),
        radial-gradient(
            ellipse at 75% 55%, 
            rgba(220, 38, 38, 0.08) 0%, 
            rgba(220, 38, 38, 0.02) 35%,
            transparent 70%
        ),
        radial-gradient(
            ellipse at 50% 25%, 
            rgba(249, 250, 251, 0.04) 0%, 
            transparent 60%
        );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ctaAuroraGlow 18s ease-in-out infinite;
    filter: blur(70px);
    z-index: -1;
}

@keyframes ctaAuroraGlow {
    0%, 100% { 
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    25% { 
        opacity: 0.7;
        transform: translate(-48%, -52%) scale(1.08) rotate(90deg);
    }
    50% { 
        opacity: 0.6;
        transform: translate(-52%, -50%) scale(1.04) rotate(180deg);
    }
    75% { 
        opacity: 0.75;
        transform: translate(-50%, -48%) scale(1.06) rotate(270deg);
    }
}

.cta-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #4DB8FF 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: ctaTextShine 4s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(77, 184, 255, 0.3);
}

@keyframes ctaTextShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

/* ===== CTA BUTTON WITH FIXED HOVER ===== */
.cta-section .btn-primary {
    background: linear-gradient(135deg, #4DB8FF 0%, #DC2626 100%);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 10px 40px rgba(77, 184, 255, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Fix the ::before pseudo-element z-index */
.cta-section .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #DC2626 0%, #4DB8FF 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.cta-section .btn-primary:hover::before {
    opacity: 1;
}

.cta-section .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.6);
}

/* Floating particles */
.cta-section .cta-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(77, 184, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: ctaParticleFloat 15s linear infinite;
}

@keyframes ctaParticleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: black;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-iron-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 0.9fr 0.9fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
    align-items: start;
}

/* Unified heading style for all footer columns */
.footer-heading {
    color: var(--fg-mist-white);
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    min-height: 28px;
}

/* Brand column specific */
.footer-col-brand .footer-heading {
    font-family: 'Ari Display', 'Inter', sans-serif;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.footer-col-brand .footer-social-icons {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Footer contact info */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-slate);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-contact-link:hover {
    color: var(--accent-sky-blue);
}

.footer-contact-link .contact-icon {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-col p {
    color: var(--text-slate);
    line-height: 1.7;
    margin-top: 0.5rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li:last-child {
    margin-bottom: 0;
}

.footer-col ul li a {
    color: var(--text-slate);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent-sky-blue);
}

/* Social icons styling */
.footer-social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 184, 255, 0.1);
    border: 1px solid var(--accent-sky-blue);
    border-radius: 8px;
    color: var(--accent-sky-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.footer-social-icons a:hover {
    background: var(--accent-sky-blue);
    color: var(--bg-jet-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(77, 184, 255, 0.4);
}

/* Large footer logo in right column */
.footer-col-logo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
    margin-top: -2.5rem;
}

.footer-logo-large {
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: logoFloat 6s ease-in-out infinite;
}

.footer-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(77, 184, 255, 0.4));
    transition: all 0.3s;
}

.footer-logo-large:hover img {
    filter: drop-shadow(0 0 40px rgba(77, 184, 255, 0.7));
    transform: scale(1.1);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-iron-gray);
    color: var(--text-slate);
}

/* ===== STORY SECTION - BOLD MODERN WITH FLIP CARDS ===== */
.story-section {
    padding: 6rem 0 6rem;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    position: relative;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.story-text {
    position: relative;
}

.story-text h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--fg-mist-white);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.5px;
}

.story-text p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    font-weight: 400;
}

.story-text p:first-of-type {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

/* Flip Cards Container */
.mission-flip-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Flip Card */
.flip-card {
    background: transparent;
    width: 100%;
    height: 200px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.flip-card-front {
    background: linear-gradient(135deg, rgba(77, 184, 255, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 2px solid rgba(77, 184, 255, 0.3);
    box-shadow: 0 8px 32px rgba(77, 184, 255, 0.2);
}

.flip-card-back {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(77, 184, 255, 0.15) 100%);
    border: 2px solid rgba(220, 38, 38, 0.3);
    transform: rotateY(180deg);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.2);
}

.flip-card-front .mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(77, 184, 255, 0.5));
}

.flip-card-front h3 {
    font-size: 1.8rem;
    color: var(--fg-mist-white);
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.flip-card-back p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 400;
}

/* Services CTA Box Inside Story Section */
.services-cta-box-standalone {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 3rem;
    background: linear-gradient(135deg, rgba(77, 184, 255, 0.08) 0%, rgba(220, 38, 38, 0.08) 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    background-clip: padding-box;
    overflow: hidden;
}

.services-cta-box-standalone::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(77, 184, 255, 0.6),
        rgba(220, 38, 38, 0.6),
        rgba(77, 184, 255, 0.6));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: borderFlow 4s linear infinite;
    background-size: 300% 300%;
}

@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.services-cta-box-standalone::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 2%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 2%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 3%);
    animation: sparkle 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.services-cta-box-standalone h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(77, 184, 255, 0.3);
}

.services-cta-box-standalone p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-services-standalone {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #4DB8FF 0%, #DC2626 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 25px rgba(77, 184, 255, 0.4),
        0 0 0 0 rgba(77, 184, 255, 0.5);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    overflow: hidden;
}

.btn-services-standalone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s;
}

.btn-services-standalone:hover::before {
    left: 100%;
}

.btn-services-standalone::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-services-standalone:hover::after {
    width: 300px;
    height: 300px;
}

.btn-services-standalone:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 
        0 15px 40px rgba(220, 38, 38, 0.6),
        0 0 0 6px rgba(77, 184, 255, 0.2);
    background: linear-gradient(135deg, #DC2626 0%, #4DB8FF 100%);
}

.btn-services-standalone:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-services-standalone span {
    position: relative;
    z-index: 2;
}

/* ===== WHY SECTION - BOLD MODERN ===== */
.why-section {
    padding: 10rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.why-item {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 3.5rem 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 0;
    background: linear-gradient(180deg, #4DB8FF, #DC2626);
    transition: height 0.4s ease;
}

.why-item:hover {
    border-color: rgba(77, 184, 255, 0.3);
    background: rgba(77, 184, 255, 0.03);
}

.why-item:hover::before {
    height: 100%;
}

.why-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: -2rem;
    line-height: 1;
    letter-spacing: -4px;
}

.why-item h3 {
    font-size: 1.8rem;
    color: var(--fg-mist-white);
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

.why-item p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    font-size: 1.05rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* ===== FULL WIDTH DROPDOWN MOBILE MENU ===== */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--border-iron-gray);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 999;
    }

    .nav-links.show {
        display: flex;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        font-size: 1.1rem;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-links a::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-heading {
        justify-content: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .page-hero {
        padding: 140px 0 80px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .story-text h2 {
        font-size: 1.4rem;
    }
    
    .story-content {
        gap: 3rem;
    }
    
    .services-cta-box-standalone {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .services-cta-box-standalone h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .services-cta-box-standalone p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-services-standalone {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
}