@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --border-glow: rgba(0, 124, 195, 0.1);
    --border-active: rgba(0, 124, 195, 0.35);
    --color-green: #16a34a;
    --color-orange: #d97706;
    --color-cyan: #007cc3;
    --color-text-primary: #0f2942;
    --color-text-secondary: #5a7184;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --card-glow: 0 15px 35px rgba(15, 41, 66, 0.05), 0 1px 8px rgba(0, 0, 0, 0.03);
    --neon-glow-green: 0 4px 12px rgba(22, 163, 74, 0.15);
    --neon-glow-orange: 0 4px 12px rgba(217, 119, 6, 0.15);
    --neon-glow-cyan: 0 4px 12px rgba(0, 124, 195, 0.15);
}


html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 10% 20%, rgba(0, 124, 195, 0.03) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(22, 163, 74, 0.02) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(22, 163, 74, 0.25);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-green);
    box-shadow: var(--neon-glow-green);
}

header {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 41, 66, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo span {
    color: var(--color-cyan);
    text-shadow: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-cyan);
    transition: width 0.25s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-cyan);
    text-shadow: none;
}

/* Navigation Dropdown Menu Styling */
.nav-links li {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    border: 1px solid rgba(0, 124, 195, 0.08);
    box-shadow: 0 10px 30px rgba(15, 41, 66, 0.08);
    border-radius: 8px;
    padding: 0.75rem 0;
    list-style: none;
    min-width: 280px;
    display: none; /* Keep hidden by default */
    z-index: 1000;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--bg-card);
    border-top: 1px solid rgba(0, 124, 195, 0.08);
    border-left: 1px solid rgba(0, 124, 195, 0.08);
}

.nav-links li:hover .nav-dropdown-menu {
    display: block; /* Show only on hover */
}

.nav-dropdown-menu li {
    width: 100%;
    padding: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem !important;
    color: var(--color-text-secondary) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-transform: none;
    transition: all 0.2s ease;
    width: 100%;
    letter-spacing: 0.2px;
}

.nav-dropdown-menu a::after {
    display: none !important; /* Remove the underline animation for dropdown items */
}

.nav-dropdown-menu a:hover {
    background: rgba(0, 124, 195, 0.04);
    color: var(--color-cyan) !important;
    padding-left: 1.5rem !important;
}

.btn-cta {
    background: transparent;
    border: 1.5px solid var(--color-cyan);
    color: var(--color-cyan);
    padding: 0.55rem 1.35rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background: var(--color-cyan);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 124, 195, 0.2);
}

/* Portal Login button — distinct solid style */
.btn-portal {
    background: var(--color-cyan);
    color: #fff !important;
    border-color: var(--color-cyan);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.btn-portal:hover {
    background: #005f9e;
    border-color: #005f9e;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 124, 195, 0.35);
    transform: translateY(-1px);
}

/* Feedback button - distinct solid green style */
.btn-feedback {
    background: var(--color-green);
    color: #fff !important;
    border-color: var(--color-green);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    margin-right: 0.5rem;
}

.btn-feedback:hover {
    background: #117a37;
    border-color: #117a37;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
    transform: translateY(-1px);
}

/* =============================================
   HERO VIDEO SECTION - Cinematic Full Viewport
   ============================================= */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    max-height: 950px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

/* Background Video element - covers entire hero */
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 0;
    filter: saturate(1.3) brightness(0.80);
    animation: heroSlowZoom 20s ease-in-out infinite alternate;
}

/* Buffer/next video element — same position, sits above for crossfade */
.hero-video-bg--next {
    z-index: 1;
    opacity: 0;
}

/* Fallback image behind video */
.hero-ytbg-fallback {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center 30%;
    filter: saturate(1.1) brightness(0.7);
}

/* Slow zoom animation */
@keyframes heroSlowZoom {
    0%   { transform: scale(1.08); }
    100% { transform: scale(1.02); }
}

/* Cinematic gradient overlay — sits above BOTH video layers */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(8, 20, 40, 0.55) 0%,
            rgba(8, 20, 40, 0.25) 40%,
            rgba(8, 20, 40, 0.30) 65%,
            rgba(8, 20, 40, 0.85) 100%
        );
    z-index: 5;
}

/* Shimmer above overlay */
.hero-video-shimmer {
    position: absolute;
    inset: 0;
    z-index: 6;
    background: linear-gradient(
        105deg,
        transparent 35%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 65%
    );
    background-size: 300% 100%;
    animation: shimmerSlide 6s ease-in-out infinite;
}

/* Hero content above everything */
.hero-video-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 5vw 5rem 6vw;
    text-align: left;
}

.hero-video-inner {
    max-width: 580px;
    width: 100%;
}

/* Animated tag */
.hero-video-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.4);
    border-radius: 100px;
    padding: 0.45rem 1.25rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
    background: rgba(250, 204, 21, 0.08);
    animation: fadeInDown 0.8s ease both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero Video Title */
.hero-video-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.2vw, 3.2rem);
    font-weight: 900;
    line-height: 1.12;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.9s 0.2s ease both;
}

.hero-video-title span {
    background: linear-gradient(90deg, #22d3ee, #4ade80, #22d3ee);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

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

/* Hero Description */
.hero-video-desc {
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 0 2rem 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    animation: fadeInUp 0.9s 0.4s ease both;
}

/* CTA Buttons */
.hero-video-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.9s 0.6s ease both;
}

.hero-video-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2.2rem;
    background: linear-gradient(135deg, #007cc3, #0ea5e9);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 30px rgba(0, 124, 195, 0.5);
    transition: all 0.3s ease;
}

.hero-video-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 124, 195, 0.7);
    background: linear-gradient(135deg, #0ea5e9, #007cc3);
}

.hero-video-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2.2rem;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.hero-video-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s 1s ease both;
}

.hero-scroll-dot {
    width: 2px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    border-radius: 2px;
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50%       { opacity: 0.4; transform: scaleY(0.6); }
}

/* Stats Bar at bottom of hero */
.hero-stats-bar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(8, 20, 40, 0.75);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 1.4rem 3rem;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0 3rem;
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: #22d3ee;
    line-height: 1;
    letter-spacing: -1px;
}

.hero-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* Keep old .hero-tag for other page uses */
.hero-tag {
    font-family: var(--font-heading);
    color: var(--color-cyan);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
    border-left: 2px solid var(--color-cyan);
    padding-left: 10px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title span {
    background: linear-gradient(90deg, var(--color-green), var(--color-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

/* Responsive hero video */
@media (max-width: 768px) {
    .hero-video-section {
        height: auto;
        min-height: 100svh;
        max-height: none;
    }
    .hero-stats-bar {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1.2rem;
    }
    .hero-stat-item { padding: 0 1.2rem; }
    .hero-stat-divider { display: none; }
    .hero-video-title { font-size: 2.2rem; }
    .hero-video-desc { font-size: 0.95rem; }
}


/* Glassmorphic Panel styling */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    box-shadow: var(--card-glow);
    padding: 2.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    border-color: var(--border-active);
}

.interactive-calculator h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.interactive-calculator h3 span {
    font-size: 0.8rem;
    color: var(--color-cyan);
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-label span {
    font-family: var(--font-heading);
    color: var(--color-green);
    font-weight: 800;
}

/* Custom slider style */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(22, 163, 74, 0.12);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-green);
    cursor: pointer;
    box-shadow: var(--neon-glow-green);
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Display Outputs */
.output-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(22, 163, 74, 0.1);
    padding-top: 2rem;
}

.output-card {
    background: rgba(22, 163, 74, 0.03);
    border: 1px solid rgba(22, 163, 74, 0.08);
    padding: 1.25rem;
    border-radius: 8px;
    text-align: center;
}

.output-title {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.output-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-green);
    text-shadow: var(--neon-glow-green);
}

.output-value.orange {
    color: var(--color-orange);
    text-shadow: var(--neon-glow-orange);
}

.output-value.cyan {
    color: var(--color-cyan);
    text-shadow: var(--neon-glow-cyan);
}

/* Drag & Drop Bill Uploader */
.bill-scanner-section {
    max-width: 1400px;
    margin: 0 auto 6rem auto;
    padding: 0 2rem;
}

.scanner-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.upload-area {
    border: 2px dashed rgba(6, 182, 212, 0.25);
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(6, 182, 212, 0.02);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--color-cyan);
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.upload-icon {
    font-size: 3rem;
    color: var(--color-cyan);
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: pulse 2rem infinite;
}

.upload-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.upload-subtext {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* Scanning Overlay Beam */
.scanning-beam {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
    box-shadow: var(--neon-glow-cyan);
    animation: scan 2s linear infinite;
    z-index: 10;
}

@keyframes scan {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Terminal Console UI */
.terminal-window {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    font-family: monospace;
    padding: 1.5rem;
    box-shadow: var(--card-glow);
    min-height: 250px;
    position: relative;
}

.terminal-header {
    display: flex;
    gap: 6px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.terminal-body {
    color: #0284c7;
    line-height: 1.5;
    font-size: 0.85rem;
}

.terminal-line {
    margin-bottom: 0.5rem;
    display: flex;
}

.terminal-line span.green { color: #16a34a; }
.terminal-line span.white { color: #1e293b; }
.terminal-line span.gold { color: #b45309; }

/* Product Catalog */
.catalog-section {
    max-width: 1400px;
    margin: 0 auto 6rem auto;
    padding: 0 2rem;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title span {
    color: var(--color-green);
    text-shadow: var(--neon-glow-green);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.catalog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.catalog-card:hover {
    border-color: var(--border-active);
    transform: translateY(-5px);
    box-shadow: var(--neon-glow-green);
}

.card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--color-green);
    color: var(--color-green);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

.card-icon {
    font-size: 2rem;
    color: var(--color-cyan);
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.specs-list {
    list-style: none;
    font-size: 0.85rem;
    border-top: 1px solid rgba(22, 163, 74, 0.1);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.specs-list span {
    font-weight: 600;
    color: var(--color-text-primary);
}

.specs-list label {
    color: var(--color-text-secondary);
}

/* CRM Lead Form Section */
.crm-section {
    max-width: 1000px;
    margin: 0 auto 6rem auto;
    padding: 0 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-field, .select-field, .textarea-field {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d1d5db;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-field:focus, .select-field:focus, .textarea-field:focus {
    border-color: var(--color-cyan);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.textarea-field {
    resize: none;
    height: 120px;
}

.select-field option {
    background: #ffffff;
    color: var(--color-text-primary);
}

.btn-submit {
    grid-column: span 2;
    background: linear-gradient(90deg, var(--color-green), var(--color-cyan));
    border: none;
    color: #ffffff;
    padding: 1rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--neon-glow-green);
    margin-top: 1rem;
}

.btn-submit:hover {
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
    transform: translateY(-2px);
}

/* Footer Section */
footer {
    position: relative;
    border-top: none;
    padding: 4rem 2rem 2rem 2rem;
    background: #0d2315;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('fujiyama_panel.png');
    background-size: cover;
    background-position: center;
    filter: sepia(100%) hue-rotate(190deg) saturate(300%);
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-logo-desc {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-desc p {
    color: #a3b899;
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-logo-desc .logo {
    color: #ffffff;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #d1dbcd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4ade80;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #d1dbcd;
    margin-bottom: 1rem;
}

.footer-contact li span {
    color: var(--color-cyan);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 4rem auto 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a3b899;
    font-size: 0.85rem;
}

/* Modal Popup Configuration */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-content {
    background: #ffffff;
    border: 1px solid rgba(22, 163, 74, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    color: var(--color-text-primary);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.06);
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    color: var(--color-green);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-green);
    margin-bottom: 0.5rem;
}

.modal-details {
    margin-bottom: 2rem;
}

.modal-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-detail-row span {
    font-family: var(--font-heading);
    font-weight: 600;
}

.btn-modal-action {
    display: block;
    width: 100%;
    background: var(--color-green);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-modal-action:hover {
    box-shadow: var(--neon-glow-green);
}

/* Tablet responsiveness */
@media(max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        background: linear-gradient(to bottom, rgba(244, 248, 245, 0.98) 50%, rgba(244, 248, 245, 0.6) 100%), url('hero_bg.png') no-repeat center center;
        background-size: cover;
        padding: 3rem 2rem;
    }
    .scanner-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Mobile responsiveness */
@media(max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .btn-submit {
        grid-column: span 1;
    }
    .output-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Project Showcase styles */
.project-card {
    padding: 0 !important;
}
.project-card:hover {
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.08), var(--card-glow);
}
.project-card:hover img {
    transform: scale(1.06);
}

/* Policy Section Styles */
.policy-tab-headers .tab-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.policy-tab-headers .tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
    .policy-tab-content .glass-panel > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ============================================================
   COMMISSIONING ANIMATION SECTION
   ============================================================ */
.commissioning-section {
    max-width: 1400px;
    margin: 0 auto 6rem auto;
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.commissioning-bg-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center,
        rgba(217, 119, 6, 0.06) 0%,
        rgba(22, 163, 74, 0.04) 40%,
        transparent 70%);
    pointer-events: none;
}

/* === Animated Sun === */
.solar-sun-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0 4rem;
}

.solar-sun {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: sunSpin 12s linear infinite;
}

.sun-core {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, #fde68a, #f59e0b, #d97706);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6), 0 0 40px rgba(245, 158, 11, 0.3);
    animation: sunPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.sun-ray {
    position: absolute;
    width: 6px;
    height: 18px;
    background: linear-gradient(to bottom, #f59e0b, transparent);
    border-radius: 3px;
    top: 0;
    left: 50%;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg) translateY(0);
}
.sun-ray.r1 { transform: translateX(-50%) rotate(0deg)   translateY(-8px); }
.sun-ray.r2 { transform: translateX(-50%) rotate(45deg)  translateY(-8px); }
.sun-ray.r3 { transform: translateX(-50%) rotate(90deg)  translateY(-8px); }
.sun-ray.r4 { transform: translateX(-50%) rotate(135deg) translateY(-8px); }
.sun-ray.r5 { transform: translateX(-50%) rotate(180deg) translateY(-8px); }
.sun-ray.r6 { transform: translateX(-50%) rotate(225deg) translateY(-8px); }
.sun-ray.r7 { transform: translateX(-50%) rotate(270deg) translateY(-8px); }
.sun-ray.r8 { transform: translateX(-50%) rotate(315deg) translateY(-8px); }

.sun-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d97706;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
}

@keyframes sunSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes sunPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(245,158,11,0.6), 0 0 40px rgba(245,158,11,0.3); }
    50%       { box-shadow: 0 0 30px rgba(245,158,11,0.9), 0 0 60px rgba(245,158,11,0.5); }
}

/* === Timeline Track === */
.commissioning-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(22, 163, 74, 0.08);
    transform: translateX(-50%);
    border-radius: 2px;
    overflow: visible;
}

.timeline-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #f59e0b, #16a34a, #0891b2);
    border-radius: 2px;
    transition: height 1.5s ease;
}

.energy-particle {
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b, 0 0 20px rgba(245,158,11,0.5);
    transition: top 1.5s ease;
    animation: particlePulse 1s ease-in-out infinite;
}

@keyframes particlePulse {
    0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
    50%      { transform: translate(-50%,-50%) scale(1.4); opacity: 0.7; }
}

/* === Steps === */
.cs-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3.5rem;
    position: relative;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cs-step.cs-step-right {
    flex-direction: row-reverse;
    transform: translateX(40px);
}

.cs-step.visible {
    opacity: 1;
    transform: translateX(0);
}

/* The node side */
.cs-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.cs-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(var(--accent, 22, 163, 74), 0.1);
    border: 2px solid var(--accent, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent, #16a34a);
    box-shadow: 0 0 16px color-mix(in srgb, var(--accent, #16a34a) 30%, transparent);
    transition: all 0.3s ease;
    position: relative;
}

.cs-step.visible .cs-icon-wrap {
    animation: iconPop 0.4s ease 0.4s both;
}

@keyframes iconPop {
    0%   { transform: scale(0.5); }
    70%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.cs-connector {
    width: 2px;
    flex: 1;
    min-height: 80px;
    background: linear-gradient(to bottom, var(--accent, #16a34a), transparent);
    opacity: 0.3;
    margin-top: 4px;
}

/* Card side */
.cs-card {
    flex: 1;
    padding: 2rem;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.cs-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-active);
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.08);
}

.cs-step-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(0,0,0,0.06);
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -2px;
}

.cs-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--color-text-primary);
}

.cs-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Progress bar */
.cs-progress-wrap {
    height: 4px;
    background: rgba(0,0,0,0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.cs-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--bar-color, #16a34a);
    border-radius: 2px;
    transition: width 1.2s ease 0.5s;
    box-shadow: 0 0 6px var(--bar-color, #16a34a);
}

.cs-step.visible .cs-progress-bar {
    width: 100%;
}

/* Tags */
.cs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cs-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--color-text-secondary);
    background: rgba(0,0,0,0.03);
}

/* === Live Generation Counter === */
.live-gen-counter {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #0d2315, #0a1f1a);
    border: 1px solid rgba(22, 163, 74, 0.3);
    border-radius: 16px;
    padding: 1.5rem 2.5rem;
    max-width: 600px;
    margin: 3rem auto 0;
    box-shadow: 0 8px 32px rgba(22, 163, 74, 0.15);
}

.live-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: liveBlink 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.8); }
}

.live-gen-label {
    font-size: 0.75rem;
    color: #a3b899;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.25rem;
}

.live-gen-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #4ade80;
    letter-spacing: 1px;
}

.live-gen-badge {
    margin-left: auto;
    background: rgba(22, 163, 74, 0.2);
    border: 1px solid #16a34a;
    color: #4ade80;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    flex-shrink: 0;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%,100% { box-shadow: 0 0 8px rgba(22,163,74,0.3); }
    50%      { box-shadow: 0 0 16px rgba(22,163,74,0.6); }
}

/* === Mobile responsive === */
@media (max-width: 768px) {
    .timeline-track { display: none; }
    .cs-step, .cs-step.cs-step-right {
        flex-direction: column;
        transform: translateY(30px);
    }
    .cs-step.visible { transform: translateY(0); }
    .cs-node { flex-direction: row; gap: 1rem; }
    .cs-connector { display: none; }
    .live-gen-counter { flex-direction: column; text-align: center; padding: 1.5rem; }
    .live-gen-badge { margin: 0 auto; }
}

/* ── Canvas Scene & Step Controls ─────────────────────── */
.solar-scene-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto 2rem auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(22, 163, 74, 0.15);
    box-shadow: 0 8px 40px rgba(0,0,0,0.14);
    background: #0a1628;
    aspect-ratio: 900 / 480;
}
#solarCanvas { display: block; width: 100%; height: 100%; }

.step-controls {
    max-width: 960px;
    margin: 0 auto 2rem auto;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(22,163,74,0.12);
    border-radius: 14px;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.step-progress-bar { height: 5px; background: rgba(22,163,74,0.1); border-radius: 3px; margin-bottom: 1.25rem; overflow: hidden; }
.step-progress-fill { height: 100%; width: 12.5%; background: linear-gradient(90deg,#d97706,#16a34a); border-radius: 3px; transition: width 0.6s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 0 8px rgba(22,163,74,0.4); }
.step-info { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.step-badge { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 800; letter-spacing: 2px; color: #d97706; background: rgba(217,119,6,0.1); border: 1px solid rgba(217,119,6,0.3); padding: 0.25rem 0.7rem; border-radius: 20px; white-space: nowrap; }
.step-name { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--color-text-primary); }
.step-btns { display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.step-btn { padding: 0.55rem 1.25rem; border-radius: 6px; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; cursor: pointer; border: 1px solid rgba(22,163,74,0.3); background: transparent; color: var(--color-green); transition: all 0.2s ease; }
.step-btn:hover:not(:disabled) { background: var(--color-green); color: #fff; box-shadow: var(--neon-glow-green); }
.step-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.step-btn-play { background: var(--color-green); color: #fff; border-color: var(--color-green); }
.step-btn-play:hover:not(:disabled) { background: #15803d; }
.step-desc { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.6; }

/* === Fujiyama Solar Product Showcase === */
.fujiyama-brand-tag {
    background: linear-gradient(135deg, #0d2a4a, #1a3c61);
    color: #eab308;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(234, 179, 8, 0.25);
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fujiyama-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.fujiyama-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.fujiyama-card {
    background: var(--bg-card);
    border: 1px solid rgba(8, 145, 178, 0.1);
    border-top: 4px solid #eab308;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--card-glow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fujiyama-card:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 179, 8, 0.35);
    box-shadow: 0 15px 35px rgba(234, 179, 8, 0.08), var(--card-glow);
}

.fujiyama-card-body {
    padding: 2.25rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fujiyama-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.fujiyama-card-title i {
    color: #eab308;
    font-size: 1.15rem;
}

.fujiyama-card-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.fujiyama-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(254, 240, 138, 0.95);
    border: 1px solid #eab308;
    color: #b45309;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: 30px;
    letter-spacing: 1px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fujiyama-btn {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.fujiyama-btn:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 6px 18px rgba(234, 179, 8, 0.35);
    transform: translateY(-1px);
}

/* === Multi-Brand Partner Vendor section === */
.partner-brands-section {
    padding: 5rem 2rem;
    background: linear-gradient(to right, rgba(22, 163, 74, 0.02), rgba(8, 145, 178, 0.02));
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.brands-container {
    max-width: 1400px;
    margin: 0 auto;
}

.brands-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2.5rem;
}

.brand-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(22, 163, 74, 0.15);
    border-top: 3px solid var(--color-green);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    min-width: 200px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.brand-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.02), rgba(8, 145, 178, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.brand-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-green);
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.08);
}

.brand-card:hover::after {
    opacity: 1;
}

.brand-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: 0;
}

.brand-card span {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.25rem;
}

/* Brand Co-Branding Header Badge */
.brand-badge-container {
    margin-bottom: 2rem;
    display: inline-block;
}

.brand-badge-card {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(22, 163, 74, 0.2);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    gap: 1.25rem;
}

.brand-badge-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.brand-badge-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
}

.distributor-pill {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.2);
}

/* Card Product Image Styling */
.fujiyama-card-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.fujiyama-card-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fujiyama-card:hover .fujiyama-card-img {
    transform: scale(1.06);
}
/* AI Bill Analyzer Styles */
.analyzer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
}

.drop-zone {
    border: 2px dashed rgba(0, 124, 195, 0.25);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: rgba(0, 124, 195, 0.01);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--color-cyan);
    background: rgba(0, 124, 195, 0.04);
    box-shadow: var(--neon-glow-cyan);
}

.drop-zone-icon {
    font-size: 2.5rem;
    color: var(--color-cyan);
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.drop-zone:hover .drop-zone-icon {
    transform: translateY(-5px);
}

.drop-zone-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

@media (max-width: 992px) {
    .analyzer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Local SEO Served Areas Section */
.areas-served-section {
    background: transparent;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.area-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--card-glow);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.area-card i {
    font-size: 1.75rem;
    color: var(--color-cyan);
    margin-bottom: 1rem;
    transition: transform 0.4s ease, color 0.4s ease;
}

.area-card strong {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    display: block;
    margin-bottom: 0.35rem;
    transition: color 0.3s ease;
}

.area-card span {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    display: block;
}

/* Hover States */
.area-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 124, 195, 0.2);
    box-shadow: 0 20px 40px rgba(15, 41, 66, 0.08), 0 2px 10px rgba(0, 124, 195, 0.05);
}

.area-card:hover::before {
    opacity: 1;
}

.area-card:hover i {
    transform: scale(1.15) rotate(5deg);
    color: var(--color-green);
}

.area-card:hover strong {
    color: var(--color-cyan);
}
