/* 
   THEME: Deep Black & Neon Green
   STYLE: High-Tech SaaS / Matrix
*/

:root {
    /* Colors */
    --bg-dark: #0a1a15;
    /* More visible forest green tint */
    --bg-darker: #050f0c;
    --bg-card: rgba(15, 35, 30, 0.4);
    --bg-card-hover: rgba(20, 45, 35, 0.6);

    --primary-green: #00DB7C;
    /* The main neon punch */
    --primary-green-dim: #00B365;
    --primary-glow: rgba(0, 219, 124, 0.4);

    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --text-dim: #666666;

    --border-glass: rgba(255, 255, 255, 0.08);
    --border-green: rgba(0, 219, 124, 0.3);

    /* Spacing */
    --container-width: 1200px;
    --section-spacing: 120px;

    /* Font */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Animation */
    --trans-fast: 0.15s ease;
    --trans-smooth: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.btn-primary,
.nav-links a {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto !important;
    padding: 0 clamp(20px, 5vw, 60px);
    /* Coordinated horizontal padding */
}

.max-width-small {
    max-width: 800px;
}

.section-spacing {
    padding: clamp(60px, 10vh, 120px) 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-white {
    color: white;
}

.highlight {
    color: var(--primary-green);
}

/* --- BACKGROUND FX --- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.ambient-glow {
    position: fixed;
    width: clamp(500px, 80vw, 1000px);
    height: clamp(500px, 80vw, 1000px);
    background: radial-gradient(circle, rgba(0, 219, 124, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.glow-1 {
    top: -200px;
    left: 10%;
    filter: blur(80px);
}

.glow-2 {
    bottom: -200px;
    right: 5%;
    filter: blur(80px);
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: #000;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--trans-fast);
    box-shadow: 0 0 15px rgba(0, 219, 124, 0.2);
}

.btn-primary:hover {
    background: var(--primary-green-dim);
    box-shadow: 0 0 25px rgba(0, 219, 124, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 10px 24px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    color: var(--primary-green);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--trans-fast);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

.link-btn {
    font-weight: 500;
    margin-right: 15px;
}

/* --- HEADER --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(80px, 12vh, 100px);
    /* Balanced height - reduced from v3 drastically */
    padding-top: env(safe-area-inset-top);
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    /* Ensure logo isn't clipped */
}

.navbar.scrolled {
    height: clamp(70px, 10vh, 85px);
    /* Slimmer scrolled height */
    background: rgba(15, 15, 15, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.nav-container {
    max-width: var(--container-width);
    /* Match global container width */
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    /* Exactly match .container padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

@media (max-width: 1440px) {
    .nav-container {
        padding: 0 clamp(20px, 3vw, 40px);
        /* Slightly tighter padding on laptop */
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dot {
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    gap: clamp(5px, 1vw, 20px);
    /* Ultra tight gap */
}

.nav-links a {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 1.1vw, 1.15rem);
    /* Larger at top of page */
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* Prevent wrapping */
}

.navbar.scrolled .nav-links a {
    font-size: clamp(0.75rem, 0.9vw, 1rem);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: white;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    width: 32px;
    height: 32px;
}

.menu-toggle i,
.menu-toggle svg {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-toggle .icon-close {
    opacity: 0;
    transform: rotate(-90deg);
}

.menu-toggle .icon-menu {
    opacity: 1;
    transform: rotate(0deg);
}

.navbar.mobile-active .menu-toggle .icon-menu {
    opacity: 0;
    transform: rotate(90deg);
}

.navbar.mobile-active .menu-toggle .icon-close {
    opacity: 1;
    transform: rotate(0deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1200px) {
    .logo-img {
        height: clamp(80px, 18vh, 130px);
    }

    .logo-link {
        width: clamp(140px, 20vw, 240px);
    }
}

@media (max-width: 980px) {
    .logo-img {
        height: clamp(60px, 12vh, 100px);
        /* Very tight scale */
    }

    .logo-link {
        width: clamp(110px, 15vw, 180px);
    }
}

@media (max-width: 880px) {
    .nav-container {
        padding: 0 15px;
        /* Minimum padding */
    }

    .nav-links a {
        font-size: 0.8rem;
    }
}

@media (max-width: 800px) {

    .logo-link {
        width: clamp(100px, 30vw, 160px);
        overflow: hidden;
        z-index: 1;
    }

    .logo-img {
        height: clamp(60px, 10vh, 90px);
        z-index: 1;
    }

    .navbar.scrolled .logo-img {
        height: clamp(55px, 9vh, 80px);
    }

    .menu-toggle {
        display: block;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* Mobile menu items are centered */
        z-index: 1001;
        transition: right 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
        border-left: 1px solid var(--border-glass);
        display: flex !important;
        /* Force flex on mobile to override any display: none */
    }

    .navbar.mobile-active .nav-links {
        right: 0;
    }

    .navbar.mobile-active .logo-link {
        opacity: 0;
        pointer-events: none;
    }

    .nav-actions {
        display: none !important;
    }
}

/* --- HERO --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: clamp(150px, 40vh, 400px);
    padding-bottom: clamp(60px, 10vh, 120px);
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* --- SECONDARY HERO (HOOK) --- */
.secondary-hero .hook-box {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 1) 100%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
}

.hook-title {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--text-muted);
    /* "Stop Chasing..." is muted */
    margin-bottom: 24px;
}

.hook-desc {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 32px;
    max-width: 900px;
    /* Increased from 600px */
    margin-left: auto;
    margin-right: auto;
}

/* --- SERVICES (BENTO) --- */
.section-header {
    text-align: center;
    max-width: 900px;
    /* Increased from 700px */
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4-column system for clean 2x2+1 */
    gap: 24px;
}

.bento-item {
    grid-column: span 2;
    /* Half width by default */
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: clamp(30px, 5vw, 40px);
    transition: var(--trans-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Total Centering */
    justify-content: center;
    text-align: center;
    width: 100%;
}

.bento-item h3 {
    text-align: center;
    /* Headings stay centered for balance */
    width: 100%;
    margin-bottom: 12px;
}

.bento-item p {
    text-align: center;
    /* Center paragraph text */
    width: 100%;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Item 5 (CTA) fills the full width */
.bento-item:nth-child(5) {
    grid-column: span 4;
}

.bento-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(0, 219, 124, 0.1);
    color: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    /* Center-align icon box */
}

/* DFY card styling (span is now handled handled by nth-child above) */
.dfy-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 219, 124, 0.05) 100%);
    border-color: var(--border-green);
    display: flex;
    flex-direction: column;
}

.dfy-content {
    width: 100%;
}

.dfy-card h3 {
    color: var(--primary-green);
    text-align: center;
    font-size: 1.75rem;
}

/* --- CTA STRIP --- */
.strip-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 60px;
    border-radius: 20px;
    border: 1px solid #222;
}

.strip-text {
    font-size: 1.8rem;
    max-width: 65%;
}

/* --- FINAL CTA --- */
.final-cta .cta-box {
    padding: clamp(40px, 10vw, 80px) 20px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.cta-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 30px;
    /* Increased space between rows */
}

.cta-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* --- WHY US --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Balanced columns globally */
    gap: clamp(40px, 8vw, 80px);
    align-items: center;
    justify-items: center;
    /* Center boxes within grid cells */
}

.feature-list {
    margin-top: 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Restore left alignment */
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    /* Better for multi-line text */
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    color: var(--text-main);
    font-size: 1.1rem;
    width: 100%;
    max-width: 500px;
    text-align: left;
}

.feature-list li i,
.feature-list li svg {
    color: var(--primary-green) !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin-top: 5px;
    /* Align with first line of text */
}

/* --- IMAGES --- */
/* --- IMAGES --- */
.logo-link {
    position: relative;
    display: flex;
    /* Switched to flex to center img */
    align-items: center;
    justify-content: center;
    width: clamp(200px, 35vw, 350px);
    /* Balanced width */
    height: clamp(80px, 12vh, 100px);
    /* Matches navbar height */
    overflow: visible;
    z-index: 9999;
}

.logo-img {
    height: clamp(140px, 28vh, 250px);
    /* Slightly bigger and positioned higher */
    width: auto;
    position: relative;
    /* Moved from absolute to stay centered in flex */
    z-index: 9999;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-8px);
}

.navbar.scrolled .logo-img {
    height: clamp(115px, 23vh, 205px);
    /* Balanced scrolled height - proportionally bigger */
}

@media (max-width: 1440px) {
    .logo-img {
        left: 0;
        /* Clear negative offset for all screens up to 1440px */
    }
}

.why-us-img-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.why-us-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.why-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Restore left alignment */
    justify-content: center;
    text-align: left;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.why-content h2,
.why-content h3 {
    text-align: center;
    /* Titles stay centered */
    width: 100%;
}

.why-us-img:hover {
    transform: scale(1.02);
}

.why-action {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder {
    height: 500px;
    background: #0A0A0A;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    /* Add a subtle grid pattern */
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.tech-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--primary-green);
    filter: blur(80px);
    /* The "Growth" blob */
    opacity: 0.2;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* --- HOW IT WORKS (Sticky Scroll Stack) --- */
.process-section {
    position: relative;
    padding: 100px 0;
}

.process-section .section-title {
    position: sticky;
    top: 130px;
    z-index: 102;
    background: transparent;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    transition: opacity 0.3s ease-out;
}

.process-section .section-title::before,
.process-section .section-title::after {
    display: none;
}

.process-steps {
    margin-top: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    position: sticky;
    top: 160px;
    transform: translateY(0);
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 1;
}





.process-step-content {
    background: var(--bg-dark);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: clamp(30px, 8vw, 60px);
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    /* Glass effect only, no external shadows */
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.step-marker {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 24px;
    box-shadow: 0 0 20px rgba(0, 219, 124, 0.3);
}

.step-title {
    text-align: center;
    width: 100%;
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.step-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

.mini-list {
    list-style: none;
    padding: 0;
    margin: 15px auto 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: fit-content;
    max-width: 100%;
}

.mini-list li {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    /* Bullet is now relative to text */
    line-height: 1.5;
    text-align: left;
}

.mini-list li::before {
    content: '•';
    color: var(--primary-green);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* --- FAQ --- */
.accordion {
    margin-top: 40px;
}

.accordion-item {
    border-bottom: 1px solid var(--border-glass);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    text-align: left;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header i {
    color: var(--text-dim);
    transition: 0.3s;
}

.accordion-content {
    height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    padding-right: 40px;
}

.accordion-content p {
    color: var(--text-muted);
    padding-bottom: 24px;
}

.accordion-item.active .accordion-header {
    color: var(--primary-green);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: var(--primary-green);
}

.accordion-item.active .accordion-content {
    height: auto;
}

/* JS will handle pixel height for animation */

/* --- FOOTER --- */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-links a {
    margin-left: 24px;
    color: var(--text-dim);
}

.footer-links a:hover {
    color: var(--text-main);
}

/* --- RESPONSIVE GRIDS --- */
@media (max-width: 1440px) {
    .icon-box {
        margin-left: auto;
        margin-right: auto;
    }

    .split-layout {
        grid-template-columns: 1fr 1fr;
        /* Balance columns on laptop */
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stable 2-column layout for tablets */
    .bento-item,
    .bento-item:nth-child(4) {
        grid-column: span 1;
    }

    .bento-item:nth-child(5) {
        grid-column: span 2;
        /* Full width on tablet */
    }

    .process-step {
        min-height: 50vh;
    }
}

@media (max-width: 800px) {

    .nav-links {
        display: flex !important;
        /* Force flex for mobile layout */
    }

    /* Prevent mobile links from shrinking on scroll */
    .navbar.scrolled .nav-links a,
    .nav-links a {
        font-size: 1.25rem !important;
        color: var(--text-main);
    }
}

@media (max-width: 768px) {
    .bento-item h3 {
        text-align: center;
        /* Heading stays centered */
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: clamp(160px, 38vh, 300px);
        padding-bottom: clamp(30px, 5vh, 60px);
    }

    .hero-content {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .section-title {
        font-size: 2rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item,
    .bento-item:nth-child(4),
    .bento-item:nth-child(5) {
        grid-column: span 1;
        align-items: flex-start;
        /* Restore left alignment on mobile */
        text-align: left;
    }

    .bento-item.dfy-card {
        align-items: center;
        text-align: center;
    }

    .bento-item h3 {
        text-align: center;
        /* Heading stays centered */
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* PERFECTLY CENTER IMAGE ON MOBILE */
        justify-content: center;
    }

    .split-layout .feature-list li {
        justify-content: flex-start;
        width: 100%;
        max-width: 500px;
    }

    .feature-list li {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        justify-content: flex-start;
    }

    .why-content {
        align-items: flex-start;
        /* Maintain readable lists on mobile */
        text-align: left;
    }

    .strip-text {
        max-width: 100%;
        font-size: 1.4rem;
    }

    .process-step {
        padding: 8px;
        min-height: auto;
        top: 172px !important;
    }

    .process-step-content {
        padding: 30px 20px;
    }

    .step-marker {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 12px;
    }
}

/* --- SHORT VIEWPORT OPTIMIZATION --- */
@media (max-height: 800px) {
    .process-section .section-title {
        top: 90px;
    }

    .process-step {
        top: 140px;
        min-height: 40vh;
    }

    .process-step-content {
        padding: 20px 40px;
    }

    .step-marker {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .step-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .mini-list li {
        margin-bottom: 6px;
    }
}

/* --- ANIMATION UTILS --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.25s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.02s;
}

.delay-2 {
    transition-delay: 0.04s;
}

.delay-3 {
    transition-delay: 0.06s;
}

.delay-4 {
    transition-delay: 0.08s;
}

.delay-5 {
    transition-delay: 0.1s;
}