:root {
    --navy-dark: #0f1c2e;
    --navy-light: #1f3a5f;
    --accent-green: #42B883;
    --white: #ffffff;
    --text-gray: #aeb9cc;
     --font-stack: 'Poppins', 'Noto Sans Sinhala', sans-serif; 
}
   
* {  
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-stack);
    background-color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* --- Navigation Bar --- */
.top-nav {
    position: absolute;
    top: 0;
    left: 50%; 
    transform: translateX(-50%); 
    width: 80%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    z-index: 100;
}

/* --- Updated Navigation Layout --- */

.nav-left {
    flex: 1; /* Forces the left side to take up equal space as the right */
    display: flex;
    align-items: center;
}

.nav-left a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: 0.3s;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

/* The small white circles between links */
.nav-left a:not(:last-child)::after {
    content: '';
    width: 4px;
    height: 4px;
    background-color: var(--white);
    border-radius: 50%;
    margin: 0 15px; 
    display: inline-block;
    opacity: 0.5;
}

/* ACTIVE & HOVER STATES */
/* This covers: when hovered, OR when it has the .active class */
.nav-left a:hover, 
.nav-left a.active {
    color: var(--accent-green);
}

/* Dots: Turn green when link is hovered OR active */
.nav-left a:hover::after,
.nav-left a.active::after {
    background-color: var(--accent-green);
    opacity: 1;
}

/* Perfectly Centered Search Area */
.nav-middle {
    flex: 0 0 500px; /* Fixed width: Won't grow or shrink */
    display: flex;
    justify-content: center;
    z-index: 10;
}

/* Ensure the right side also has flex: 1 for balance */
.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.search-container {
    width: 80%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.search-icon-img {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    opacity: 1;
}

.search-container input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    width: 100%;
    font-family: var(--font-stack);
    font-size: 0.9rem;
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-container:focus-within {
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(66, 184, 131, 0.2);
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.user-profile-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid transparent;
    transition: 0.3s ease;
}

.user-icon:hover .user-profile-img {
    border-color: transparent;
    transform: scale(1.1);
}


/* --- Mobile Nav Styles --- */
/* --- Updated Mobile Nav --- */
.mobile-nav {
    display: none; /* Hidden on desktop */
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    height: 60px;
    z-index: 3000;
    padding: 0 20px;
    border-radius: 50px;
    align-items: center;

    /* Start Transparent */
    background: rgba(15, 28, 46, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border: 1px solid transparent;
    
    /* Smooth transition for background and blur */
    transition: all 0.4s ease-in-out; 
}

/* State when scrolling down on mobile */
.mobile-nav.scrolled {
    background: rgba(15, 28, 46, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(66, 184, 131, 0.2); /* Optional: adds a thin green border like your desktop nav */
 }

.mobile-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Perfectly centers logo and icons vertically */
    width: 100%;
    height: 100%;
}

.mobile-left {
    display: flex;
    align-items: center;
}

.mobile-logo {
    height: 32px;
    width: auto;
    display: block; /* Removes baseline spacing */
}
/* Ensure the custom menu png matches the search/user icon sizes */
.menu-icon-img {
    width: 25px; /* Adjust to match your search.png size */
    height: 25px;
    object-fit: contain;
    display: block;
}

/* Optional: If you want the menu icon to have the green accent color 
   and your PNG is black/white, you can use a filter */
.menu-trigger:hover .menu-icon-img {
    filter: drop-shadow(0 0 5px rgba(66, 184, 131, 0.5));
    transform: scale(1.05);
    transition: 0.3s ease;
}
.mobile-right {
    display: flex;
    align-items: center;
    gap: 18px; /* Increased gap for easier tapping */
}

.mobile-icon-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none; /* For the <a> tag profile link */
}

.mobile-icon-btn img {
    width: 22px; /* Standardized icon size */
    height: 22px;
    object-fit: contain;
    opacity: 0.9;
}
 

/* --- Media Query to Switch Navs --- */
@media (max-width: 768px) {
    .top-nav, .scroll-nav {
        display: none !important;
    }

    .mobile-nav {
        display: flex; /* Changed from block to flex for alignment */
    }
    
    .logo-circle {
        margin-top: 100px; /* More breathing room from fixed nav */
        width: 130px;
        height: 130px;
    }

    .hero-text-area h1 {
        font-size: 2.4rem; /* Better fit for mobile screens */
    }
}

/* --- Hero Section --- */
.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--navy-dark);
    overflow: hidden;
    /* This variable will be updated by JS */
    --cursor-x: 50%;
    --cursor-y: 50%;
}


/* Version Badge Styling */
.version-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background:var(--navy-dark); /* Slightly darker background helps the border pop */
    padding: 7px 15px;
    border-radius: 50px;
    margin-bottom: -8px; 
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    overflow: hidden; /* Clips the rotating light to the border */
    border: 1px solid rgba(66, 184, 131, 0.2); /* Base border */
}

/* The Rotating Light Effect */
.version-badge::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 300%;
    background: conic-gradient(
        transparent, 
        rgba(66, 184, 131, 0.8), 
        transparent 30%
    );
    animation: rotate-border 3s linear infinite;
    z-index: -1;
}

/* Inner overlay to keep the center clean */
.version-badge::after {
    content: '';
    position: absolute;
    inset: 1px; /* This creates the 1px border look */
    background: var(--navy-dark);
    border-radius: 50px;
    z-index: -1;
}

.version-badge:hover {
    transform: translateY(-2px);
}

/* Static Green Dot */
.v-pulse {
    width: 6px;
    height: 6px;
    background-color: var(--accent-green, #42b883);
    border-radius: 50%;
    flex-shrink: 0;
}

.v-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-green, #42b883);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* Rotation Animation */
@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@media (max-width: 768px) {
    .v-text {
        font-size: 0.55rem;
    }

    .version-badge {
        padding: 4px 8px;
        margin-bottom: -5px;
        /* Reduce the base border thickness if needed */
        border: 0.5px solid rgba(66, 184, 131, 0.1); 
    }

    /* This targets the inner overlay to make the glow thinner */
    .version-badge::after {
        inset: 0.5px; /* Thinner border look for mobile */
    }

    /* Optional: Slow down or soften the glow for small screens */
    .version-badge::before {
        width: 120%; /* Smaller light source */
        animation-duration: 4s; /* Slower rotation feels less "busy" on mobile */
    }
}


/* Base Blobs (Your original ones kept exactly the same) */
.hero-wrapper::before,
.hero-wrapper::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--navy-light) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.hero-wrapper::before {
    top: -10%;
    left: -10%;
    animation: floating 15s infinite alternate ease-in-out;
}

.hero-wrapper::after {
    bottom: -10%;
    right: -10%;
    animation: floating 20s infinite alternate-reverse ease-in-out;
}

/* NEW: The Cursor Disturbance Blob */
.hero-wrapper::shadow-glow { 
   
}

/* Adding an interactive background layer to the wrapper */
.hero-wrapper {
    background-image: 
        radial-gradient(
            circle at var(--cursor-x) var(--cursor-y), 
            rgba(66, 184, 131, 0.15) 0%, 
            transparent 30%
        );
    transition: background 0.2s ease-out; /* Makes the "kalabima" smooth */
}

@keyframes floating {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30vw, 20vh) scale(1.2); }
    66% { transform: translate(10vw, 50vh) scale(0.8); }
    100% { transform: translate(0, 0) scale(1); }
}

.hero-wrapper > * {
    position: relative;
    z-index: 1;
}

.logo-circle {
    width: 170px;
    height: 170px;
    background: var(--white);
    border-radius: 50%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px auto;
    box-shadow: 0 0 40px rgba(66, 184, 131, 0.3);
    border: 6px solid rgba(66, 184, 131, 0.2);
    animation: pulse 3s infinite ease-in-out;
}

.logo-circle img {
    max-width: 150%;
    height: auto;
}

.main-content {
    text-align: center;
    z-index: 10;
    padding: 20px;
}

.hero-text-area h1 {
    color: var(--white);
    font-size: 3.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-text-area .accent {
    color: var(--accent-green);
    font-weight: 400;
}

.hero-text-area p {
    color: var(--text-gray);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 45px;
    font-weight: 400;
}


.btn-neon {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 45px;
    background: var(--navy-dark); /* Dark background makes the border pop */
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 50px;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    border: 1px solid rgba(66, 184, 131, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* The spinning glow effect */
.neon-trace {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 500%; /* Very tall to ensure it covers the rotation */
    background: conic-gradient(
        transparent, 
        rgba(66, 184, 131, 0.8), 
        transparent 30%
    );
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: rotate-neon 4s linear infinite;
    z-index: -2;
}

/* Inner cover to keep the button center solid */
.btn-neon::before {
    content: '';
    position: absolute;
    inset: 2px; /* This creates the border thickness */
    background: var(--navy-dark);
    border-radius: 48px;
    z-index: -1;
    transition: background 0.3s ease;
}

/* Hover state logic */
.btn-neon:hover {
    color: var(--white);
    transform: translateY(-3px);
 }

.btn-neon:hover::before {
    background: transparent; /* Lightens slightly on hover */
}

.btn-neon:hover .neon-trace {
    animation-duration: 1.5s; /* Speeds up trace on hover */
    background: conic-gradient(
        transparent, 
        var(--accent-green), 
        transparent 40%
    );
}

/* Trace Rotation Animation */
@keyframes rotate-neon {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* --- Animations --- */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* --- Wave Decoration --- */
.wave-container {
    position: absolute;
    bottom: -1px;
    width: 100%;
    line-height: 0;
}

/* --- Mobile Optimization (Tablet & Phone) --- */
@media (max-width: 768px) {
    /* 1. Reduce Hero Spacing */
    .hero-wrapper {
        min-height: 100vh; /* Prevents awkward empty space on short screens */
        padding: 60px 20px;
    }

    /* 2. Scale down the Logo Circle */
    .logo-circle {
        width: 120px;  /* Reduced from 170px */
        height: 120px; /* Reduced from 170px */
        padding: 15px;
        margin-bottom: 20px;
        border-width: 4px;
        margin-top: -40px;
    }

    /* 3. Typography Scaling */
    .hero-text-area h1 {
        font-size: 2.4rem; /* Balanced for mobile width */
        margin-bottom: 8px;
    }

    .hero-text-area p {
        font-size: 1rem; /* Easier to read on mobile */
        line-height: 1.6;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* 4. Button Sizing */
    .btn-neon {
        padding: 14px 35px; /* Slightly slimmer */
        font-size: 1rem;
    }

    /* 5. Wave Height Adjustment */
    .wave-container {
        height: 120px; /* Thinner waves so they don't overlap the button */
    }

    /* 6. Navigation Cleanup */
    .nav-left, .nav-middle { 
        display: none !important; 
    }
}

/* --- Extra Small Devices (Phones < 480px) --- */
@media (max-width: 480px) {
    .hero-text-area h1 {
        font-size: 2rem;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
    }
}
 
/* --- Scroll Down Animation --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px; /* Positioned near the bottom of the hero */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
     cursor: pointer; /* Tells the user they can click this */
    transition: transform 0.3s ease;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #7d7d7d;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    opacity: 0.8;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 2px;
    animation: scroll-wheel 1.6s infinite ease-in-out;
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
}

.arrow span {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-gray);
    border-bottom: 2px solid var(--text-gray);
    transform: rotate(45deg);
    margin: -2px;
    animation: arrow-blink 1.6s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

/* --- Animations --- */
@keyframes scroll-wheel {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

@keyframes arrow-blink {
    0% { opacity: 0; }
    50% { opacity: 0.5; }
    100% { opacity: 0; }
}

/* Responsiveness: Hide or shrink on small screens if it overlaps text */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 15px;
        transform: translateX(-50%) scale(0.8);
    }
}
/* --- Wave Decoration Fix --- */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    height: 250px; 
    pointer-events: none; 
    z-index: 1; 
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%; 
    height: 100%;
    /* Hardware acceleration for buttery smoothness */
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.wave1 {
    /* Using ease-in-out for a more natural "surge" */
    animation: move-wave1 12s ease-in-out infinite;
    z-index: 2; 
    opacity: 0.8;
}

.wave2 {
    /* Different duration and slight scale to break symmetry */
    animation: move-wave2 18s ease-in-out infinite;
    z-index: 1;
    opacity: 1;
    bottom: 5px; 
}

/* Animations using translate3d for GPU performance */
@keyframes move-wave1 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-25%, 2%, 0); } /* Added a tiny Y nudge for verticality */
}

@keyframes move-wave2 {
    0%, 100% { transform: translate3d(-15%, 0, 0); }
    50% { transform: translate3d(0, 3%, 0); }
}

.main-content {
    position: relative;
    z-index: 10;
    text-align: center;
}


 
.container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
 
/* Fix for the body to allow scrolling */
body {
    display: block; /* Changed from flex to block */
    overflow-y: auto;
}


/* --- Floating Pill Navbar Optimized --- */
.scroll-nav {
    position: fixed;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%) translateY(-150%); 
    width: 95%;
    max-width: 1100px;
    height: 70px;
    
    /* Minimal blur for a cleaner, sharper look */
    background: rgba(15, 28, 46, 0.9); 
    backdrop-filter: blur(4px); 
    -webkit-backdrop-filter: blur(4px);
    
    border-radius: 100px; 
    border: 1px solid rgba(66, 184, 131, 0.3); 
     display: flex;
    align-items: center;
    padding: 0 25px;
    z-index: 2000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}
.scroll-nav.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.scroll-nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* LEFT SIDE: Image Logo & Unique Links */
.nav-left-scroll {
    flex: 1.2;
    display: flex;
    align-items: center;
    gap: 35px;
}

.scroll-logo-img {
    height: 42px; /* Precision height for pill nav */
    width: auto;
    display: block;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-left-scroll .nav-links {
    display: flex;
    gap: 25px;
}

.nav-left-scroll .nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-left-scroll .nav-links a:hover {
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(66, 184, 131, 0.4);
}

/* MIDDLE SIDE: Search Bar */
.nav-middle-search {
    flex: 2;
    display: flex;
    justify-content: center;
}

.scroll-search {
    width: 100%;
    max-width: 320px;
        background:#2a3e59!important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50px !important;
    padding: 8px 16px !important;
}

/* RIGHT SIDE: User Profile */
.nav-right-scroll {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.scroll-nav .user-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
     transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    object-fit: cover;
}

.scroll-nav .user-profile-img:hover {
    transform: scale(1.15);
 }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .nav-left-scroll .nav-links { display: none; } 
    .scroll-search { max-width: 200px; }
}

@media (max-width: 768px) {
    .nav-middle-search { display: none; }
    .scroll-nav { width: 92%; padding: 0 15px; }
}


/* =========================================
   AKURAA.LK FOOTER STYLES
   ========================================= */

:root {
    /* Ensuring these match your main theme */
    --footer-bg: #0f1c2e; /* var(--navy-dark) */
    --footer-text: #aeb9cc; /* var(--text-gray) */
    --footer-heading: #ffffff;
    --footer-accent: #42B883; /* var(--accent-green) */
}

.main-footer {
    background: var(--footer-bg);
    position: relative;
    padding-top: 110px; /* Space for the wave */
    padding-bottom: 0;
    color: var(--footer-heading);
    margin-top: 0;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}
/* --- Animated Footer Wave --- */
.footer-wave-container {
    position: absolute;
    top: -1px; /* Fixes tiny gap between sections */
    left: 0;
    width: 100%;
    height: 150px; /* Adjusted height for footer transition */
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}

.f-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%; /* Required for the horizontal slide */
    height: 100%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.f-wave1 {
    animation: footer-move-wave1 15s ease-in-out infinite;
    opacity: 0.7;
    z-index: 1;
}

.f-wave2 {
    animation: footer-move-wave2 10s ease-in-out infinite;
    opacity: 1;
    z-index: 2;
}

/* Specific Keyframes for Footer (Inverted movement) */
@keyframes footer-move-wave1 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-25%, -5%, 0); } /* Added slight Y lift */
}

@keyframes footer-move-wave2 {
    0%, 100% { transform: translate3d(-15%, 0, 0); }
    50% { transform: translate3d(0, -8%, 0); }
}

/* Adjusting the main footer to ensure content sits above waves */
.main-footer {
    padding-top: 160px; /* Increased to account for taller animated waves */
    z-index: 2;
}

.footer-container {
    position: relative;
    z-index: 10; /* Ensures links remain clickable */
}
/* --- Footer Layout Container --- */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

/* --- Column Styling --- */
.footer-col h4 {
    font-size: 1.1rem;
    color: var(--footer-heading);
    margin-bottom: 25px;
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 35px;
    height: 3px;
    background: var(--footer-accent);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--footer-accent);
    transform: translateX(5px);
}

/* --- Brand Section --- */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.footer-logo img {
    height: 45px;
    width: auto;
}
.footer-logo span {
    font-size: 1.8rem; 
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.5px; 
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}
.footer-logo .accent {
    color: var(--footer-accent);
    font-weight: 300;
}

.brand-col p {
    color: var(--footer-text);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* --- Social Icons --- */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--footer-accent);
    color: var(--footer-bg);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(66, 184, 131, 0.3);
}

 

.trust-box p {
    font-size: 0.88rem;
    color: var(--footer-text);
    line-height: 1.6;
    margin: 0;
}

.trust-box p strong {
    color: var(--footer-accent);
    display: block;
    margin-bottom: 4px;
    font-weight: 500; 
}

/* --- Bottom Copyright Area --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr; /* 2x2 on tablets */
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .main-footer {
        padding-top: 90px;
    }

    .footer-content {
        grid-template-columns: 1fr; /* Single column on phones */
        text-align: center;
        gap: 40px;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-col ul li a:hover {
        transform: none; /* Disable slide effect on mobile for better tap feel */
    }
}/* --- Unique Logo Circle Container --- */
.ak-logo-circle {
    width: 55px;
    height: 55px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevents shrinking in flex layouts */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Soft shadow for depth */
    transition: transform 0.3s ease;
    padding: 8px; /* Space between logo and circle edge */
}

 
/* Unique Logo Image Styles */
.ak-footer-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Ensure the logo text aligns nicely with the new circle */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px; /* Slightly increased gap for better breathing room */
}

/* =========================================
   AKURAA.LK HOW IT WORKS & SECURITY
   ========================================= */

.features-section {
    background: #ffffff;
    padding: 120px 0;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: start;
}

/* --- Section Title Design with Shapes --- */
.section-title {
    position: relative;
    display: inline-block; 
    padding: 0 40px;      
    font-size: 2.2rem;
    color: var(--navy-dark);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) skewX(-15deg); 
    width: 12px;
    height: 45px;
    background-color: var(--accent-green);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) skewX(-15deg);
    width: 12px;
    height: 45px;
    background-color: var(--accent-green);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .section-title {
    font-size: 1.5rem !important; 
        padding: 0 30px;
    }
    .section-title::before, 
    .section-title::after {
        height: 35px;
        width: 6px;
    }
}
/* --- Device Switcher Pill --- */
.device-switcher {
    display: inline-flex;
    gap: 8px;
    background: #f0f2f5;
    padding: 6px;
    border-radius: 50px;
    margin-bottom: 40px;
    border: 1px solid rgba(15, 28, 46, 0.05);
}

.switch-btn {
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    background: transparent;
    color: var(--navy-light);
    font-weight: 500;
    font-size: 0.9rem;
    font-family: var(--font-stack);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch-btn.active {
    background: var(--navy-dark);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(15, 28, 46, 0.15);
}

/* --- Device View Logic --- */
.device-view {
    display: none;
    opacity: 0;
    transform: translateY(15px);
}

.device-view.active {
    display: block;
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Keyboard Shortcuts (kbd) --- */
.shortcut-strip {
    margin: 12px 0 18px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

kbd {
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.2), 0 0 0 2px #fff inset;
    color: #333;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 2px 8px;
    white-space: nowrap;
    font-family: Arial, sans-serif;
}

.shortcut-strip span {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-right: 12px;
}

/* --- Steps Vertical Timeline --- */
.steps-container {
    position: relative;
    padding-left: 20px;
}

/* Desktop line placement */
.step-path-line {
    position: absolute;
    left: 35px; /* Centers under the 50px icon */
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-green) 0%, #f0f2f5 100%);
    z-index: 1;
}

.step-card {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 25px;
    border-radius: 24px;
}

.step-indicator {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(66, 184, 131, 0.15);
}

.step-indicator i, .step-num {
    color: var(--accent-green);
    font-weight: 700;
}

.step-content h4 {
    font-size: 1.25rem;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.step-content p {
    color: #556070;
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Privacy Card Modern --- */
.flex-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.verified-badge {
    background: rgba(66, 184, 131, 0.1);
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(66, 184, 131, 0.2);
}

.privacy-card-modern {
    background: #ffffff;
    padding: 40px;
    border-radius: 40px;
    border: 2px solid rgba(15, 28, 46, 0.05);
     display: flex;
    flex-direction: column;
}

.privacy-item {
    display: flex;
    gap: 20px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f2f5;
}

.privacy-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.p-icon-box {
    width: 52px;
    height: 52px;
    background: #f8faff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: 0.3s;
}

.p-icon-box i { color: var(--navy-light); font-size: 1.3rem; }

.p-text h4 { color: var(--navy-dark); font-size: 1.15rem; margin-bottom: 4px; }
.p-text p { color: #667085; font-size: 0.95rem; line-height: 1.6; }

/* --- Mobile Optimization (The Fix) --- */
@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
    }

    .section-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .device-switcher {
        display: flex;
        justify-content: center;
        margin: 0 auto 30px auto;
    }

    /* Steps Mobile Overhaul */
    .steps-container {
        padding-left: 0;
    }

    .step-path-line {
        display: none;
    }

    .step-card {
        padding: 15px;
        gap: 15px;
        margin-bottom: 20px;
        background: rgba(15, 28, 46, 0.02); /* Subtle card look for mobile */
    }

    .step-indicator {
        width: 44px;
        height: 44px;
    }

    .step-content h4 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    kbd {
        font-size: 0.7rem;
        padding: 2px 5px;
    }

    /* Privacy Mobile Overhaul */
    .flex-title {
        flex-direction: column;
        gap: 10px;
    }

    .privacy-card-modern {
        padding: 30px 20px;
        border-radius: 25px;
    }

    .p-icon-box {
        width: 44px;
        height: 44px;
    }

    .trust-footer {
        margin-top: 15px;
        padding: 15px;
        border-radius: 15px;
    }

    .stat-val { font-size: 1rem; }
    .stat-lbl { font-size: 0.65rem; }
}

@media (max-width: 480px) {
    .step-card {
        flex-direction: column; /* Stack icons on tiny screens */
        align-items: flex-start;
        padding-left: 40px;
    }
    
    .step-indicator {
        position: absolute;
        left: 0;
        top: 15px;
    }

    .step-path-line {
        left: 22px;
    }
}




/* --- Gesture Card Specifics --- */
.gesture-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Space between gesture items */
}

.gesture-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    background: rgba(66, 184, 131, 0.03); /* Very light green tint */
    border-radius: 12px;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.gesture-list li:hover {
    background: rgba(66, 184, 131, 0.08);
    border-color: rgba(66, 184, 131, 0.2);
    transform: translateX(5px);
}

.gesture-icon {
    width: 32px;
    height: 32px;
    background: var(--navy-dark);
    color: var(--accent-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gesture-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #475467;
}

.gesture-text b {
    color: var(--navy-dark);
    display: block; /* Moves the description to a new line slightly */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.gesture-text span {
    color: #556070;
}

/* --- Mobile Fix for Gesture Card --- */
@media (max-width: 768px) {
    .gesture-card {
        padding: 20px 15px !important;
    }
    
    .gesture-list li {
        padding: 12px;
        background: #f8faff; /* Slightly different color for mobile visibility */
    }
    
    .gesture-icon {
        width: 38px; /* Slightly larger for touch visibility */
        height: 38px;
    }
}
.privacy-sub-note {
    margin-top: 30px;
    padding: 15px 20px;
    background: rgba(66, 184, 131, 0.05); /* Very faint green tint */
    border: 1px solid rgba(66, 184, 131, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left; /* Better for readability with icons */
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.privacy-sub-note:hover {
    background: rgba(66, 184, 131, 0.08);
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.note-icon-wrap {
    width: 35px;
    height: 35px;
    background: var(--white);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(66, 184, 131, 0.1);
    animation: icon-pulse 2s infinite;
}

.note-content {
    font-size: 0.85rem;
    color: #556070;
    line-height: 1.5;
}

.note-content b {
    color: var(--navy-dark);
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

/* Suble Pulse Animation */
@keyframes icon-pulse {
    0% { box-shadow: 0 0 0 0 rgba(66, 184, 131, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(66, 184, 131, 0); }
    100% { box-shadow: 0 0 0 0 rgba(66, 184, 131, 0); }
}

/* --- Mobile Fix --- */
@media (max-width: 768px) {
    .privacy-sub-note {
        margin-top: 20px;
        padding: 12px 15px;
        flex-direction: row; /* Keep icon and text side-by-side */
        width: 100%;
        gap: 12px;
    }
    
    .note-content {
        font-size: 0.8rem;
    }
}












/* --- Features Highlights Section --- */
.features-highlights {
    padding: 120px 0;
    background: #fdfdfd; 
    position: relative;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 70px auto;
    text-align: center;
}
/* --- Main Section Title Design with Shapes --- */
.section-title-main {
    position: relative;
    display: inline-block; 
    padding: 0 45px;       
    font-size: 2.8rem;
    color: var(--navy-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
}

/* වම් පස හැඩතලය */
.section-title-main::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) skewX(-15deg);
    width: 14px;
    height: 55px;
    background-color: var(--accent-green);
    border-radius: 3px;
}

/* දකුණු පස හැඩතලය */
.section-title-main::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) skewX(-15deg);
    width: 14px;
    height: 55px;
    background-color: var(--accent-green);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .section-title-main {
        font-size: 1.5rem !important; 
        padding: 0 55px;
    }
    
    .section-title-main::before, 
    .section-title-main::after {
        height: 35px;
        width: 7px;
    }
}

.section-subtitle {
    color: #667085;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 15px;
}

/* --- Professional Card Styling --- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card-pro {
    background: var(--navy-dark);
    padding: 50px 40px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* The Animated Hover Glow */
.card-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(66, 184, 131, 0.15) 0%, 
                transparent 60%);
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
}

.highlight-card-pro:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(66, 184, 131, 0.4);
    box-shadow: 0 30px 60px rgba(15, 28, 46, 0.25);
}

.highlight-card-pro:hover .card-glow {
    opacity: 0;
}

/* --- Icon & Content --- */
.card-icon-wrap {
    margin-bottom: 30px;
}

.icon-circle {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(66, 184, 131, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

.icon-circle i {
    font-size: 1.8rem;
    color: var(--accent-green);
    filter: drop-shadow(0 0 8px rgba(66, 184, 131, 0.4));
}

.highlight-card-pro:hover .icon-circle {
    background: var(--accent-green);
    transform: rotateY(180deg);
}

.highlight-card-pro:hover .icon-circle i {
    color: var(--navy-dark);
}

.highlight-card-pro h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight-card-pro p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* --- Decorative Tags --- */
.char-preview-tag, .font-tags, .ai-badge {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.char {
    background: rgba(66, 184, 131, 0.1);
    color: var(--accent-green);
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'Noto Sans Sinhala', sans-serif;
    border: 1px solid rgba(66, 184, 131, 0.2);
}

.font-tags span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

.ai-badge {
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 600;
    align-items: center;
    gap: 8px;
}

 /* =========================================
   AKURAA.LK MOBILE HIGHLIGHTS OPTIMIZATION
   ========================================= */

@media (max-width: 768px) {
    /* 1. Reduce Section Spacing */
    .features-highlights {
        padding: 60px 20px; /* Reduced from 120px */
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* 2. Scale Down Main Title & Subtitle */
    .section-title-main {
        font-size: 1.8rem; /* Scaled down from 2.8rem */
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.95rem; /* Better fit for mobile */
        margin-top: 10px;
    }

    /* 3. Collapse Grid to Single Column */
    .highlights-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 20px; /* Tightened gap */
    }

    /* 4. Optimize Cards for Mobile */
    .highlight-card-pro {
        padding: 30px 25px; /* Reduced padding from 50px 40px */
        border-radius: 24px; /* Slightly smaller radius */
        min-height: auto; /* Allow content to dictate height */
    }

    /* 5. Icon Size Reduction */
    .icon-circle {
        width: 50px; /* Scaled down from 65px */
        height: 50px;
        border-radius: 12px;
    }

    .icon-circle i {
        font-size: 1.3rem; /* Scaled down from 1.8rem */
    }

    .card-icon-wrap {
        margin-bottom: 20px;
    }

    /* 6. Typography Inside Cards */
    .highlight-card-pro h3 {
        font-size: 1.25rem; /* Balanced for mobile */
        margin-bottom: 10px;
    }

    .highlight-card-pro p {
        font-size: 0.9rem; /* Clean body text */
        line-height: 1.6;
        margin-bottom: 20px;
    }

    /* 7. Tags and Badges Scaling */
    .char-preview-tag, .font-tags {
        gap: 8px;
    }

    .char {
        padding: 4px 10px;
        font-size: 0.8rem;
    }

    .font-tags span {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .ai-badge {
        font-size: 0.75rem;
    }

    /* Disable heavy hover effects on mobile to save performance */
    .highlight-card-pro:hover {
        transform: translateY(-5px); /* Subtle lift instead of large scale */
    }
}






/* --- Audience Section Base --- */
.audience-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

/* 4-Column Grid for Professional Feel */
.audience-grid-pro {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.audience-card-pro {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 28px;
    border: 1px solid #f0f2f5;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Small active indicator dot */
.card-status-dot {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 8px;
    height: 8px;
    background: #e0e4eb;
    border-radius: 50%;
    transition: 0.3s;
}

.audience-card-pro:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
    box-shadow: 0 30px 60px rgba(15, 28, 46, 0.08);
}

.audience-card-pro:hover .card-status-dot {
    background: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green);
}

/* --- Icon Box Design --- */
.audience-icon-box {
    width: 60px;
    height: 60px;
    background: #f8faff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: 0.4s;
}

.audience-icon-box i {
    font-size: 1.5rem;
    color: var(--navy-light);
}

.audience-card-pro:hover .audience-icon-box {
    background: var(--navy-dark);
}

.audience-card-pro:hover .audience-icon-box i {
    color: var(--accent-green);
}

/* --- Content Typography --- */
.audience-card-pro h3 {
    font-size: 1.2rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.audience-card-pro p {
    font-size: 0.92rem;
    color: #667085;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- Benefit List Styling --- */
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    border-top: 1px solid #f0f2f5;
    padding-top: 20px;
}

.benefit-list li {
    font-size: 0.85rem;
    color: var(--navy-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.benefit-list li i {
    color: var(--accent-green);
    font-size: 0.9rem;
}

/* --- Tag Styling --- */
.audience-tag {
    margin-top: auto;
    display: inline-block;
    width: fit-content;
    background: #f0f2f5;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--navy-light);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.audience-card-pro:hover .audience-tag {
    background: rgba(66, 184, 131, 0.1);
    color: var(--accent-green);
}

/* =========================================
   AKURAA.LK MOBILE AUDIENCE OPTIMIZATION
   ========================================= */

@media (max-width: 768px) {
    /* 1. Section & Container Adjustments */
    .audience-section {
        padding: 60px 20px; /* Reduced from 120px */
    }

    /* 2. Grid Reset: Stack cards vertically */
    .audience-grid-pro {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
        margin-top: 40px;
    }

    /* 3. Card Centering & Padding */
    .audience-card-pro {
        padding: 30px 25px;
        text-align: center; /* Center align all text */
        align-items: center; /* Center align flex items */
        border-radius: 24px;
    }

    /* 4. Icon Box Scaling */
    .audience-icon-box {
        width: 55px;
        height: 55px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .audience-icon-box i {
        font-size: 1.3rem;
    }

    /* 5. Typography Size Reductions */
    .audience-card-pro h3 {
        font-size: 1.15rem; /* Scaled for mobile */
        margin-bottom: 12px;
    }

    .audience-card-pro p {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    /* 6. Centering the Benefit List */
    .benefit-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Center the list items */
        padding-top: 15px;
        margin-bottom: 20px;
    }

    .benefit-list li {
        font-size: 0.8rem;
        justify-content: center; /* Center the icons and text horizontally */
        width: 100%;
    }

    /* 7. Tags & Status Dot */
    .audience-tag {
        font-size: 0.7rem;
        padding: 5px 14px;
        margin: 0 auto; /* Center the tag pill */
    }

    .card-status-dot {
        top: 15px;
        right: 15px; /* Keep it subtle in the corner */
    }
}

/* Fix for Tablet Landscape (2x2 Grid) */
@media (min-width: 481px) and (max-width: 768px) {
    .audience-grid-pro {
        grid-template-columns: repeat(2, 1fr); /* 2x2 layout for tablets */
    }
}







/* --- Details Section Tech Polish --- */
.details-section {
    padding: 120px 0;
    background: #ffffff;
}

.details-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.detail-card-tech {
    background: #ffffff;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid #f2f4f7;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.detail-card-tech:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(15, 28, 46, 0.06);
    border-color: var(--accent-green);
}

/* --- Card Top Header --- */
.detail-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.tech-icon {
    width: 55px;
    height: 55px;
    background: #f8faff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--navy-dark);
    transition: 0.3s;
}

.detail-card-tech:hover .tech-icon {
    background: var(--accent-green);
    color: white;
}

/* Badges */
.tech-badge, .tech-badge-live {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-badge { background: #f2f4f7; color: #475467; }
.tech-badge-live { background: rgba(66, 184, 131, 0.1); color: var(--accent-green); }

/* --- Stats Row --- */
.detail-stat-row {
    display: flex;
    gap: 30px;
    background: #f9fafb;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy-dark);
}

.stat-lbl {
    font-size: 0.75rem;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Content & List --- */
.detail-card-tech h3 {
    font-size: 1.35rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.detail-card-tech p {
    font-size: 0.95rem;
    color: #475467;
    line-height: 1.6;
    margin-bottom: 25px;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.spec-list li {
    font-size: 0.88rem;
    color: var(--navy-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.spec-list li i {
    color: var(--accent-green);
    font-size: 0.8rem;
}
/* =========================================
   AKURAA.LK MOBILE TECH DETAILS OPTIMIZATION
   ========================================= */

@media (max-width: 768px) {
    /* 1. Section Spacing */
    .details-section {
        padding: 60px 20px;
    }

    /* 2. Stack Grid Vertically */
    .details-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    /* 3. Card Compactness */
    .detail-card-tech {
        padding: 30px 20px;
        border-radius: 25px;
        text-align: center; /* Center content for better focus */
        align-items: center;
    }

    /* 4. Top Header Alignment */
    .detail-top {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }

    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* 5. Stat Row Optimization (Crucial for Mobile) */
    .detail-stat-row {
        width: 100%;
        justify-content: center; /* Center the stats */
        gap: 20px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .stat-val {
        font-size: 1rem; /* Slightly smaller numbers */
    }

    .stat-lbl {
        font-size: 0.65rem;
    }

    /* 6. Typography scaling */
    .detail-card-tech h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .detail-card-tech p {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    /* 7. Specification List Alignment */
    .spec-list {
        display: inline-block; /* Allows list to stay centered as a block */
        text-align: left; /* Keep text left-aligned inside the centered block */
        width: fit-content;
    }

    .spec-list li {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
}



/* --- Pro Tools Section --- */
.pro-tools-section {
    padding: 120px 0;
    background: #ffffff;
    border-top: 1px solid #f2f4f7;
}

/* Creating a "Seamless" Grid */
.pro-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
    background: #f2f4f7; /* This acts as the border color */
    gap: 1px; 
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #f2f4f7;
}

.pro-card-minimal {
    background: #ffffff;
    padding: 50px 35px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pro-card-minimal:hover {
    background: #fcfdfe;
    z-index: 5;
    box-shadow: inset 0 0 0 1px var(--accent-green);
}

/* --- Icon Design --- */
.pro-icon-container {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: 0.3s ease;
}

.pro-icon-container i {
    font-size: 1.8rem;
    color: var(--navy-light);
    opacity: 0.8;
}

.pro-card-minimal:hover .pro-icon-container {
    transform: translateY(-5px);
}

.pro-card-minimal:hover .pro-icon-container i {
    color: var(--accent-green);
    opacity: 1;
}

/* --- Typography --- */
.pro-card-minimal h4 {
    font-size: 1.15rem;
    color: var(--navy-dark);
    font-weight: 700;
    margin-bottom: 12px;
}

.pro-card-minimal p {
    font-size: 0.9rem;
    color: #667085;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* --- Small Tool Label --- */
.tool-label {
    margin-top: auto;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-gray);
    text-transform: uppercase;
}

.pro-card-minimal:hover .tool-label {
    color: var(--accent-green);
}

/* =========================================
   AKURAA.LK MOBILE PRO-TOOLS OPTIMIZATION
   ========================================= */

@media (max-width: 768px) {
    /* 1. Reduce overall section padding */
    .pro-tools-section {
        padding: 60px 20px;
    }

    /* 2. Responsive Grid: 2 columns for better screen usage */
    .pro-grid-modern {
        grid-template-columns: repeat(2, 1fr); 
        margin-top: 40px;
        border-radius: 20px;
    }

    /* 3. Compact Card Design */
    .pro-card-minimal {
        padding: 30px 20px; /* Reduced from 50px 35px */
        text-align: center;
        align-items: center;
        min-height: 220px; /* Ensure uniform height in the 2x2 grid */
    }

    /* 4. Icon & Text Scaling */
    .pro-icon-container {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }

    .pro-icon-container i {
        font-size: 1.4rem; /* Scaled down from 1.8rem */
    }

    .pro-card-minimal h4 {
        font-size: 1rem; /* Compact heading */
        margin-bottom: 8px;
    }

    .pro-card-minimal p {
        font-size: 0.8rem; /* Reduced for scannability */
        line-height: 1.4;
        margin-bottom: 15px;
        display: -webkit-box; /* Optional: limits text to 3 lines to keep cards equal */
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 5. Tool Label Scaling */
    .tool-label {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
}

/* Extra Small Devices (Vertical stack) */
@media (max-width: 480px) {
    .pro-grid-modern {
        grid-template-columns: 1fr; /* Single column for narrow phones */
    }
    
    .pro-card-minimal {
        min-height: auto;
        padding: 40px 20px;
    }

    .pro-card-minimal p {
        -webkit-line-clamp: unset; /* Show full text on 1-column layout */
    }
}


/* --- Trust & Stats Section --- */
.stats-section {
    padding: 80px 0;
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
}

/* Background Decoration */
.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(66, 184, 131, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
}

/* --- Stat Card Styling --- */
.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon-bg {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(66, 184, 131, 0.2);
}

.stat-icon-bg i {
    font-size: 1.5rem;
    color: var(--accent-green);
    filter: drop-shadow(0 0 5px rgba(66, 184, 131, 0.4));
}

/* --- Typography --- */
.stat-number {
    font-size: 2.2rem;
    color: var(--white);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-number .plus, 
.stat-number .percent {
    color: var(--accent-green);
    margin-left: 2px;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 400;
    letter-spacing: 0.3px;
}
/* =========================================
   AKURAA.LK MOBILE STATS OPTIMIZATION
   ========================================= */

@media (max-width: 768px) {
    /* 1. Adjust Section Padding */
    .stats-section {
        padding: 50px 0; /* Reduced from 80px */
    }

    /* 2. Realign Grid to 2 Columns (or 1 for small phones) */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 layout looks best on mobile */
        gap: 30px 15px; /* Vertical gap 30px, Horizontal 15px */
        padding: 0 10px;
    }

    /* 3. Center All Card Content */
    .stat-card {
        flex-direction: column; /* Stack Icon on top of Text */
        text-align: center; /* Center all text */
        gap: 15px; /* Space between icon and numbers */
        padding: 10px;
        justify-content: center;
    }

    /* 4. Scale Down Icon Background */
    .stat-icon-bg {
        width: 50px; /* Scaled down from 60px */
        height: 50px;
        border-radius: 14px;
        margin: 0 auto; /* Ensure it's centered in the flex column */
    }

    .stat-icon-bg i {
        font-size: 1.2rem; /* Scaled down from 1.5rem */
    }

    /* 5. Reduce Text Sizes */
    .stat-number {
        font-size: 1.6rem; /* Scaled down from 2.2rem for better fit */
        margin-bottom: 4px;
    }

    .stat-desc {
        font-size: 0.75rem; /* Compact description */
        line-height: 1.4;
        max-width: 140px; /* Prevents text from stretching too wide */
        margin: 0 auto;
    }
}

/* 6. Extra Small Devices (Portrait Phones) */
@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: 1fr; /* Single column for very narrow screens */
        gap: 40px;
    }
    
    .stat-number {
        font-size: 1.8rem; /* Slightly larger since it has more room in 1 column */
    }
}


/* --- Version Modal Styles --- */
.v-modal-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none; /* Toggle with JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.v-modal-container.active {
    display: flex;
    opacity: 1;
}

.v-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 28, 46, 0.85); /* var(--navy-dark) with opacity */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.v-modal-content {
    position: relative;
    background: var(--navy-dark);
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    border: 1px solid rgba(66, 184, 131, 0.3); /* Accent Green Border */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
                0 0 20px rgba(66, 184, 131, 0.1);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.v-modal-container.active .v-modal-content {
    transform: translateY(0);
}

/* Header Section */
.v-modal-header {
    background: rgba(66, 184, 131, 0.05);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.v-modal-header i {
    font-size: 1.5rem;
    color: var(--accent-green);
    filter: drop-shadow(0 0 5px rgba(66, 184, 131, 0.4));
}

.v-modal-header h3 {
    color: var(--white);
    font-size: 1.3rem;
    flex: 1;
    margin: 0;
}

.v-close-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s;
}

.v-close-btn:hover {
    color: var(--accent-green);
    transform: rotate(90deg);
}

/* Body Section */
.v-modal-body {
    padding: 25px;
    color: var(--text-gray);
}

.v-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.v-label { color: var(--text-gray); }
.v-value { color: var(--white); font-weight: 500; }

hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 20px 0;
}

.v-modal-body h4 {
    color: var(--accent-green);
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scrollable Description */
.v-description {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-green) transparent;
}

/* Custom Scrollbar for Chrome/Safari */
.v-description::-webkit-scrollbar { width: 4px; }
.v-description::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 10px;
}

/* Footer Section */
.v-modal-footer {
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.2);
    text-align: right;
}

.v-btn-ok {
    background: var(--accent-green);
    color: var(--navy-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-family: var(--font-stack);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%; /* Better for mobile touch */
}

.v-btn-ok:hover {
    box-shadow: 0 0 15px rgba(66, 184, 131, 0.4);
    transform: translateY(-2px);
}

/* --- Mobile Adjustments --- */
@media (max-width: 480px) {
    .v-modal-content {
        max-width: 100%;
        border-radius: 30px 30px 0 0; /* Bottom sheet look */
        position: fixed;
        bottom: 0;
        transform: translateY(100%);
    }

    .v-modal-container.active .v-modal-content {
        transform: translateY(0);
    }
    
    .v-description {
        max-height: 40vh; /* Adjust height based on screen */
    }
}

/* --- Version Modal Styles --- */
.v-modal-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none; /* Toggle with JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.v-modal-container.active {
    display: flex;
    opacity: 1;
}

.v-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 28, 46, 0.85); /* var(--navy-dark) with opacity */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.v-modal-content {
    position: relative;
    background: var(--navy-dark);
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    border: 1px solid rgba(66, 184, 131, 0.3); /* Accent Green Border */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
                0 0 20px rgba(66, 184, 131, 0.1);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.v-modal-container.active .v-modal-content {
    transform: translateY(0);
}

/* Header Section */
.v-modal-header {
    background: rgba(66, 184, 131, 0.05);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.v-modal-header i {
    font-size: 1.5rem;
    color: var(--accent-green);
    filter: drop-shadow(0 0 5px rgba(66, 184, 131, 0.4));
}

.v-modal-header h3 {
    color: var(--white);
    font-size: 1.3rem;
    flex: 1;
    margin: 0;
}

.v-close-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s;
}

.v-close-btn:hover {
    color: var(--accent-green);
    transform: rotate(90deg);
}

/* Body Section */
.v-modal-body {
    padding: 25px;
    color: var(--text-gray);
}

.v-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.v-label { color: var(--text-gray); }
.v-value { color: var(--white); font-weight: 500; }

hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 20px 0;
}

.v-modal-body h4 {
    color: var(--accent-green);
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scrollable Description */
.v-description {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-green) transparent;
}

/* Custom Scrollbar for Chrome/Safari */
.v-description::-webkit-scrollbar { width: 4px; }
.v-description::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 10px;
}

/* Footer Section */
.v-modal-footer {
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.2);
    text-align: right;
}

.v-btn-ok {
    background: var(--accent-green);
    color: var(--navy-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-family: var(--font-stack);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%; /* Better for mobile touch */
}

.v-btn-ok:hover {
    box-shadow: 0 0 15px rgba(66, 184, 131, 0.4);
    transform: translateY(-2px);
}

/* --- Mobile Adjustments --- */
@media (max-width: 480px) {
    .v-modal-content {
        max-width: 100%;
        border-radius: 30px 30px 0 0; /* Bottom sheet look */
        position: fixed;
        bottom: 0;
        transform: translateY(100%);
    }

    .v-modal-container.active .v-modal-content {
        transform: translateY(0);
    }
    
    .v-description {
        max-height: 40vh; /* Adjust height based on screen */
    }
}


 