/* Landing Page CSS (Light Mode) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent: #0071e3;
    --accent-glow: rgba(0, 113, 227, 0.2);
    --surface: #f5f5f7;
    --surface-hover: #e8e8ed;
    --border: #d2d2d7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.landing-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, background 0.3s ease, padding 0.3s ease, height 0.3s ease;
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    /* Almost solid */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* User requested 90px */
    height: 90px;
    transition: height 0.3s ease, background 0.3s ease;
    gap: 2rem;
}

/* Remove height/padding changes on scroll */
.landing-nav.scrolled .nav-content {
    /* Shrink to tight fit */
    height: 70px;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    flex: 1;
    /* Occupy left space */
    min-width: 200px;
    /* Ensure space for logo+text */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 90px;
    /* Fixed large size */
    width: auto;
    display: block;
    /* No transition needed for height as it is fixed */
    mix-blend-mode: multiply;
    /* Make white background transparent */
}

/* Remove logo shrinking rule entirely */
.landing-nav.scrolled .logo-img {
    height: 90px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    /* Restored spacing for text links */
    justify-content: center;
    align-items: center;
    flex: 2;
    /* Occupy center space */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    /* Occupy right space */
    justify-content: flex-end;
    /* Align button to right */
}

.nav-links a {
    color: #1d1d1f;
    /* Darker, more obvious */
    text-decoration: none;
    font-size: 18px;
    /* Fixed integer pixel value for stability */
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    /* For pseudo-element */
    padding-bottom: 8px;
    /* Increased space for line */
    white-space: nowrap;
    /* Prevent text wrapping */
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    /* Start at 0 width */
    height: 2px;
    bottom: 0;
    left: 50%;
    /* Center start */
    background-color: #0071e3;
    transform: translateX(-50%) translateZ(0);
    /* Force GPU & Center */
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backface-visibility: hidden;
    /* Prevent flickering */
    -webkit-font-smoothing: antialiased;
    will-change: width;
    /* Optimize rendering */
}

.nav-links a:hover {
    color: #0071e3;
    /* Accent color on hover */
}

.nav-links a:hover::after {
    width: 100%;
    /* Expand to full width */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    /* Push links to center */
    justify-content: flex-end;
    /* Align button to right */
}

/* ========================================
   HERO SECTION STYLES
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    /* Account for fixed header */
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

/* ========================================
   MOBILE NAVIGATION STYLES
   ======================================== */

/* Hamburger Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.hamburger-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: #1d1d1f;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger-line:nth-child(1) {
    margin-bottom: 5px;
}

.hamburger-line:nth-child(3) {
    margin-top: 5px;
}

/* Hamburger Animation when active */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hide hamburger when menu is open (we have close button inside) */
.hamburger-btn.active {
    opacity: 0;
    pointer-events: none;
}

/* Mobile Navigation Header (inside slide-out) */
.mobile-nav-header {
    display: none;
}

/* Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
}

/* Close Button */
.close-nav-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: #1d1d1f;
    transition: background-color 0.2s ease;
}

.close-nav-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Show hamburger on mobile */
    .hamburger-btn {
        display: flex;
    }

    /* Hide nav-actions on mobile */
    .nav-actions {
        display: none;
    }

    /* Logo adjustments */
    .logo {
        font-size: 1.4rem;
        flex: none;
    }

    /* Nav content adjustments */
    .nav-content {
        padding: 1rem 1.25rem;
        min-height: 70px;
    }

    .landing-nav.scrolled .nav-content {
        min-height: 56px;
        padding: 0.5rem 1.25rem;
    }

    /* Slide-out Navigation Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 0;
        z-index: 1000;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    /* Mobile Nav Header */
    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        background: linear-gradient(135deg, rgba(0, 113, 227, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    }

    .mobile-nav-title {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 1.25rem;
        font-weight: 600;
        color: #1d1d1f;
    }

    .close-nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Navigation Links Styling */
    .nav-links a {
        display: flex;
        align-items: center;
        padding: 18px 24px;
        font-size: 1.1rem;
        font-weight: 500;
        color: #1d1d1f;
        text-decoration: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.2s ease;
        position: relative;
    }

    .nav-links a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #0071e3;
        transform: scaleY(0);
        transition: transform 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(0, 113, 227, 0.05);
        color: #0071e3;
        padding-left: 28px;
    }

    .nav-links a:hover::before,
    .nav-links a:active::before {
        transform: scaleY(1);
    }

    /* Remove underline animation on mobile */
    .nav-links a::after {
        display: none;
    }

    /* Show overlay on mobile */
    .nav-overlay {
        display: block;
        pointer-events: none;
    }

    .nav-overlay.active {
        pointer-events: auto;
    }
}

/* Extra small screens */
@media (max-width: 375px) {
    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        width: 90%;
    }

    .nav-links a {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .mobile-nav-header {
        padding: 16px 20px;
    }
}

.nav-link-item {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-glass {
    padding: 1rem 2rem;
    /* Bigger button */
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.7);
    /* Lighter glass background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Subtle border initially */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-glass:hover {
    background: white;
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.15);
    /* Blueish shadow */
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(0, 113, 227, 0.3);
    /* Accent border on hover */
    color: #0071e3;
    /* Accent color on hover */
}

/* Base Layout */
main {
    width: 100%;
    overflow: hidden;
}

section {
    position: relative;
    padding: 120px 20px;
    width: 100%;
}

h1,
h2,
h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1d1d1f;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 150px;
}

.ambient-bg {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(0, 113, 227, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1d1d1f;
    opacity: 0;
}

.hero .hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    opacity: 0;
}

/* Hero Value Proposition Block */
.hero-value-block {
    max-width: 100%;
    margin: 0 auto 2.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1s ease-out 1.2s forwards;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-value-block .value-opening {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-weight: 400;
    opacity: 1;
    max-width: none;
}

.hero-value-block .value-opening strong {
    color: var(--accent);
    font-weight: 600;
}

.hero-value-block .value-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    opacity: 1;
    max-width: none;
}

.hero-value-block .value-highlight {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 1;
    max-width: none;
}

.hero-value-block .highlight-text {
    font-weight: 700;
    background: linear-gradient(135deg, #0071e3, #34aadc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Signal / Bullet Items */
.value-signals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.signal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    background: rgba(0, 113, 227, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(0, 113, 227, 0.08);
    transition: all 0.3s ease;
}

.signal-item:hover {
    background: rgba(0, 113, 227, 0.08);
    border-color: rgba(0, 113, 227, 0.15);
    transform: translateX(4px);
}

.signal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, #0071e3, #34aadc);
    border-radius: 8px;
    color: white;
    font-size: 0.8rem;
}

.signal-item>span:last-child {
    font-size: 0.92rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
}

/* Closing Phrases */
.value-closing {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.closing-phrase {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 4px;
}

.closing-phrase::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0071e3, #34aadc);
    border-radius: 2px;
    opacity: 0.5;
}

.hero-value-block .value-cta-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 1;
    max-width: none;
    margin-bottom: 0;
}

.hero-value-block .value-cta-text em {
    color: var(--accent);
    font-style: italic;
    font-weight: 500;
}

/* Mobile Responsive for Value Block */
@media (max-width: 768px) {
    .hero-value-block {
        margin: 0 1rem 2rem;
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
    }

    .value-signals {
        grid-template-columns: 1fr;
    }

    .value-closing {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .hero-value-block .value-opening,
    .hero-value-block .value-body,
    .hero-value-block .value-highlight,
    .hero-value-block .value-cta-text {
        font-size: 0.95rem;
    }
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
}

.btn-primary {
    padding: 1rem 2.5rem;
    border-radius: 99px;
    background: #0071e3;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #0077ed;
    box-shadow: 0 10px 25px rgba(0, 113, 227, 0.3);
}

/* Button Helper for Navbar */
.nav-links .nav-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    background: #0071e3;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border: none;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 113, 227, 0.1);
}

.nav-links .nav-btn:hover {
    background: #0077ed;
    box-shadow: 0 6px 15px rgba(0, 113, 227, 0.25);
    transform: translateY(-1px);
    color: white;
}

/* Header button mobile adjustment */
@media (max-width: 768px) {
    .nav-links .nav-btn {
        margin: 16px 24px;
        width: calc(100% - 48px);
        justify-content: center;
        padding: 14px 20px;
        border-radius: 14px;
        font-size: 1.05rem;
    }

    .nav-links .nav-btn:hover {
        padding-left: 20px !important;
        /* Prevent shift */
    }
}

.scroll-banner {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 8rem;
    /* More breathing room per user request */
    overflow: hidden;
    position: relative;
    padding-top: 10px;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.banner-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
    padding-top: 5px;
}

/* Pause on hover for better UX */
.banner-track:hover {
    animation-play-state: paused;
}

.banner-item {
    width: 300px;
    height: 280px;
    flex-shrink: 0;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    color: inherit !important;
}

.banner-card {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 15px 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.banner-icon {
    width: 30px;
    height: 30px;
    min-height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-bottom: 6px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.banner-card:hover .banner-icon {
    transform: scale(1.1);
}

.banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.banner-card span,
.banner-card .banner-title {
    font-size: 0.75rem;
    color: #1d1d1f;
    font-weight: 600;
    text-align: center;
    display: block;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    width: 100%;
    min-height: 20px;
    line-height: 1.2;
    flex-shrink: 0;
}

.banner-card .banner-desc {
    font-size: 0.8rem;
    color: #555;
    text-align: justify;
    line-height: 1.5;
    margin: 0;
    padding: 0 8px;
    flex-grow: 1;
    display: block !important;
    visibility: visible !important;
    overflow: visible;
}

.banner-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 150s linear infinite;
    padding-top: 5px;
    padding-right: 2rem;
    /* Match the gap to allow seamless 50% shift */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Shift by exactly half (one full set of items + one gap) */
        transform: translateX(-50%);
    }
}

@keyframes scroll-tablet {
    0% {
        transform: translateX(0);
    }

    100% {
        /* 6 items * (260px Width + 16px Gap) = 1656px */
        transform: translateX(-1656px);
    }
}

@keyframes scroll-mobile {
    0% {
        transform: translateX(0);
    }

    100% {
        /* 6 items * (260px Width + 16px Gap) = 1656px */
        transform: translateX(-1656px);
    }
}

/* Mobile Responsive Banner */
@media (max-width: 768px) {
    .scroll-banner {
        margin-top: 1.5rem;
        padding-top: 8px;
    }

    .banner-track {
        gap: 1rem;
        animation: scroll-tablet 40s linear infinite;
    }

    .banner-item {
        width: 260px;
        height: 340px;
    }

    .banner-card {
        padding: 15px 12px;
        border-radius: 14px;
        overflow: visible;
        justify-content: flex-start;
    }

    .banner-icon {
        width: 30px;
        height: 30px;
        min-height: 30px;
        font-size: 0.9rem;
        margin-bottom: 6px;
        border-radius: 8px;
    }

    .banner-card span,
    .banner-card .banner-title {
        font-size: 0.75rem;
        min-height: 20px;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    .banner-card .banner-desc {
        font-size: 0.75rem;
        line-height: 1.4;
        padding: 0 5px;
        overflow: hidden !important;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 7;
        line-clamp: 7;
        -webkit-box-orient: vertical;
    }
}

@media (max-width: 480px) {
    .banner-track {
        animation: scroll-mobile 40s linear infinite;
    }

    .banner-item {
        width: 260px;
        height: 340px;
    }

    .banner-card {
        padding: 12px 10px;
        overflow: visible;
    }

    .banner-icon {
        width: 28px;
        height: 28px;
        min-height: 28px;
        font-size: 0.85rem;
    }

    .banner-card span,
    .banner-card .banner-title {
        font-size: 0.7rem;
        min-height: 18px;
    }

    .banner-card .banner-desc {
        font-size: 0.7rem;
        overflow: hidden !important;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 8;
        line-clamp: 8;
        -webkit-box-orient: vertical;
    }
}

/* Features Section (Cuberto Style on Light) */
.features {
    background: #fbfbfd;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.feature-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 32px;
    padding: 3rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-visual {
    height: 300px;
    background: radial-gradient(circle at center, rgba(0, 113, 227, 0.05) 0%, transparent 70%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Tech Elements */
.tech-circle {
    width: 150px;
    height: 150px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: absolute;
    animation: spin 10s linear infinite;
}

.tech-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-glow);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .feature-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    /* Conflicting rule removed
    .banner-item {
        width: 200px;
        height: 140px;
    }
    */
}

/* App Styles (Light Theme) */
.page-container {
    max-width: 1000px;
    margin: 120px auto 60px;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.page-header h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    /* Bigger to match homepage Hero */
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1d1d1f 0%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.3;
}

/* Enhanced Background Glow */
.bg-glow {
    position: fixed;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(0, 113, 227, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.analysis-block {
    background: white;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
}

.analysis-block:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 113, 227, 0.15);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 16px;
    background: #f5f5f7;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 16px;
    padding: 0 16px;
    /* Vertical padding handled by line-height/height */
    padding-right: 48px;
    /* For arrow */
    font-size: 1.05rem;
    color: #1d1d1f;
    width: 100%;
    height: 56px;
    line-height: 54px;
    /* Align text vertically */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Specific override for homepage selection dropdowns */
#selection-hub .card {
    border: 1px solid var(--accent);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#selection-hub .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.custom-select-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    width: 100%;
    height: 56px;
    padding: 0 16px;
    padding-right: 40px;
    /* Space for arrow */
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #1d1d1f;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    border: 1px solid #d2d2d7 !important;
    /* Force visible border */
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

/* Custom Multi Select Dropdown */
.multi-select-container {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.select-display {
    width: 100%;
    height: 56px;
    background: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 16px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    color: #86868b;
    /* Default placeholder color */
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.multi-select-container.active .select-display {
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2);
}

.select-display .arrow-icon {
    transition: transform 0.3s ease;
}

.multi-select-container.active .arrow-icon {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.multi-select-container.active .select-options {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    padding: 10px 0;
    overflow-y: auto;
}

.select-option {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.95rem;
    color: #1d1d1f;
}

.select-option:hover {
    background: #f5f5f7;
}

.select-option input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #0071e3;
    cursor: pointer;
}

.form-control::placeholder {
    color: #a1a1a6;
}

/* Result Grid */
.result-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Stats Overview */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.stat-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Bottom Glow */
.bg-glow-bottom {
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Footer Styles */
.site-footer {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 20px 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1d1d1f;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.footer-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-list strong {
    color: #444;
}

/* Center Columns alignment */
.center-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center-col h3 {
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-footer-primary {
    background-color: #0066cc;
    color: white;
    padding: 12px 24px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s;
    margin-bottom: 2rem;
    display: inline-block;
}

.btn-footer-primary:hover {
    background-color: #0055aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f5f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #e8e8ed;
    color: #1d1d1f;
    transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-details {
    margin: 1rem 0;
    color: #1d1d1f;
}

.contact-email {
    color: #0066cc;
    text-decoration: none;
}

.contact-email:hover {
    text-decoration: underline;
}

.footer-phone {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-phone:hover {
    color: #0071e3;
    text-decoration: underline;
}

.footer-address {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-address:hover {
    color: #0071e3;
    text-decoration: underline;
}

/* Follow Section specific */
.follow-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    max-width: 250px;
}

.whatsapp-title {
    margin-top: 1rem;
}

.whatsapp-btn {
    display: inline-block;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #f5f5f7;
    color: #999;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-col,
    .center-col {
        align-items: center;
        text-align: center;
    }

    .footer-list li {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    #selection-hub .grid-container {
        grid-template-columns: 1fr !important;
    }
}

/* Floating Buttons */
.float-buttons {
    position: fixed;
    bottom: 50px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    color: white;
    padding: 0;
    line-height: 1;
}

.float-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-float {
    background-color: #25D366;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
}

.back-to-top {
    background-color: #0071e3;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Footer Link Hover */
.footer-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-link:hover {
    color: #0071e3;
    border-bottom-color: #0071e3;
}

/* CRITICAL: Force banner description visibility */
.scroll-banner .banner-track .banner-item .banner-card .banner-desc,
.scroll-banner .banner-track .banner-item .banner-card p.banner-desc,
p.banner-desc {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #555 !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 10px 0 0 0 !important;
    padding: 5px !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Fix header overlap on anchor scroll */
#selection-hub {
    scroll-margin-top: 100px;
}

/* Contact Us Section Styles */
.contact-section .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .contact-section .form-grid {
        grid-template-columns: 1fr;
    }
}

.contact-input {
    width: 100%; 
    padding: 14px 16px; 
    border: 1px solid var(--border); 
    border-radius: 12px; 
    font-size: 1rem; 
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #ffffff;
    color: var(--text-primary);
}

.contact-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}