:root {
    /* Sendbird-inspired Color Palette */
    --primary: #305AF7;
    /* User Requested Color */
    --primary-hover: #1e45d6;
    --primary-light: rgba(48, 90, 247, 0.1);

    --text-main: #11151A;
    --text-muted: #545F6D;

    --bg-main: #FFFFFF;
    --bg-light: #F3F5F7;
    --bg-card: #FFFFFF;

    --border-color: #E2E8F0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 24px 48px rgba(17, 21, 26, 0.08);

    /* Typography */
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Layout */
    --container-max: 1200px;
    --border-radius-base: 12px;
    --border-radius-lg: 24px;
    --border-radius-pill: 9999px;
}

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

html {
    scroll-behavior: auto;
    /* Removed smooth for Lenis */
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* Typography Helpers */
.text-gradient {
    /* For fallback or general usage */
    background: linear-gradient(135deg, #305AF7 0%, #0dd1f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding: 0.05em 0;
}

.text-gradient-char {
    background: linear-gradient(135deg, #305AF7 0%, #0dd1f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0.05em 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: #ffffff !important;
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.font-bold {
    font-weight: 800;
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: #11151A;
    color: white;
}

.btn-primary:hover {
    background-color: #2A3441;
    box-shadow: 0 10px 20px rgba(17, 21, 26, 0.2);
}

.navbar .btn-primary {
    height: 40px;
    padding: 0 24px;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: #CBD5E1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.brand-logo {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 80px;
    /* Offset for fixed navbar */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    overflow: hidden;
}

#particle-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1100px;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-weight: 400;
    max-width: 800px;
    margin-inline: auto;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Background Blobs - Hidden in favor of refined aurora flow */
.hero-blob {
    display: none;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-50px, 50px) scale(1.1);
    }
}

/* Aurora Light Effect - Updated for Stacker-style bottom glow */
.hero-aurora {
    position: absolute;
    bottom: -150px;
    left: 0;
    width: 100%;
    height: 600px;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    filter: blur(120px);
    opacity: 0.8;
}

.aurora-blob {
    position: absolute;
    bottom: 0;
    border-radius: 50% 50% 0 0;
}

.aurora-blue {
    width: 80vw;
    height: 400px;
    left: -20vw;
    background: radial-gradient(circle, rgba(32, 39, 244, 0.45) 0%, rgba(32, 39, 244, 0) 70%);
    animation: aurora-drift-1 15s infinite alternate ease-in-out;
}

.aurora-cyan {
    width: 90vw;
    height: 350px;
    left: 10vw;
    background: radial-gradient(circle, rgba(11, 124, 245, 0.45) 0%, rgba(11, 124, 245, 0) 70%);
    animation: aurora-drift-2 18s infinite alternate-reverse ease-in-out;
}

.aurora-primary {
    width: 70vw;
    height: 400px;
    right: -15vw;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.25) 0%, rgba(0, 255, 204, 0) 65%);
    animation: aurora-drift-3 20s infinite alternate ease-in-out;
    opacity: 0.6;
}

@keyframes aurora-drift-1 {
    0% {
        transform: translateY(50px) scale(1);
    }

    50% {
        transform: translate(5%, -30px) scale(1.05);
    }

    100% {
        transform: translate(-3%, 20px) scale(0.95);
    }
}

@keyframes aurora-drift-2 {
    0% {
        transform: translateY(30px) scale(1);
    }

    50% {
        transform: translate(-8%, -50px) scale(1.1);
    }

    100% {
        transform: translate(5%, 40px) scale(0.9);
    }
}

@keyframes aurora-drift-3 {
    0% {
        transform: translateY(40px) opacity(0.5);
    }

    50% {
        transform: translate(4%, -20px) opacity(0.8);
    }

    100% {
        transform: translate(-4%, 30px) opacity(0.6);
    }
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    perspective: 1200px;
    /* Enable 3D transforms */
}

.bento-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.bento-card:hover {
    box-shadow: var(--shadow-lg);
}

.bento-card.highlight {
    background: var(--text-main);
    border-color: transparent;
}

.bento-card.highlight:hover {
    box-shadow: 0 20px 40px rgba(48, 90, 247, 0.25);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.card-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Feature Rows */
.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 120px;
    perspective: 1200px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse>* {
    direction: ltr;
}

.feature-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.feature-list li::before {
    content: "✓";
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    margin-right: 16px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.glass-panel {
    background: rgba(243, 245, 247, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius-lg);
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Abstract UI Graphics inside glass panels */

/* Panel 01 — Dashboard style */
.graphic-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 280px;
}

.dash-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
}

.dash-bar {
    flex: 1;
    background: var(--bg-light);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: height 0.3s ease;
}

.dash-bar.bar-1 {
    height: 40%;
}

.dash-bar.bar-2 {
    height: 65%;
}

.dash-bar.bar-3 {
    height: 50%;
    background: var(--text-main);
    border-color: transparent;
}

.dash-bar.bar-4 {
    height: 85%;
    background: #305AF7;
    border-color: transparent;
}

.dash-bar.bar-5 {
    height: 55%;
}

.dash-line-chart {
    width: 100%;
}

.dash-line-chart svg {
    width: 100%;
    height: auto;
    display: block;
}

.dash-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-metric {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.metric-dot.dot-blue {
    background: #305AF7;
}

.metric-dot.dot-dark {
    background: var(--text-main);
}

.metric-line {
    height: 8px;
    width: 120px;
    background: var(--bg-light);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.metric-line.short {
    width: 80px;
}

/* Panel 01 old styles (removed) */

.graphic-blocks {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px;
}

.graphic-blocks .block {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    opacity: 0.8;
}

.graphic-blocks .block:nth-child(2) {
    transform: scale(1.1);
    background: var(--text-main);
    opacity: 1;
}

.graphic-nodes {
    position: relative;
    width: 200px;
    height: 200px;
}

.graphic-nodes .node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-main);
    position: absolute;
    box-shadow: 0 0 0 10px rgba(17, 21, 26, 0.1);
}

.graphic-nodes .n1 {
    top: 0;
    left: 0;
}

.graphic-nodes .n2 {
    bottom: 0;
    left: 80px;
    background: #545F6D;
}

.graphic-nodes .n3 {
    top: 40px;
    right: 0;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    perspective: 1200px;
}

.product-card {
    background: var(--bg-main);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    transform-style: preserve-3d;
}

.product-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.product-logo-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-logo-fallback {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-muted);
    line-height: 1;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    flex-grow: 1;
}

.product-arrow {
    margin-top: 24px;
    font-size: 1.5rem;
    color: var(--text-main);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    align-self: flex-end;
}

.product-card:hover .product-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Timeline Horizontal Sticky Scroll Section */
.timeline-section {
    position: relative;
    background: var(--bg-main);
    overflow: hidden;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100% !important;
}

.timeline-grid-overlay {
    position: absolute;
    top: -100vh;
    left: -50vw;
    width: 200vw;
    height: 300vh;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    background-image:
        linear-gradient(rgba(17, 21, 26, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 21, 26, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    background-repeat: repeat;
}

.timeline-container {
    position: relative;
    z-index: 2;
    padding: 60px 0 120px;
    display: flex;
    align-items: center;
}

.timeline {
    display: flex;
    width: max-content;
    padding: 0 50vw;
    /* Start with first item in center */
    position: relative;
    z-index: 10;
}

.timeline-line-track {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--border-color);
    z-index: 0;
    border-radius: 2px;
}

.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--text-main) 0%, #545F6D 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 450px;
    padding-top: 180px;
    padding-right: 60px;
    flex-shrink: 0;
}

.timeline-year {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(17, 21, 26, 0.06);
    line-height: 1;
    letter-spacing: -0.05em;
    user-select: none;
    transition: all 0.4s ease;
}

.timeline-year.active {
    color: var(--text-main);
    -webkit-text-fill-color: var(--text-main);
}

.timeline-content {
    background: var(--bg-light);
    padding: 32px 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.timeline-content.highlight-content {
    background: var(--text-main);
    border-color: transparent;
    color: white;
    /* Make text white inside the highlighted card */
    box-shadow: var(--shadow-lg);
}

.timeline-content.highlight-content p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.timeline-content.highlight-content .text-gradient {
    background: linear-gradient(135deg, var(--text-main) 0%, #545F6D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: -87px;
    /* 140px padding top - 60px track top - 7px half dot = 87 */
    width: 14px;
    height: 14px;
    background: var(--bg-main);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-dot.highlight-dot {
    border-color: var(--text-main);
    background: var(--text-main);
}

.timeline-dot.active {
    border-color: var(--text-main);
    background: var(--text-main);
    box-shadow: 0 0 0 6px rgba(17, 21, 26, 0.1);
    transform: scale(1.2);
}

.timeline-content p {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.timeline-content a {
    color: var(--primary);
    font-weight: 600;
}

.timeline-content.highlight-content a {
    color: rgba(255, 255, 255, 0.95);
}

.timeline-content a:hover {
    text-decoration: underline;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* Partner Grid */
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    background: var(--bg-main);
    padding: 24px;
    border-radius: var(--border-radius-base);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    flex: 1 1 calc(25% - 24px);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-decoration: none;
    min-height: 140px;
}

.partner-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.partner-name {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.3;
}

.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}

.partner-card:hover .partner-name {
    color: var(--primary);
}

/* Team Culture */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.culture-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.culture-visual.glass-panel {
    aspect-ratio: 1 / 1;
    height: auto;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
}

.culture-card:hover .culture-visual {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.culture-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.culture-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.share-node {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    position: absolute;
    z-index: 2;
}

.share-node.sn-1 {
    top: 28px;
    left: 28px;
}

.share-node.sn-2 {
    top: 28px;
    right: 28px;
}

.share-node.sn-3 {
    bottom: 28px;
    left: 28px;
}

.share-node.sn-4 {
    bottom: 28px;
    right: 28px;
}

@media (max-width: 992px) {
    .culture-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .culture-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: var(--text-main);
    color: white;
    padding: 80px 0 50px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-brand h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.footer-logo {
    height: 38px;
    width: auto;
    margin-bottom: 24px;
    display: block;
}

.footer .btn-primary {
    background-color: white;
    color: var(--text-main);
}

.footer .btn-primary:hover {
    background-color: #f8f9fa;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.footer-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.email-text {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    text-align: center;
}

/* Animations handled by GSAP - Old CSS Classes removed */

/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .timeline {
        padding-left: 60px;
    }

    .timeline::before {
        left: 0px;
        display: none;
    }

    .timeline-year {
        left: 0px;
    }

    .timeline-dot {
        left: 0px;
    }

    .timeline-dot.highlight-dot {
        box-shadow: none;
    }
}