/* ═══════════════════════════════════════════════ */
/*  PARINAAMAA — Design System v2                 */
/*  Mistral-inspired: Grid BG, Generous Spacing,  */
/*  Animated Glows, Premium Dark Infrastructure    */
/* ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    /* Core Brand Palette (From Logo) */
    --accent-50: #E6F6FD;
    --accent-100: #B3E3F9;
    --accent-200: #80CFF5;
    --accent-300: #4DBBF1;
    --accent-400: #009EE3;
    /* Main Brand Cyan */
    --accent-500: #007EBA;
    --accent-600: #005F8C;

    /* Secondary Logo Colors */
    --logo-purple: #6C1064;
    --logo-purple-light: #A32798;
    --logo-green: #00963F;
    --logo-green-light: #00E05E;
    --logo-gold: #FFDD00;
    --logo-blue: #134094;

    /* Deep Navy-Black (not pure black) */
    --bg-primary: #F8FAFC;
    /* Slightly shifted towards dark blue-cyan */
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F1F5F9;
    --bg-elevated: #E2E8F0;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;

    /* Text */
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;

    /* Borders */
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-medium: rgba(0, 0, 0, 0.12);
    --border-accent: rgba(0, 150, 63, 0.4);
    /* Cyan border */

    /* Premium Solids (No Gradients) */
    --gradient-accent: var(--logo-green);
    --gradient-accent-text: var(--logo-green);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.6);
    --shadow-accent: 0 0 80px rgba(0, 150, 63, 0.15);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing Scale */
    --section-gap: clamp(60px, 10vw, 140px);
    --section-gap-sm: clamp(40px, 8vw, 100px);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.15s var(--ease-out);
    --transition-slow: all 0.4s var(--ease-out);
    --theme-transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;

    /* Theme specific defaults (Light) */
    --grid-line: rgba(0, 0, 0, 0.08);
    --glow-1: rgba(0, 150, 63, 0.25);
    --glow-1-transparent: rgba(0, 150, 63, 0.1);
    --glow-2: rgba(0, 224, 94, 0.25);
    --glow-2-transparent: rgba(0, 224, 94, 0.1);
    --header-border: rgba(0, 0, 0, 0.05);
    --nav-hover-bg: rgba(0, 0, 0, 0.04);
    --card-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.06);
    --tag-bg: rgba(0, 150, 63, 0.06);
    --tag-border: rgba(0, 150, 63, 0.1);
    --callout-bg: rgba(0, 150, 63, 0.02);
    --callout-border: rgba(0, 150, 63, 0.06);
    --theme-accent: var(--logo-green);
    --theme-accent-secondary: var(--logo-green-light);
    --chip-bg: #F1F5F9;
    --chip-border: rgba(0, 0, 0, 0.08);
    --chip-text: #334155;
    --chip-hover-bg: rgba(0, 150, 63, 0.1);
    --chip-hover-text: #059669;
    --chip-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #080808;
    --bg-tertiary: #0F0F0F;
    --bg-elevated: #161616;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.04);

    --text-primary: #F0F4F8;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-medium: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 150, 63, 0.4);

    --gradient-accent: var(--logo-green);
    --gradient-accent-text: var(--logo-green-light);

    --shadow-accent: 0 0 80px rgba(255, 255, 255, 0.02);
    --grid-line: rgba(255, 255, 255, 0.18);
    --glow-1: rgba(0, 150, 63, 0.25);
    --glow-1-transparent: rgba(0, 150, 63, 0.1);
    --glow-2: rgba(0, 150, 63, 0.25);
    --glow-2-transparent: rgba(0, 150, 63, 0.1);
    --header-border: rgba(255, 255, 255, 0.05);
    --nav-hover-bg: rgba(255, 255, 255, 0.04);
    --card-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
    --tag-bg: rgba(0, 150, 63, 0.06);
    --tag-border: rgba(0, 150, 63, 0.1);
    --callout-bg: rgba(0, 150, 63, 0.02);
    --callout-border: rgba(0, 150, 63, 0.06);
    --theme-accent: var(--logo-green);
    --theme-accent-secondary: var(--logo-green-light);
    --chip-bg: rgba(255, 255, 255, 0.05);
    --chip-border: rgba(255, 255, 255, 0.1);
    --chip-text: #94A3B8;
    --chip-hover-bg: rgba(0, 150, 63, 0.15);
    --chip-hover-text: #34D399;
    --chip-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* ═══════ RESET ═══════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    transition: var(--theme-transition);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hidden {
    display: none !important;
}

/* ═══════════════════════════════════════════════ */
/*  BACKGROUND — Visible Grid + Gradient Mesh      */
/* ═══════════════════════════════════════════════ */

/* --- Line grid (BOLD and visible) --- */
#bg-grid {
    display: none;
}

/* --- Large gradient mesh (visible warm glows) --- */
body::before,
body::after {
    display: none;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(100px, 80px);
    }

    50% {
        transform: translate(50px, 160px);
    }

    75% {
        transform: translate(-60px, 80px);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-80px, -100px);
    }

    50% {
        transform: translate(-100px, -40px);
    }

    75% {
        transform: translate(-30px, -100px);
    }
}

/* Per-section glow accents */
.hero::before,
.stack-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

/* --- Noise / grain texture overlay --- */
#bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

/* --- Mid-page gradient glow blob --- */
#bg-glow-mid {
    display: none;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
}

/* ═══════ GRADIENT TEXT ═══════ */
.gradient-text {
    color: var(--gradient-accent-text);
}

/* ═══════════════════════════════════════════════ */
/*  HEADER / NAVIGATION                           */
/* ═══════════════════════════════════════════════ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

header .container {
    max-width: 100%;
    padding: 0 5%;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.7rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 0.15rem;
}

.nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--nav-hover-bg);
}

.nav-link.active {
    color: var(--logo-green);
}

header.scrolled .nav-link.active {
    color: var(--logo-green-light);
}

header.scrolled .logo,
header.scrolled .nav-link:not(.active) {
    color: #FFFFFF;
}

header.scrolled .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

header.scrolled .btn-lang {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

header.scrolled .btn-lang:hover {
    background: rgba(255, 255, 255, 0.15);
}

header.scrolled .hamburger span {
    background: #FFFFFF;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-lang {
    padding: 0.35rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--tag-bg);
    color: var(--theme-accent);
    border: 1px solid var(--tag-border);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition), var(--theme-transition);
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-lang:hover {
    background: rgba(0, 150, 63, 0.15);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* ═══════════════════════════════════════════════ */
/*  BUTTONS                                        */
/* ═══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-main);
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #000;
    box-shadow: 0 0 24px rgba(0, 150, 63, 0.12);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 40px rgba(0, 150, 63, 0.25);
}

.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    background: var(--gradient-accent);
    color: #000;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-primary-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 150, 63, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-outline:hover {
    border-color: var(--logo-green);
    color: var(--logo-green);
    background: rgba(0, 150, 63, 0.04);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════ */
/*  SECTION COMMON                                 */
/* ═══════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--theme-accent);
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    border-radius: 20px;
    margin-bottom: 1.75rem;
    font-family: var(--font-mono);
    transition: var(--theme-transition);
}

.section-header h2 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin-bottom: 1.25rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Section dividers — inspired by Mistral's thin lines */
.problem-section,
.approach-section,
.stack-section,
.architecture-section,
.solutions-section,
.onboarding-section,
.differentiator-section,
.about-section,
.careers-section,
.contact-section {
    position: relative;
    z-index: 1;
}

.careers-section {
    padding: var(--section-gap) 0;
    position: relative;
}

.careers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--border-subtle);
}

/* ═══════════════════════════════════════════════ */
/*  HERO — Full-height with depth                  */
/* ═══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Hero glow */
.hero::before {
    display: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(239, 68, 68, 0.05);
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
}

@keyframes glowPulseRed {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--logo-green);
    background: rgba(0, 150, 63, 0.05);
    border: 1px solid rgba(0, 150, 63, 0.1);
    border-radius: 20px;
    margin-bottom: 2.5rem;
    font-family: var(--font-mono);
    opacity: 0;
    animation: fadeInUp 0.4s var(--ease-out) 0.1s forwards;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-family: var(--font-main);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 0 auto 3.5rem;
    text-align: center;
    max-width: 880px;
    opacity: 0;
    animation: fadeInUp 0.4s var(--ease-out) 0.2s forwards;
    text-shadow: 10px 10px 40px rgba(255, 255, 255, 0.05);
}

.hero h1 .gradient-text {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: var(--logo-green) !important;
    background-clip: initial !important;
    color: var(--logo-green);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.4s var(--ease-out) 0.3s forwards;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
    opacity: 0;
    animation: fadeInUp 0.4s var(--ease-out) 0.4s forwards;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-subtle);
    opacity: 0;
    animation: fadeInUp 0.4s var(--ease-out) 0.5s forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    transition: var(--transition);
}

.stat-item:nth-child(3) {
    filter: drop-shadow(5px 5px 15px rgba(239, 68, 68, 0.15));
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gradient-accent-text);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}


.hero-right-decor {
    position: absolute;
    bottom: -2%;
    right: -15%;
    height: 75vh;
    max-height: 680px;
    z-index: 2;
    pointer-events: none;
    transform-origin: bottom right;
    animation: floatDecor 8s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 60px rgba(239, 68, 68, 0.3));
}

@keyframes floatDecor {
    0% {
        transform: rotate(-1.5deg);
    }

    100% {
        transform: rotate(1.5deg);
    }
}

/* ═══════════════════════════════════════════════ */
/*  PROBLEM SECTION                                */
/* ═══════════════════════════════════════════════ */
.problem-section {
    padding: var(--section-gap) 0;
    position: relative;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--border-subtle);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.75rem 2.25rem;
    transition: var(--transition), var(--theme-transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.problem-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-accent);
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-icon {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.problem-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.problem-statement {
    text-align: center;
    padding: 3rem;
    background: var(--callout-bg);
    border: 1px solid var(--callout-border);
    border-radius: 16px;
    transition: var(--theme-transition);
}

.problem-statement p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.problem-statement strong {
    color: var(--theme-accent);
}

/* ═══════════════════════════════════════════════ */
/*  APPROACH SECTION                               */
/* ═══════════════════════════════════════════════ */
.approach-section {
    padding: var(--section-gap) 0;
    background: transparent;
    position: relative;
}

.approach-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-subtle);
}

.approach-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-subtle);
}

.approach-features {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.approach-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.approach-item:last-child {
    border-bottom: none;
}

.approach-item:hover {
    background: rgba(0, 0, 0, 0.015);
    padding-left: 2.75rem;
}

.approach-number {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--logo-green);
    font-family: var(--font-mono);
    flex-shrink: 0;
    width: 28px;
}

.approach-item p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.approach-item:hover p {
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════ */
/*  PRODUCT STACK                                  */
/* ═══════════════════════════════════════════════ */
.stack-section {
    padding: var(--section-gap) 0;
    position: relative;
}

/* Centered glow behind products */
.stack-section::before {
    display: none;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 3.5rem;
    margin-bottom: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.06);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
    transition: var(--transition);
}

.product-naamaa::before {
    background: var(--gradient-accent);
}

.product-setu::before {
    background: #60A5FA;
}

.product-via::before {
    background: #34D399;
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-header {
    margin-bottom: 2.25rem;
}

.product-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    font-family: var(--font-mono);
}

.product-header h3 {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
}

.product-naamaa .product-header h3 {
    color: var(--logo-green);
}

.product-setu .product-header h3 {
    color: #60A5FA;
}

.product-via .product-header h3 {
    color: #34D399;
}

.product-tagline {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 1.3rem;
}

.product-desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1rem;
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    border-radius: 6px;
    font-size: 0.82rem;
    color: var(--chip-text);
    transition: var(--transition);
    font-family: var(--font-mono);
    box-shadow: var(--chip-shadow);
}

.feature-chip::before {
    content: '>_';
    color: var(--logo-green);
    margin-right: 0.6rem;
    font-weight: 700;
}

.feature-chip:hover {
    background: var(--chip-hover-bg);
    border-color: var(--logo-green);
    color: var(--chip-hover-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 150, 63, 0.1);
}

/* ═══════════════════════════════════════════════ */
/*  ARCHITECTURE                                   */
/* ═══════════════════════════════════════════════ */
.architecture-section {
    padding: var(--section-gap) 0;
    background: transparent;
    position: relative;
}

.architecture-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-subtle);
}

.arch-diagram {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arch-layer {
    width: 100%;
    padding: 2.25rem 2.75rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    transition: var(--transition);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.06);
}

.arch-layer:hover {
    border-color: var(--border-medium);
    background: var(--bg-card-hover);
    transform: scale(1.02);
}

.arch-experience {
    border-color: rgba(52, 211, 153, 0.15);
}

.arch-experience:hover {
    border-color: rgba(52, 211, 153, 0.35);
    box-shadow: 0 0 40px rgba(52, 211, 153, 0.04);
}

.arch-integration {
    border-color: rgba(96, 165, 250, 0.15);
}

.arch-integration:hover {
    border-color: rgba(96, 165, 250, 0.35);
    box-shadow: 0 0 40px rgba(96, 165, 250, 0.04);
}

.arch-application {
    border-color: rgba(0, 150, 63, 0.15);
}

.arch-application:hover {
    border-color: rgba(0, 150, 63, 0.35);
    box-shadow: 0 0 40px rgba(0, 150, 63, 0.04);
}

.arch-layer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.arch-layer-num {
    font-size: 0.72rem;
    font-weight: 700;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    font-family: var(--font-mono);
}

.arch-experience .arch-layer-num {
    background: rgba(52, 211, 153, 0.12);
    color: #34D399;
}

.arch-integration .arch-layer-num {
    background: rgba(96, 165, 250, 0.12);
    color: #60A5FA;
}

.arch-application .arch-layer-num {
    background: rgba(0, 150, 63, 0.12);
    color: var(--logo-green);
}

.arch-layer-header h4 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.arch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.arch-tags span {
    padding: 0.35rem 0.85rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 44px;
}

.connector-line {
    width: 1px;
    flex: 1;
    background: var(--border-medium);
}

.connector-dot {
    width: 8px;
    height: 8px;
    background: var(--logo-green);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(0, 150, 63, 0.3);
}

/* ═══════════════════════════════════════════════ */
/*  SOLUTIONS                                      */
/* ═══════════════════════════════════════════════ */
.solutions-section {
    padding: var(--section-gap) 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.solution-card {
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: var(--transition);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.06);
}

.solution-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-accent);
}

.solution-icon {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.solution-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.solutions-callout {
    text-align: center;
    padding: 2.5rem;
    background: rgba(0, 150, 63, 0.02);
    border: 1px solid rgba(0, 150, 63, 0.06);
    border-radius: 14px;
}

.solutions-callout p {
    color: var(--text-secondary);
    font-size: 1.02rem;
}

.solutions-callout strong {
    color: var(--logo-green);
}

/* ═══════════════════════════════════════════════ */
/*  ONBOARDING                                     */
/* ═══════════════════════════════════════════════ */
.onboarding-section {
    padding: var(--section-gap) 0;
    background: transparent;
    position: relative;
}

.onboarding-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-subtle);
}

.onboarding-steps {
    max-width: 680px;
    margin: 0 auto 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    width: 100%;
    padding: 1.75rem 2.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    transition: var(--transition);
}

.step-item:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateX(8px);
    box-shadow: var(--shadow-accent);
}

.step-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 150, 63, 0.08);
    color: var(--logo-green);
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 150, 63, 0.15);
    font-family: var(--font-mono);
}

.step-content h4 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    width: 1px;
    height: 24px;
    background: var(--border-medium);
    margin: 0 auto;
}

.onboarding-note {
    text-align: center;
    padding: 2.5rem;
    background: var(--callout-bg);
    border: 1px solid var(--callout-border);
    border-radius: 14px;
    max-width: 680px;
    margin: 0 auto;
    transition: var(--theme-transition);
}

.onboarding-note p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.onboarding-note strong {
    color: var(--theme-accent);
}

/* ═══════════════════════════════════════════════ */
/*  DIFFERENTIATOR                                 */
/* ═══════════════════════════════════════════════ */
.differentiator-section {
    padding: var(--section-gap) 0;
}

.diff-content {
    text-align: center;
}

.diff-content h2 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 4rem;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 780px;
    margin: 0 auto;
}

.diff-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    transition: var(--transition);
    text-align: left;
}

.diff-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.diff-cross {
    font-size: 1.25rem;
    color: #EF4444;
    font-weight: 800;
    flex-shrink: 0;
}

.diff-check {
    font-size: 1.25rem;
    color: #34D399;
    font-weight: 800;
    flex-shrink: 0;
}

.diff-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.diff-item strong {
    color: var(--text-primary);
}

.diff-yes {
    grid-column: span 2;
    border-color: rgba(52, 211, 153, 0.15);
    background: rgba(52, 211, 153, 0.02);
}

.diff-yes:hover {
    border-color: rgba(52, 211, 153, 0.35);
    box-shadow: 0 0 40px rgba(52, 211, 153, 0.04);
}

/* ═══════════════════════════════════════════════ */
/*  ABOUT / FOUNDERS                               */
/* ═══════════════════════════════════════════════ */
.about-section {
    padding: var(--section-gap) 0;
    background: transparent;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-subtle);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.founder-card {
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: var(--transition), var(--theme-transition);
    box-shadow: var(--card-shadow);
}

.founder-card:hover {
    border-color: var(--border-medium);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
}

.founder-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tag-bg);
    color: var(--theme-accent);
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--tag-border);
    font-family: var(--font-mono);
    transition: var(--theme-transition);
}

.founder-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.founder-role {
    font-size: 0.82rem;
    color: var(--theme-accent);
    font-weight: 600;
    display: block;
    margin-bottom: 1.25rem;
    font-family: var(--font-mono);
}

.founder-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.founder-focus {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

/* ═══════════════════════════════════════════════ */
/*  CONTACT                                        */
/* ═══════════════════════════════════════════════ */
.contact-section {
    padding: var(--section-gap) 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    display: none;
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-content h2 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 3.5rem;
}

.contact-node-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.5rem;
    max-width: 1100px;
    margin: 4rem auto 0;
}

.contact-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.node-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    width: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .node-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
}

.node-box p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.contact-node:hover .node-box {
    border-color: var(--logo-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 150, 63, 0.1);
}

.node-line {
    width: 2px;
    height: 60px;
    background: var(--logo-green);
    position: relative;
    margin: 0.5rem 0;
    opacity: 0.6;
    transform-origin: top center;
    transition: var(--transition);
}

/* Slant side lines to bring buttons closer */
.contact-node:nth-child(1) .node-line {
    transform: rotate(-25deg);
    height: 75px;
}

.contact-node:nth-child(3) .node-line {
    transform: rotate(25deg);
    height: 75px;
}

.node-line::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--logo-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--logo-green);
}

.contact-node .btn {
    width: 100%;
    max-width: 220px;
    transition: var(--transition);
}

/* Offset buttons to match slanted lines */
.contact-node:nth-child(1) .btn {
    transform: translateX(32px);
}

.contact-node:nth-child(3) .btn {
    transform: translateX(-32px);
}

@media (max-width: 992px) {
    .contact-node-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* ═══════════════════════════════════════════════ */
/*  FOOTER                                         */
/* ═══════════════════════════════════════════════ */
footer {
    padding: 5rem 0 2.5rem;
    background: transparent;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo h4 {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.footer-phone {
    color: var(--text-secondary) !important;
    font-weight: 600;
    margin-top: 0.75rem !important;
    font-family: var(--font-mono);
    font-size: 0.9rem !important;
}

.footer-nav h5 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-family: var(--font-mono);
}

.footer-nav a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.35rem 0;
}

.footer-nav a:hover {
    color: var(--logo-green);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-subtle);
}

.copyright {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.footer-social {
    display: flex;
    gap: 0.85rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--logo-green);
    color: var(--logo-green);
    background: rgba(0, 150, 63, 0.04);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════ */
/*  ANIMATIONS                                     */
/* ═══════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: all 0.5s var(--ease-out);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════ */
/*  RESPONSIVE                                     */
/* ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(8, 9, 13, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        font-size: 1.3rem;
        padding: 0.85rem 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .diff-yes {
        grid-column: span 1;
    }

    .founders-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 80px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .hero {
        padding: 110px 0 50px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-stats {
        gap: 2.5rem;
    }

    .hero-right-decor {
        height: 55vh;
        right: -20%;
        bottom: 5%;
        opacity: 0.4;
        z-index: 0;
        filter: blur(1px) drop-shadow(0 0 40px rgba(239, 68, 68, 0.2));
    }

    .hero::after {
        width: 100vw;
        height: 100vw;
        right: -10%;
        bottom: -5%;
        filter: blur(100px);
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

    .product-card {
        padding: 2.25rem 1.75rem;
    }

    .product-header h3 {
        font-size: 1.4rem;
    }

    .product-tagline {
        font-size: 1.05rem;
        display: block;
        margin-top: 0.35rem;
    }

    .step-item {
        padding: 1.35rem 1.5rem;
    }

    .contact-personas {
        flex-direction: column;
        align-items: center;
    }

    .contact-ctas {
        flex-direction: column;
        align-items: center;
    }


    .btn-primary-sm {
        display: none;
    }

    .hero-right-decor {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .logo span {
        display: none;
    }
}