/* ----- VARIABLES & RESET ----- */
:root {
    /* Color Palette - Premium Dark Theme */
    --bg-dark: #050505;
    --bg-surface: #111111;
    --bg-surface-light: #1c1c1f;

    --text-primary: #f8fafc;
    --text-secondary: #a1a1aa;

    --primary-color: #3b82f6;
    /* Blue */
    --primary-color-glow: rgba(59, 130, 246, 0.4);

    --secondary-color: #8b5cf6;
    /* Purple for Insight AI */
    --secondary-color-glow: rgba(139, 92, 246, 0.4);

    --accent-green: #10b981;

    /* Gradients */
    --text-grad: linear-gradient(90deg, #60a5fa 0%, #a78bfa 100%);

    /* Layout */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Animation */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ----- UTILITIES ----- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

.mt {
    margin-top: 1rem;
}

.text-blue {
    color: var(--primary-color);
}

.text-purple {
    color: var(--secondary-color);
}

.text-gradient {
    background: var(--text-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px var(--primary-color-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-color-glow);
    background: #2563eb;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.glass-card,
.glass-panel {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
}

/* ----- NAVBAR ----- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.logo i {
    color: var(--primary-color);
    font-size: 2rem;
}

/* Logo image (replaces icon + text) */
.logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    /* Boost visibility on dark background: make it white/light */
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.85;
}

.logo-title {
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-weight: 300;
    color: var(--text-secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:not(.btn):hover {
    color: white;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ----- HERO SECTION ----- */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-gradient {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-color-glow) 0%, rgba(9, 9, 11, 0) 70%);
    z-index: -1;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-stats i {
    color: var(--accent-green);
    font-size: 1.25rem;
}

/* Hero Visual Mockup */
.hero-visual {
    position: relative;
}

.glass-mockup {
    background: rgba(24, 24, 27, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mac-btns {
    display: flex;
    gap: 6px;
    margin-right: 20px;
}

.mac-btns span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    /* red */
}

.mac-btns span:nth-child(2) {
    background: #f59e0b;
}

.mac-btns span:nth-child(3) {
    background: #10b981;
}

.mockup-url {
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex: 1;
    text-align: center;
    font-family: monospace;
}

.mockup-body {
    padding: 24px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dash-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.dash-card.full-w {
    grid-column: 1 / -1;
}

.dash-card i {
    font-size: 24px;
    margin-bottom: 12px;
}

.dash-card i.purple {
    color: var(--secondary-color);
}

.dash-card i.blue {
    color: var(--primary-color);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.skeleton-text {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 80%;
}

.skeleton-text.short {
    width: 40%;
}

.tag.green {
    font-size: 0.75rem;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.skeleton-chart {
    height: 80px;
    background: linear-gradient(0deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.skeleton-chart::after {
    content: '';
    position: absolute;
    left: 20%;
    top: 40%;
    right: 20%;
    bottom: 0;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

/* Floating Elements */
.floating-badge {
    position: absolute;
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.floating-badge i {
    font-size: 24px;
    color: var(--primary-color);
}

.floating-badge strong {
    display: block;
    font-size: 0.875rem;
}

.floating-badge span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.float-anim-1 {
    top: 20%;
    right: -10%;
    animation: float 6s ease-in-out infinite;
}

.float-anim-2 {
    bottom: 10%;
    left: -10%;
    animation: float 8s ease-in-out infinite reverse;
}

.float-anim-2 i {
    color: var(--secondary-color);
}

/* ----- PARTNERS SECTION ----- */
.partners-section {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.6;
}

.partner-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

/* ----- PRODUCTS SECTION ----- */
.products-section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.125rem;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-card {
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--primary-color);
}

.product-card:nth-child(2):hover {
    border-top-color: var(--secondary-color);
}

.product-icon-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.p-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.bg-blue-glow {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color-glow);
}

.bg-purple-glow {
    background: var(--secondary-color);
    box-shadow: 0 0 20px var(--secondary-color-glow);
}

.product-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 80px;
}

.features-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
    color: #e4e4e7;
}

.features-list i {
    font-size: 1.25rem;
    margin-top: 2px;
}

.features-list strong {
    color: white;
}

/* ----- NEW PRODUCT COMPONENTS ----- */
.mt-large {
    margin-top: 4rem;
}

.feature-metrics {
    margin-bottom: 2rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.metric-card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(20, 20, 23, 0.6);
    transition: var(--transition);
}

.metric-card:hover {
    background: rgba(30, 30, 35, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

.m-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 1rem;
}

.m-icon.red-glow {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.m-icon.green-glow {
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.metric-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.check-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    align-items: flex-start;
}

.check-list.error i {
    color: #ef4444;
    margin-top: 2px;
}

.check-list.success i {
    color: var(--accent-green);
    margin-top: 2px;
}

/* Browser Mockup */
.product-visual {
    position: relative;
    border-radius: var(--radius-md);
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-mockup {
    background: #09090b;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.hover-float:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.browser-header {
    background: #18181b;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-url {
    background: #09090b;
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 4px;
    flex-grow: 1;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 300px;
    margin: 0 auto;
}

.browser-body {
    position: relative;
    background: #000;
}

.browser-body img {
    width: 100%;
    display: block;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.browser-body img:hover {
    opacity: 1;
}

.visual-caption {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1.25rem;
}

/* ----- WHY US (ADN) ----- */
.why-us-section {
    padding: 8rem 0 4rem;
    position: relative;
}

.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.why-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.why-text>p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.benefits-vertical {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit {
    display: flex;
    gap: 1.5rem;
}

.b-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.b-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.b-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Abstract Image Representation */
.why-image {
    display: flex;
    justify-content: center;
}

.abstract-shape {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: morph 8s ease-in-out infinite both alternate;
}

.shape-gradient i {
    font-size: 8rem;
    background: var(--text-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.licensing-note {
    margin-top: 4rem;
}

.licensing-note .glass-panel {
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    text-align: left;
}

.licensing-note i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.licensing-note p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ----- FOOTER ----- */
.footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem;
    background: #000;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at bottom, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-col.brand .logo {
    margin-bottom: 1rem;
}

.brand-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 80%;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: white;
}

.contact-list li {
    display: flex;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    align-items: flex-start;
}

.contact-list i {
    font-size: 1.25rem;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* ----- ANIMATIONS ----- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Reveal Animations */
.fade-up,
.fade-in,
.fade-left,
.fade-right {
    opacity: 0;
    will-change: transform, opacity;
}

.fade-up {
    transform: translateY(30px);
}

.fade-left {
    transform: translateX(30px);
}

.fade-right {
    transform: translateX(-30px);
}

.revealed {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {

    .hero-content,
    .why-container,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 140px;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .why-text {
        order: 2;
    }

    .why-image {
        order: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(9, 9, 11, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .partners-grid {
        gap: 1.5rem;
    }
}

/* ----- SEO HELPERS ----- */
.seo-hidden {
    font-size: 0.01px;
    color: transparent;
    line-height: 0;
    display: block;
    overflow: hidden;
    height: 0;
    margin: 0;
    padding: 0;
}

/* ----- NAVIGATION HELPERS ----- */
[id] {
    scroll-margin-top: 100px; /* Space for the fixed navbar */
}