/* ============================================
   Finome AI — Demo Website
   Color Scheme: Green (#004B49) + Black
   Reference: glimmertech.in
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #004B49;
    --primary-light: #006B68;
    --primary-lighter: #e6f2f2;
    --primary-glow: rgba(0, 75, 73, 0.15);
    --accent: #00C9A7;
    --accent-light: #00E6BF;
    --black: #0a0a0a;
    --black-light: #111111;
    --black-card: #1a1a1a;
    --black-border: #2a2a2a;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--black-border);
    padding: 18px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-parent-logo {
    display: flex;
    align-items: center;
}

.nav-glimmer-logo {
    height: 36px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.nav-glimmer-logo:hover {
    opacity: 1;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

.btn-nav {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-sm) !important;
    transition: background 0.2s !important;
}

.btn-nav:hover {
    background: var(--primary-light) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 75, 73, 0.15) 0%, transparent 60%);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content-centered {
    text-align: center;
    align-items: center;
}

.hero-product-name {
    display: inline-block;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #004b49;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.text-accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 640px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 75, 73, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--black-border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* Hero Stats Bar */
.hero-stats-bar {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
    background: var(--black-card);
    padding: 36px 80px;
    margin-top: 80px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.stat-icon {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
    font-weight: 500;
}

/* Hero Visual / Video */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-centered {
    width: 100%;
    max-width: 640px;
}

.video-wrapper {
    width: 100%;
    max-width: 640px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--black-border);
}

.hero-video {
    width: 100%;
    display: block;
    object-fit: cover;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
}

.video-play-pause-btn {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.video-play-pause-btn:hover {
    color: var(--accent);
}

.video-timestamp {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
    min-width: 90px;
    font-variant-numeric: tabular-nums;
}

.video-seekbar {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--black-border);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.video-seekbar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
}

.video-seekbar::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--black-light);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Problem Section
   ============================================ */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.3s;
}

.problem-card:hover {
    border-color: var(--primary);
}

.problem-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 8px;
}

.problem-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ============================================
   Solutions Grid
   ============================================ */
.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.solution-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s;
    width: calc(33.333% - 14px);
}

.solution-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 75, 73, 0.15);
}

.solution-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 75, 73, 0.15);
    border: 1px solid rgba(0, 75, 73, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent);
}

.solution-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.solution-main-desc {
    font-size: 0.85rem;
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 14px;
}

.solution-what-it-does {
    font-size: 0.8rem;
    color: var(--gray-400);
    line-height: 1.5;
    padding: 12px;
    background: rgba(0, 75, 73, 0.06);
    border: 1px solid rgba(0, 75, 73, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.solution-what-it-does strong {
    color: var(--accent);
}

.solution-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.solution-link:hover {
    opacity: 0.8;
}

/* ============================================
   Feature Details
   ============================================ */
.feature-detail {
    margin-bottom: 80px;
    padding: 48px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-xl);
}

.feature-detail:last-child {
    margin-bottom: 0;
}

.feature-detail-header {
    margin-bottom: 20px;
}

.feature-detail-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.feature-detail-sub {
    color: var(--gray-400);
    font-size: 1rem;
}

.feature-detail-what {
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(0, 75, 73, 0.06);
    border: 1px solid rgba(0, 75, 73, 0.15);
    border-radius: var(--radius-sm);
}

.feature-detail-what p {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.7;
}

/* Feature Grid 3-col */
.feature-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item {
    padding: 24px;
    background: rgba(0, 75, 73, 0.04);
    border: 1px solid rgba(0, 75, 73, 0.12);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.feature-item:hover {
    border-color: var(--primary);
}

.feature-item-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ============================================
   Industries
   ============================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
}

.industry-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.industry-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.industry-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 16px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.industry-tags span {
    background: rgba(0, 75, 73, 0.12);
    border: 1px solid rgba(0, 75, 73, 0.25);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* ============================================
   Tech Grid
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-card {
    padding: 28px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.tech-card:hover {
    border-color: var(--primary);
}

.tech-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--white);
}

.tech-card p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* CTA section removed */

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 40px;
    background: var(--black);
    border-top: 1px solid var(--black-border);
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.powered-by {
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 0;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-visual {
        display: flex;
    }

    .hero-stats-bar {
        margin-top: 40px;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 auto;
        min-width: 100px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .solutions-grid {
        justify-content: center;
    }

    .solution-card {
        width: calc(50% - 10px);
    }

    .feature-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid-3 {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .feature-detail {
        padding: 24px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}
