/* ==========================================
   COLOR PALETTE INSPIRED BY NEO-LOGO.PNG & ACCENTS
   ========================================== */
:root {
    --bg-light: #f8fafc;        /* Soft off-white background */
    --card-white: #ffffff;      /* Clean card background */
    --text-dark: #1e293b;       /* Soft dark for high readability */
    --text-muted: #64748b;      /* Softer grey for subtext */
    --deep-blue: #081125;       /* Your logo blue for headers */
    --forest-green: #2d5a27;    /* Your logo green */
    --accent-orange: #f59e0b;   /* Your vibrant action color */
}

/* Base Configuration Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}
    

/* Typography Overrides */
h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

/* ==========================================
   GLOBAL REVEAL & INTERACTION TRANSITIONS
   ========================================== */

   .features-light,
.developer-showcase,
.why-choose-us-flipped {
    padding: 70px 20px !important; /* 70px top & bottom gap, 20px side gap */
}

/* Make it even tighter on mobile phones */
@media (max-width: 768px) {
    .features-light,
    .developer-showcase,
    .why-choose-us-flipped {
        padding: 50px 20px !important;
    }
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Standard Button Components */
.btn-cta {
    display: inline-block;
    background: var(--accent-orange);
    color: white; 
    padding: 14px 32px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: var(--forest-green);
    padding: 14px 32px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-orange);
}

/* ==========================================
   NOTE: Navbar styling (including the hamburger
   show/hide + click-to-open behavior) now lives
   entirely in assets/css/navbar.css, working with
   assets/js/navbar.js. See that file — nothing
   navbar-related belongs in home.css anymore.
   ========================================== */

/* =========================================
   HERO SECTION STYLES
========================================= */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 180vh; /* Takes up the full height of the screen */
    min-height: 140dvh; /* Uses dynamic viewport height where supported, avoiding mobile URL-bar jump */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #ffffff;
}

/* --- Video Background --- */
.hero-section .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills the screen without stretching */
    z-index: 1;
    transform: scale(1.12); /* crops the generator watermark out of view */
    transform-origin: center;
}

/* On mobile, the browser swaps in a dedicated 9:16 clip (see the <source
   media="(max-width: 768px)"> in index.php). That clip is framed correctly
   already, so the desktop watermark-hiding zoom isn't needed here. */
@media (max-width: 768px) {
    .hero-section .hero-video {
        transform: scale(1);
        object-position: center;
    }
}

/* --- Dark Overlay --- */
.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle gradient from darker at the top to slightly lighter at the bottom */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

/* --- Content Wrapper --- */
.hero-section .hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
    padding-top: calc(var(--nav-height, 90px) + 28px); /* clears the fixed glass navbar */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* Consistent spacing between elements */
}

/* --- Modern Glassmorphism Badge --- */
.hero-section .hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px); /* Creates the frosted glass effect */
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* --- Typography (Fluid Scaling) --- */
.hero-section .hero-title {
    /* clamp() makes the font shrink perfectly on mobile and grow on desktop */
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1px;
}

.hero-section .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}

/* --- Call To Action Buttons --- */
.hero-section .hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap; /* Allows buttons to stack on tiny screens */
}

.hero-section a {
    text-decoration: none;
}

.hero-section .btn-primary,
.hero-section .btn-secondary {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease; /* Smooth hover animations */
    display: inline-block;
}

.hero-section .btn-primary {
    background-color: #3b82f6; /* Modern Tech Blue */
    color: #ffffff;
    border: 1px solid #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.hero-section .btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px); /* Lifts button up slightly */
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.hero-section .btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.hero-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* --- Smooth Fade-In Animation --- */
.hero-section .reveal {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Device Adjustments --- */
@media (max-width: 480px) {
    .hero-section .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-section .btn-primary,
    .hero-section .btn-secondary {
        width: 100%; /* Makes buttons full-width for easier tapping on mobile */
        text-align: center;
    }
}
/* =========================================
   FEATURES SECTION (LIGHT & BORDERLESS)
========================================= */
.features-light {
    background-color: #ffffff; /* Pure, clean white */
    padding: 100px 20px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #0f172a; /* Deep slate for maximum readability */
    overflow: hidden;
}

.features-light .features-container {
    max-width: 1100px; /* Slightly narrower to keep text lines readable */
    margin: 0 auto;
}

/* --- Section Header --- */
.features-light .section-header {
    text-align: center;
    margin-bottom: 70px;
}

.features-light .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: #0f172a;
}

/* Crisp blue text gradient for the highlight word */
.features-light .text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-light .section-header p {
    font-size: 1.125rem;
    color: #64748b; /* Soft grey */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Open Grid Layout --- */
.features-light .features-open-grid {
    display: grid;
    /* Creates 2 columns on desktop, 1 on mobile. min() prevents the 350px
       floor from ever exceeding the available width, so it can never
       force horizontal overflow/scrolling on narrow phones. */
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 60px 40px; /* Lots of breathing room between items */
}

/* --- Feature Item (Side-by-side structure) --- */
.features-light .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 24px; /* Space between icon and text */
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: default;
}

/* Subtle background shift on hover to show it's interactive, without a rigid border */
.features-light .feature-item:hover {
    background-color: #f8fafc; 
}

/* --- Floating Icon Circle --- */
.features-light .icon-circle {
    flex-shrink: 0; /* Prevents icon from squishing */
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #eff6ff; /* Very soft blue */
    color: #2563eb; /* Primary blue */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.features-light .icon-circle svg {
    width: 28px;
    height: 28px;
}

/* Icon Animation on Hover */
.features-light .feature-item:hover .icon-circle {
    background-color: #2563eb;
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg); /* Pops up and tilts slightly */
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* --- Typography for Features --- */
.features-light .feature-text {
    flex: 1;
}

.features-light .feature-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #1e293b;
    transition: color 0.3s ease;
}

.features-light .feature-item:hover .feature-text h3 {
    color: #2563eb; /* Title turns blue on hover */
}

.features-light .feature-text p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* --- Simple Reveal Animation --- */
.features-light .reveal {
    opacity: 0;
    animation: fadeUpLight 0.8s ease forwards;
}

@keyframes fadeUpLight {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    .features-light .feature-item {
        flex-direction: column; /* Stacks icon on top of text on tiny screens */
        text-align: center;
        align-items: center;
        gap: 16px;
    }
}
/* =========================================
   DEVELOPER SHOWCASE SECTION
========================================= */
.developer-showcase {
    background-color: #f8fafc; /* Very light slate, soft on the eyes */
    padding: 120px 20px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

.developer-showcase .showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 split on desktop */
    align-items: center;
    gap: 60px;
}

/* --- Left Side: Text & Quote --- */
.developer-showcase .badge-subtle {
    display: inline-block;
    padding: 6px 14px;
    background-color: #eff6ff;
    color: #2563eb;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.developer-showcase h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin: 0 0 30px 0;
    letter-spacing: -1px;
}

.developer-showcase .text-blue {
    color: #2563eb;
}

.developer-showcase .modern-quote {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #475569;
    font-style: italic;
    border-left: 4px solid #2563eb;
    padding-left: 20px;
    margin: 0 0 30px 0;
}

/* Author Info Styling */
.developer-showcase .author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.developer-showcase .author-avatar {
    width: 48px;
    height: 48px;
    background-color: #e2e8f0;
    color: #64748b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.developer-showcase .author-avatar svg {
    width: 24px;
    height: 24px;
}

.developer-showcase .author-details {
    display: flex;
    flex-direction: column;
}

.developer-showcase .author-details strong {
    color: #0f172a;
    font-size: 1.05rem;
}

.developer-showcase .author-details span {
    color: #64748b;
    font-size: 0.9rem;
}

/* --- Right Side: Code Window Mockup --- */
.developer-showcase .showcase-visual {
    position: relative;
    z-index: 1;
}

/* Floating Animation */
.developer-showcase .code-window {
    background-color: #0f172a; /* Dark editor background */
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
    animation: floatCode 6s ease-in-out infinite;
}

@keyframes floatCode {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Window Header (Mac Style Dots) */
.developer-showcase .window-header {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.developer-showcase .window-controls {
    display: flex;
    gap: 8px;
}

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

.developer-showcase .dot.red { background-color: #ff5f56; }
.developer-showcase .dot.yellow { background-color: #ffbd2e; }
.developer-showcase .dot.green { background-color: #27c93f; }

.developer-showcase .window-title {
    flex: 1;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    font-family: monospace;
    margin-right: 44px; /* Offsets the dots to perfectly center the title */
}

/* Code Formatting */
.developer-showcase .window-body {
    padding: 25px;
    overflow-x: auto;
}

.developer-showcase pre {
    margin: 0;
}

.developer-showcase code {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f8fafc;
}

/* Syntax Highlighting Colors */
.developer-showcase .keyword { color: #c678dd; } /* Purple */
.developer-showcase .variable { color: #e06c75; } /* Red/Pink */
.developer-showcase .function { color: #61afef; } /* Blue */
.developer-showcase .string { color: #98c379; } /* Green */
.developer-showcase .comment { color: #5c6370; font-style: italic; } /* Grey */
.developer-showcase .class { color: #e5c07b; } /* Yellow */
.developer-showcase .property { color: #d19a66; } /* Orange */

.developer-showcase .success-output {
    display: block;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    color: #27c93f;
    font-weight: bold;
}

/* Beautiful blue glow behind the code window */
.developer-showcase .window-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(37,99,235,0.4) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    z-index: 1;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .developer-showcase .showcase-container {
        grid-template-columns: 1fr; /* Stacks text on top of code window */
        gap: 40px;
    }
    
    .developer-showcase .showcase-text {
        text-align: center;
    }
    
    .developer-showcase .modern-quote {
        text-align: left; /* Keep quote readable */
        display: inline-block;
    }
    
    .developer-showcase .author-info {
        justify-content: center;
    }
}

/* ===================================================
   WHY CHOOSE US (FLIPPED ASYMMETRICAL LAYOUT)
=================================================== */
.why-choose-us-flipped {
    background-color: #ffffff; /* Crisp modern light theme */
    padding: 120px 20px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #0f172a;
    overflow: hidden;
}

.why-choose-us-flipped .why-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* 45% Video on left, 55% Text content on right for asymmetrical balance */
    grid-template-columns: 45fr 55fr; 
    gap: 80px;
    align-items: center;
}

/* --- LEFT SIDE: Visuals --- */
.why-choose-us-flipped .why-visual-side {
    position: relative;
    width: 100%;
}

.why-choose-us-flipped .video-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.08);
    aspect-ratio: 5/4;
    background-color: #f1f5f9;
}

.why-choose-us-flipped .custom-user-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-choose-us-flipped .video-soft-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

/* Right-Floating Modern Glass Badge */
.why-choose-us-flipped .glass-status-badge {
    position: absolute;
    bottom: 30px;
    right: -25px; /* Floats over the right frame border beautifully */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 14px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

/* Pulsing Active System Indicator */
.why-choose-us-flipped .status-dot-wrapper {
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-us-flipped .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.why-choose-us-flipped .status-badge-text {
    display: flex;
    flex-direction: column;
}

.why-choose-us-flipped .status-badge-text strong {
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 700;
}

.why-choose-us-flipped .status-badge-text span {
    font-size: 0.8rem;
    color: #64748b;
}

/* --- RIGHT SIDE: Content & Stepped Layout --- */
.why-choose-us-flipped .why-header {
    margin-bottom: 45px;
}

.why-choose-us-flipped .section-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
}

.why-choose-us-flipped .why-header h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 18px 0;
    letter-spacing: -1px;
}

.why-choose-us-flipped .brand-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-choose-us-flipped .why-header p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Stepped Metrics Track styling */
.why-choose-us-flipped .stepped-metrics {
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
}

/* Fine vertical accent line tying them together */
.why-choose-us-flipped .stepped-metrics::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 30px;
    bottom: 30px;
    width: 1px;
    background-color: #e2e8f0;
    z-index: 1;
}

.why-choose-us-flipped .step-item {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    position: relative;
    z-index: 2;
}

/* Clean Clean Typography Metrics */
.why-choose-us-flipped .step-number-glow {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 90px;
    height: 50px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hovering turns specific stepped numbers interactive and clean blue */
.why-choose-us-flipped .step-item:hover .step-number-glow {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.why-choose-us-flipped .step-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 10px 0 6px 0;
    color: #0f172a;
    transition: color 0.3s ease;
}

.why-choose-us-flipped .step-item:hover .step-info h4 {
    color: #2563eb;
}

.why-choose-us-flipped .step-info p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* --- Reveal Animation Config --- */
.why-choose-us-flipped .reveal {
    opacity: 0;
    animation: slideUpShow 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpShow {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .why-choose-us-flipped .why-wrapper {
        grid-template-columns: 1fr; /* Stack on tablet / mobile viewports */
        gap: 60px;
    }
    
    .why-choose-us-flipped .glass-status-badge {
        right: 20px; /* Secure badge from clipping out of smaller screens */
    }
}

@media (max-width: 550px) {
    .why-choose-us-flipped .step-item {
        flex-direction: column;
        gap: 12px;
    }
    .why-choose-us-flipped .stepped-metrics::before {
        display: none; /* Hide connector rail on mobile */
    }
    .why-choose-us-flipped .step-number-glow {
        height: 40px;
        width: 80px;
        font-size: 1.25rem;
    }
}
/* =========================================
   CALL TO ACTION (BREAKOUT LAYOUT)
========================================= */
.cta-breakout-section {
    padding: 70px 20px; /* Adjusted spacing to match our global rule */
    background-color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
    z-index: 5;
}

.cta-breakout-section .cta-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    /* This heavy top padding is crucial—it makes room for the image to stick out 
       without covering the section above it */
    padding-top: 100px; 
}

/* --- The Main Rounded Container --- */
.cta-breakout-section .cta-box-modern {
    background-color: #0b1120; /* Deep premium slate/blue */
    border-radius: 32px; /* Very rounded corners, like the reference */
    padding: 100px 40px 60px 40px; /* Heavy top padding so text clears the image */
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- The Breakout Image --- */
.cta-breakout-section .floating-artwork {
    position: absolute;
    /* Pulls the image completely up and out of the box */
    top: -100px; 
    left: 50%;
    transform: translateX(-50%);
    width: 220px; /* Size of the overlapping image */
    height: auto;
    z-index: 10;
    /* Optional: Adds a gentle floating animation */
    animation: floatArtwork 4s ease-in-out infinite;
}

.cta-breakout-section .breakout-img {
    width: 100%;
    height: auto;
    display: block;
    /* Adds a beautiful shadow to the transparent PNG so it looks 3D */
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4)); 
}

@keyframes floatArtwork {
    0%, 100% { transform: translate(-50%, 0px); }
    50% { transform: translate(-50%, -15px); }
}

/* --- Text & Button Content --- */
.cta-breakout-section .cta-content {
    position: relative;
    z-index: 2;
}

.cta-breakout-section .cta-content h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.cta-breakout-section .cta-content p {
    color: #94a3b8;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* --- The Pulse Button --- */
.cta-breakout-section .btn-cta-large {
    display: inline-block;
    background: #2563eb; /* Tech blue */
    color: #ffffff;
    padding: 18px 45px;
    border-radius: 50px; /* Pill shape */
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.cta-breakout-section .btn-cta-large:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.6);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    .cta-breakout-section .cta-box-modern {
        padding: 80px 20px 40px 20px;
        border-radius: 24px;
    }
    
    .cta-breakout-section .floating-artwork {
        width: 150px; /* Shrinks the image on smaller screens */
        top: -75px;
    }
    
    .cta-breakout-section .btn-cta-large {
        width: 100%;
        padding: 16px 20px;
    }
}
/* ==========================================
   7. CORPORATE PARTNERS BAR
   ========================================== */
.partners-section {
    padding: 60px 20px;
    text-align: center;
    background: #040a17;
}

.partners-section h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    margin-bottom: 35px;
}

.partners-track {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

.partners-track img {
    height: 50px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.partners-track img:hover {
    opacity: 0.85;
}

/* =========================================
   TESTIMONIALS SECTION
========================================= */
.testimonial-section {
    background-color: #f8fafc; /* Soft slate/off-white */
    padding: 70px 20px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #0f172a;
}

.testimonial-section .testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Section Header --- */
.testimonial-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-section .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: #020617; /* This makes "What Our" perfectly dark */
}

.testimonial-section .text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-section .section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}



/* --- The Grid --- */
.testimonial-section .testimonial-grid {
    display: grid;
    /* Auto scales: 2 columns on desktop, 1 on mobile. min() keeps the
       320px floor from ever being wider than the viewport itself. */
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 40px;
}

/* --- The Cards --- */
.testimonial-section .testimonial-card {
    background-color: #ffffff; /* Pure white */
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-section .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* Header: Stars & Quote Mark */
.testimonial-section .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.testimonial-section .stars {
    display: flex;
    gap: 4px;
}

.testimonial-section .stars svg {
    width: 18px;
    height: 18px;
}



.testimonial-section .quote-mark {
    font-size: 4rem;
    line-height: 1;
    color: #eff6ff;
    font-family: Georgia, serif;
    margin-top: -10px;
}

/* The Review Text */
.testimonial-section .user-review {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.7;
    margin: 0 0 30px 0;
    flex-grow: 1; /* Pushes the profile info to the bottom evenly */
    font-style: italic;
}

/* --- User Profile & Avatar --- */
.testimonial-section .user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 25px;
}

.testimonial-section .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Different gradient backgrounds for different users */
.testimonial-section .avatar-1 { background: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%); }
.testimonial-section .avatar-2 { background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); }

.testimonial-section .user-meta h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.testimonial-section .user-meta span {
    font-size: 0.85rem;
    color: #64748b;
}

/* --- Reveal Animation --- */
.testimonial-section .reveal {
    opacity: 0;
    animation: fadeUpTestimonial 0.8s ease forwards;
}

@keyframes fadeUpTestimonial {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .testimonial-section .testimonial-card {
        padding: 30px 20px;
    }
}
/* =========================================
   ENTERPRISE CONTACT SECTION (3D IMAGE)
========================================= */
.enterprise-contact-section {
    padding: 70px 20px; /* Matches our updated tighter spacing */
    background-color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.enterprise-contact-section .enterprise-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- The Main Banner --- */
.enterprise-contact-section .enterprise-banner {
    background: linear-gradient(145deg, #0b1120 0%, #1e293b 100%); /* Deep slate/blue gradient */
    border-radius: 32px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    box-shadow: 0 25px 50px -12px rgba(11, 17, 32, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Background Glow Effect */
.enterprise-contact-section .banner-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    transform: rotate(30deg);
    pointer-events: none;
    z-index: 0;
}

/* --- Left Side: Content --- */
.enterprise-contact-section .enterprise-content {
    flex: 1.1;
    position: relative;
    z-index: 2;
}

.enterprise-contact-section .badge-premium {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa; /* Light blue */
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.enterprise-contact-section h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.enterprise-contact-section p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 35px 0;
    max-width: 500px;
}

/* Modern Blue CTA Button */
.enterprise-contact-section .btn-cta-blue {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.enterprise-contact-section .btn-cta-blue:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.5);
}

/* --- Right Side: Unique 3D Visual --- */
.enterprise-contact-section .enterprise-visual {
    flex: 0.9;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

/* Decorative Dot Grid behind the image */
.enterprise-contact-section .tech-dots-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 1;
}

/* The 3D Image Frame Styling */
.enterprise-contact-section .image-3d-frame {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* This creates the unique 3D tilted effect */
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    box-shadow: -25px 25px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Interactive Hover: Snaps the image forward */
.enterprise-contact-section .image-3d-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.enterprise-contact-section .enterprise-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Subtle blue tint over the image */
.enterprise-contact-section .img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

/* --- Mobile Device Adjustments (400px - 960px) --- */
@media (max-width: 960px) {
    .enterprise-contact-section .enterprise-banner {
        flex-direction: column;
        padding: 50px 30px;
        text-align: center;
        gap: 50px;
    }
    
    .enterprise-contact-section p {
        margin: 0 auto 35px auto;
    }
    
    .enterprise-contact-section .enterprise-visual {
        width: 100%;
        justify-content: center;
    }
    
    .enterprise-contact-section .image-3d-frame {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg); /* Disables 3D tilt on smaller screens to save space */
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .enterprise-contact-section .tech-dots-bg {
        top: -15px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .enterprise-contact-section {
        padding: 50px 15px;
    }
    
    .enterprise-contact-section .enterprise-banner {
        padding: 40px 20px;
    }

    .enterprise-contact-section .btn-cta-blue {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }
}
/* =========================================
   FAQ SECTION (SPLIT LAYOUT)
========================================= */
.modern-faq-section {
    padding: 70px 20px;
    background-color: #ffffff; /* Clean white background */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.modern-faq-section .faq-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Left side is slightly smaller than the right */
    gap: 80px;
    align-items: flex-start;
}

/* --- Left Side: Intro --- */
.modern-faq-section .faq-intro {
    position: sticky;
    top: 100px; /* Keeps the text on screen as the user scrolls through long FAQs */
}

.modern-faq-section .faq-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: #eff6ff;
    color: #2563eb;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.modern-faq-section .faq-intro h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.modern-faq-section .faq-intro p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 35px 0;
}

.modern-faq-section .btn-outline-blue {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid #e2e8f0;
    color: #0f172a;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-faq-section .btn-outline-blue:hover {
    border-color: #2563eb;
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* --- Right Side: Accordion --- */
.modern-faq-section .accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.modern-faq-section .accordion-item:first-child {
    border-top: 1px solid #e2e8f0;
}

.modern-faq-section .accordion-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    text-align: left;
    transition: color 0.3s ease;
    font-family: inherit;
}

.modern-faq-section .accordion-question:hover {
    color: #2563eb; /* Turns blue on hover */
}

/* SVG Chevron Animation */
.modern-faq-section .icon-toggle {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s;
}

.modern-faq-section .icon-toggle svg {
    width: 100%;
    height: 100%;
}

.modern-faq-section .accordion-item.active .icon-toggle {
    transform: rotate(180deg);
    color: #2563eb;
}

.modern-faq-section .accordion-item.active .accordion-question {
    color: #2563eb;
}

/* Hidden Answer Section */
.modern-faq-section .accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.modern-faq-section .accordion-answer {
    padding-bottom: 25px;
    padding-right: 40px; /* Prevents text from going directly under the arrow */
}

.modern-faq-section .accordion-answer p {
    margin: 0;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 960px) {
    .modern-faq-section .faq-grid-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .modern-faq-section .faq-intro {
        position: relative;
        top: 0;
        text-align: center;
    }
    
    .modern-faq-section .faq-intro p {
        max-width: 600px;
        margin: 0 auto 30px auto;
    }
}
/* ==========================================
   11. COMPREHENSIVE FOOTER DESIGN
   ========================================== */
.footer {
    background: #030710;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 20px 30px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 320px;
}

.footer-links h5 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* ==========================================
   MOBILE BREAKPOINTS — GENERAL LAYOUT
   ========================================== */

/* Section headers used across several sections */
@media (max-width: 768px) {
    .section-header h2 { font-size: 1.8rem; }
    .section-header p { font-size: 1rem; }
}

/* Partners logo bar */
@media (max-width: 768px) {
    .partners-track { gap: 30px; }
    .partners-track img { height: 22px; }
}

/* FAQ accordion type scale on mobile */
@media (max-width: 768px) {
    .modern-faq-section .accordion-question { font-size: 1rem; padding: 18px 0; }
    .modern-faq-section .accordion-answer { padding-right: 0; }
    .modern-faq-section .accordion-answer p { font-size: 1rem; }
}

/* Footer */
@media (max-width: 768px) {
    .footer { padding: 50px 16px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
}

/* =========================================
   MOBILE FIX: DEVELOPER SHOWCASE
========================================= */

/* Tablet & Mobile Layout Stacking (Under 960px) */
@media (max-width: 960px) {
    .developer-showcase .showcase-container {
        grid-template-columns: 1fr; /* Changes 50/50 split to a single stacked column */
        gap: 50px;
    }
    
    .developer-showcase .showcase-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .developer-showcase .modern-quote {
        text-align: left; /* Keeps the quote legible */
        max-width: 600px;
    }
    
    .developer-showcase .author-info {
        justify-content: center;
        width: 100%;
    }
}

/* Specific Phone Adjustments & Code Overflow Fix (Under 600px) */
@media (max-width: 600px) {
    .developer-showcase .showcase-container {
        padding: 0;
    }

    /* This is the magic fix for the code block breaking the screen width */
    .developer-showcase .code-window {
        width: 100%;
        max-width: calc(100vw - 40px); /* Keeps it inside the screen margins */
    }

    .developer-showcase .window-body {
        padding: 20px 15px;
        overflow-x: auto; /* Enables horizontal swiping INSIDE the code box */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS devices */
    }

    .developer-showcase pre {
        white-space: pre; /* Ensures code doesn't awkwardly wrap */
        min-width: max-content; /* Prevents code from collapsing */
    }

    .developer-showcase h2 {
        font-size: clamp(2rem, 8vw, 2.5rem); /* Scales title down properly for phones */
    }
}
/* =========================================
   PRICING SECTION STYLES
========================================= */
.modern-pricing-section {
    padding: 70px 20px;
    background-color: #f8fafc; /* Very light slate background */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.modern-pricing-section .pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header --- */
.modern-pricing-section .section-header {
    text-align: center;
    margin-bottom: 70px;
}

.modern-pricing-section .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.modern-pricing-section .text-blue {
    color: #2563eb;
}

.modern-pricing-section .section-header p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Pricing Grid --- */
.modern-pricing-section .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 30px;
    align-items: center; /* This allows the middle card to sit taller than the others */
}

/* --- Base Pricing Card --- */
.modern-pricing-section .pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.modern-pricing-section .pricing-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    transform: translateY(-5px);
}

.modern-pricing-section .card-top h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.modern-pricing-section .pricing-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 25px 0;
    min-height: 45px; /* Keeps heights aligned */
}

.modern-pricing-section .price {
    font-size: clamp(2.5rem, 9vw, 3.5rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.modern-pricing-section .price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 5px;
    margin-right: 2px;
    color: #64748b;
}

.modern-pricing-section .price .period {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    align-self: flex-end;
    margin-bottom: 8px;
    margin-left: 5px;
}

/* List Items */
.modern-pricing-section .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1; /* Pushes the button to the bottom evenly */
}

.modern-pricing-section .pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 15px;
}

.modern-pricing-section .check-icon {
    width: 20px;
    height: 20px;
    color: #10b981; /* Success Green */
    flex-shrink: 0;
}

/* Buttons */
.modern-pricing-section .btn-outline-pricing {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    background: transparent;
    color: #0f172a;
    border: 2px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-pricing-section .btn-outline-pricing:hover {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
}

/* --- "Most Popular" Card Override --- */
.modern-pricing-section .popular-card {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: none;
    transform: scale(1.05); /* Makes it slightly larger */
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4);
    z-index: 2;
}

.modern-pricing-section .popular-card:hover {
    transform: scale(1.05) translateY(-5px);
}

.modern-pricing-section .popular-card .card-top h3,
.modern-pricing-section .popular-card .price {
    color: #ffffff;
}

.modern-pricing-section .popular-card .pricing-desc,
.modern-pricing-section .popular-card .price .currency,
.modern-pricing-section .popular-card .price .period,
.modern-pricing-section .popular-card .pricing-features li {
    color: #cbd5e1; /* Lighter text for dark background */
}

.modern-pricing-section .popular-card .check-icon {
    color: #3b82f6; /* Blue checkmarks for the dark card */
}

/* Floating Badge */
.modern-pricing-section .popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.modern-pricing-section .btn-solid-pricing {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    background: #2563eb;
    color: #ffffff;
    border: 2px solid #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-pricing-section .btn-solid-pricing:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* --- Reveal Animation --- */
.modern-pricing-section .reveal {
    opacity: 0;
    animation: fadeUpPricing 0.8s ease forwards;
}

@keyframes fadeUpPricing {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    /* Disable the scale effect on smaller screens so it doesn't break boundaries */
    .modern-pricing-section .popular-card {
        transform: scale(1);
        margin-top: 20px; /* Gives room for the badge */
    }
    
    .modern-pricing-section .popular-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .modern-pricing-section .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-pricing-section .pricing-card {
        padding: 30px 20px;
    }
}

/* ==========================================================
   GLOBAL RESPONSIVE HARDENING — COVERS ALL DEVICE CLASSES
   Phones (320px+), foldables, tablets, laptops, landscape,
   short-height screens. Appended last so it safely overrides
   any earlier fixed sizing without touching desktop layout.
   ========================================================== */

/* --- 0. Baseline overflow safety net --- */
html {
    width: 100%;
    overflow-x: hidden;
}

img, video, svg, iframe {
    max-width: 100%;
}

/* --- 1. Large tablets / small laptops (1024px and down) --- */
@media (max-width: 1024px) {
    .features-light,
    .developer-showcase,
    .why-choose-us-flipped,
    .modern-pricing-section,
    .testimonial-section,
    .enterprise-contact-section,
    .modern-faq-section,
    .cta-breakout-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* --- 2. Tablets / large phones (768px and down) --- */
@media (max-width: 768px) {
    .hero-section {
        min-height: 120vh;
        min-height: 120dvh;
    }

    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
        gap: 1.15rem;
    }

    .features-light,
    .developer-showcase,
    .why-choose-us-flipped,
    .modern-pricing-section,
    .testimonial-section,
    .enterprise-contact-section,
    .modern-faq-section,
    .cta-breakout-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .enterprise-contact-section .enterprise-banner {
        padding: 40px 24px;
    }

    .why-choose-us-flipped .glass-status-badge {
        padding: 10px 14px;
        gap: 10px;
    }
}

/* --- 3. Standard phones (480px and down) --- */
@media (max-width: 480px) {
    .hero-section .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .hero-section .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .features-light .section-header h2,
    .developer-showcase h2,
    .why-choose-us-flipped .why-header h2,
    .modern-pricing-section .section-header h2,
    .testimonial-section .section-header h2,
    .enterprise-contact-section h2,
    .modern-faq-section .faq-intro h2,
    .cta-breakout-section .cta-content h2 {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .developer-showcase .window-body {
        padding: 16px 12px;
    }

    .why-choose-us-flipped .stepped-metrics {
        gap: 24px;
    }

    .testimonial-section .testimonial-card,
    .modern-pricing-section .pricing-card {
        padding: 24px 18px;
    }

    .enterprise-contact-section .enterprise-banner {
        padding: 32px 18px;
        border-radius: 24px;
    }

    .modern-faq-section .accordion-question {
        font-size: 0.95rem;
        gap: 12px;
    }

    .footer-grid {
        gap: 24px;
    }
}

/* --- 4. Very small / narrow phones & folded foldables (e.g. iPhone SE, Galaxy Z Fold folded, 360px and down) --- */
@media (max-width: 380px) {
    .hero-section .hero-title {
        font-size: clamp(1.7rem, 8.5vw, 2.2rem);
        letter-spacing: -0.5px;
    }

    .hero-section .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-section .btn-primary,
    .hero-section .btn-secondary {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    .features-light .icon-circle {
        width: 54px;
        height: 54px;
    }

    .developer-showcase .code-window {
        border-radius: 12px;
    }

    .why-choose-us-flipped .step-number-glow {
        width: 68px;
        height: 36px;
        font-size: 1.05rem;
    }

    .modern-pricing-section .price {
        font-size: clamp(2.1rem, 12vw, 2.6rem);
    }

    .cta-breakout-section .cta-box-modern {
        padding: 70px 16px 32px 16px;
    }

    .cta-breakout-section .floating-artwork {
        width: 120px;
        top: -60px;
    }

    .enterprise-contact-section .btn-cta-blue,
    .modern-faq-section .btn-outline-blue {
        width: 100%;
        text-align: center;
        padding: 14px 16px;
    }
}

/* --- 5. Short-height / landscape phones — prevents the tall hero from pushing content far off-screen --- */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 110px 20px 60px;
    }

    .hero-content {
        padding-top: 0;
        gap: 0.9rem;
    }

    .cta-breakout-section .cta-box-modern {
        padding-top: 80px;
    }
}

/* --- 6. Foldables unfolded / mid-size tablets (e.g. Galaxy Z Fold open, Surface Duo spanned, 600px–900px) --- */
@media (min-width: 600px) and (max-width: 900px) {
    .features-light .features-open-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .testimonial-section .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 7. Large / wide screens — keeps content from feeling lost on ultra-wide monitors --- */
@media (min-width: 1600px) {
    .hero-section .hero-content,
    .features-light .features-container,
    .developer-showcase .showcase-container,
    .why-choose-us-flipped .why-wrapper,
    .modern-pricing-section .pricing-container,
    .testimonial-section .testimonial-container,
    .enterprise-contact-section .enterprise-container,
    .modern-faq-section .faq-grid-container,
    .footer-grid {
        max-width: 1320px;
    }
}