/* ===========================
   Color Palette Variables
   =========================== */
:root {
    --color-primary: #04194e;
    --color-accent: #1BA6FF;
    --color-muted: #647C9B;
    --color-light: #E5E9F2;
    --color-black: #000000;
    --color-dark: #0a0a0a;
    --color-white: #ffffff;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    background-size: 100% 200vh;
    background-attachment: fixed;
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background-image: none;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Prevent horizontal overflow */
html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

img, svg, video, iframe {
    max-width: 100%;
    height: auto;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(27, 166, 255, 0.08);
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.75rem 0;
    }
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(27, 166, 255, 0.15);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

.nav-logo {
    position: relative;
    display: inline-block;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-smooth);
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Login Button */
.nav-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    background: var(--color-white);
    color: var(--color-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
    margin-left: 0.5rem;
}

.nav-login-btn:hover {
    background: var(--color-light);
    transform: translateY(-1px);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-link-dropdown {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(27, 166, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    color: var(--color-accent);
    background: rgba(27, 166, 255, 0.1);
}

.nav-link-button {
    color: var(--color-primary);
    background: var(--color-light);
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--color-light);
    border-radius: 8px;
    transition: var(--transition-smooth);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link-button:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-smooth);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    background: transparent;
    overflow: hidden;
    border-bottom: 1px solid rgba(229, 233, 242, 0.2);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: clamp(1.62rem, 4.455vw, 4.05rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.gradient-text {
    color: var(--color-white);
}

.cycling-text-wrapper {
    display: inline-block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
    vertical-align: bottom;
}

.cycling-text {
    color: #1BA6FF;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(27, 166, 255, 0.3);
    min-height: 44px;
    min-width: 120px;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(27, 166, 255, 0.5);
}

.backed-by {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(27, 166, 255, 0.15);
}

.backed-text {
    color: var(--color-muted);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.backed-logos {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.backed-logo-container {
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.backed-logo-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.backed-logo-container:hover {
    transform: translateY(-3px);
}

.backed-logo-img {
    height: 55px;
    width: auto;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.backed-logo-container:hover .backed-logo-img {
    opacity: 0.6;
}

.yc-logo {
    height: 45px;
}

.spc-logo {
    height: 65px;
}

.bluewire-logo {
    height: 58px;
}

.mba-logo {
    height: 38px;
    /* PNG already has white text on transparent background */
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(0); }
}

/* ===========================
   Platform Section
   =========================== */
.platform-section {
    background: #000000;
    min-height: auto;
    padding: 4rem 0;
}

.platform-header {
    text-align: left;
    margin-bottom: 3rem;
}

.platform-pill {
    display: inline-block;
    background: rgba(27, 166, 255, 0.15);
    color: #1BA6FF;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 1.0rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.platform-subtitle {
    font-size: 2rem;
    font-weight: 100;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .platform-subtitle {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        line-height: 1.3;
    }
}

.platform-layout {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

/* Left Sidebar (25%) - Desktop Tabs Container */
.platform-sidebar {
    width: 25%;
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(27, 166, 255, 0.3);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 48px 160px rgba(27, 166, 255, 0.1), 0 24px 80px rgba(27, 166, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 60vh;
    max-height: 450px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    gap: 0;
    margin-bottom: 0;
}


.platform-nav-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    border-left: 4px solid transparent;
    border-radius: 0;
    border-bottom: 1px solid rgba(229, 233, 242, 0.1);
    background: transparent;
    position: relative;
    flex: 1 0 0;
    min-width: 0;
    backdrop-filter: none;
    flex-direction: row;
}

.platform-nav-item:first-child {
    border-radius: 12px 12px 0 0;
}

.platform-nav-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.platform-nav-item:hover {
    background: rgba(27, 166, 255, 0.1);
}

.platform-nav-item.active {
    background: rgba(27, 166, 255, 0.15);
    border-left-color: #1BA6FF;
}


.nav-item-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #647C9B;
    margin-top: 2px;
}

.platform-nav-item.active .nav-item-icon {
    color: #1BA6FF;
}

.nav-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.nav-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #E5E9F2;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.platform-nav-item.active .nav-item-title {
    color: #1BA6FF;
}

.nav-item-subtitle {
    font-size: 0.85rem;
    color: #647C9B;
    margin: 0;
    line-height: 1.4;
}

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

.content-header {
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-top: 0.5rem;
    flex-shrink: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.content-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #E5E9F2;
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
}

.content-subtitle {
    font-size: 0.8rem;
    color: #647C9B;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* Right Content Area (75%) - Separate Container */
.platform-content-area {
    width: 75%;
    background: #0d0f14;
    border: 1px solid rgba(27, 166, 255, 0.3);
    border-radius: 12px;
    padding: 0;
    position: relative;
    box-shadow: 0 48px 160px rgba(27, 166, 255, 0.15), 0 24px 80px rgba(27, 166, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-self: stretch;
    height: 60vh;
    max-height: 600px;
    backdrop-filter: blur(16px);
}

@media (max-width: 768px) {
    .platform-content-area {
        height: 380px;
        max-height: 380px;
        min-height: 380px;
    }
}

.progress-bar-container {
    width: 100%;
    height: 3px;
    background: rgba(27, 166, 255, 0.1);
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 1;
    border-radius: 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #1BA6FF;
    width: 0%;
    transition: width 0.1s linear;
}

.platform-content-area .platform-content {
    padding: 0;
    display: none !important;
    flex: 1;
    flex-direction: column;
    position: relative;
}

.platform-content-area .platform-content.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.lottie-container {
    width: 100%;
    height: calc(100% - 20px);
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    overflow: hidden;
    background: #0d0f14;
    margin: 0;
    border: none;
    box-shadow: none;
    outline: none;
    border-radius: 0 0 11px 11px;
}

/* Show lottie container when parent content is active */
.platform-content.active .lottie-container {
    display: flex;
}

.lottie-container svg {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border: none !important;
    outline: none !important;
    display: block;
    transform: scale(1.08);
    transform-origin: center;
    background: #0d0f14 !important;
    box-shadow: none !important;
}

.lottie-container svg * {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Hide white backgrounds/outlines in Lottie animations */
.lottie-container svg rect[fill="white"],
.lottie-container svg rect[fill="#ffffff"],
.lottie-container svg rect[fill="#FFFFFF"],
.lottie-container svg rect[fill="#fff"],
.lottie-container svg rect[fill="#FFF"],
.lottie-container svg > rect:first-child {
    display: none !important;
    fill: transparent !important;
    opacity: 0 !important;
}

.lottie-container svg path[stroke="white"],
.lottie-container svg path[stroke="#ffffff"],
.lottie-container svg path[stroke="#FFFFFF"],
.lottie-container svg path[stroke="#fff"] {
    stroke: transparent !important;
}

.lottie-container svg [fill="rgb(255,255,255)"],
.lottie-container svg [fill="rgb(255, 255, 255)"] {
    fill: transparent !important;
}

.analytics-image-container {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    min-height: 0;
    padding-top: 55%;
    position: relative;
}

.analytics-image {
    width: 70%;
    max-width: 70%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.25)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.15));
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .analytics-image-container {
        padding-top: 5rem;
        margin-top: 0;
        padding-bottom: 0;
        height: 100%;
    }
    
    .analytics-image {
        width: 85%;
        max-width: 85%;
        top: 55%;
        position: absolute;
    }
}

.content-placeholder {
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    color: #6c757d;
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
}

.railroad-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.railroad-track {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.railroad-animation {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.migration-pair {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.migration-pair.active {
    opacity: 1;
}

.logo-box {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
}

.source-logo {
    animation: slideOut 2s ease-in-out infinite;
}

.target-logo {
    animation: slideIn 2s ease-in-out infinite;
}

@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-30px);
        opacity: 0.7;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(30px);
        opacity: 0.7;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(30px);
        opacity: 0.7;
    }
}

.logo-placeholder {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.arrow-container {
    width: 150px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-svg {
    width: 100%;
    height: 100%;
}

/* ===========================
   Platform Analytics Section
   =========================== */
.analytics-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analytics-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 4rem 2rem;
}

.business-units {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.business-unit {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    text-align: center;
    min-width: 180px;
}

.arrow-flow {
    width: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-flow svg {
    width: 100%;
    height: 100%;
}

.snowflake-logo-container {
    padding: 2rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.snowflake-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.dashboard-placeholder {
    width: 100%;
    max-width: 600px;
}

.dashboard-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.dashboard-header {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dashboard-metric {
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* ===========================
   AI Workflows Section
   =========================== */
.workflows-section {
    min-height: 60vh;
}

.workflows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-card {
    background: linear-gradient(135deg, rgba(4, 25, 78, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid rgba(27, 166, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.workflow-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(27, 166, 255, 0.2);
}

.workflow-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.workflow-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.workflow-description {
    color: var(--color-light);
    line-height: 1.6;
}

/* ===========================
   Section Styles
   =========================== */
.section {
    padding: 6rem 0;
    position: relative;
    background: transparent;
    border-bottom: 1px solid rgba(229, 233, 242, 0.15);
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-accent);
    text-align: left;
}

.platform-left .subsection-title {
    margin-bottom: 2.5rem;
}

/* ===========================
   Product Section
   =========================== */
.product-section {
    background: transparent;
    position: relative;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(135deg, rgba(4, 25, 78, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid rgba(27, 166, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(27, 166, 255, 0.2);
}

.product-icon {
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.product-features {
    list-style: none;
    color: var(--color-light);
}

.product-features li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.product-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* ===========================
   Platform Section
   =========================== */
.platform-section {
    background: transparent;
}

.platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 3rem 0;
    align-items: center;
}

.platform-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: center;
    height: 100%;
    padding: 2rem 0;
}

.platform-text-block {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-light);
}

.platform-text-block p {
    margin: 0;
}

.platform-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.platform-steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 500px;
}

.step-card {
    background: rgba(27, 166, 255, 0.05);
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem;
    border-radius: 8px;
}

.step-card-vertical {
    background: linear-gradient(135deg, rgba(27, 166, 255, 0.1) 0%, rgba(4, 25, 78, 0.2) 100%);
    border: 1px solid rgba(27, 166, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.step-card-vertical:hover {
    border-color: var(--color-accent);
    transform: translateX(5px);
}

.step-card-vertical p {
    margin: 0;
    color: var(--color-light);
    line-height: 1.6;
}

.step-arrow-down {
    color: var(--color-accent);
    font-size: 2.5rem;
    text-align: center;
    padding: 1rem 0;
    font-weight: bold;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.value-prop {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-black) 100%);
    border: 2px solid var(--color-accent);
    border-radius: 16px;
    padding: 3rem;
    margin-top: 3rem;
    text-align: center;
}

.value-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--color-light);
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials-section {
    background: transparent;
    border-bottom: none !important;
}

.testimonials-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 0.5rem;
    margin-bottom: -5rem;
}

.testimonials-contact-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 4rem;
    margin-bottom: -3rem;
}

@media (max-width: 768px) {
    .testimonials-contact-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonials-form-group {
        width: 100%;
    }
}

.testimonials-form-group {
    flex: 1;
    margin: 0;
}

.testimonials-form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(27, 166, 255, 0.2);
    border-radius: 8px;
    color: var(--color-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 44px;
}

@media (max-width: 768px) {
    .testimonials-form-group input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

.testimonials-form-group input::placeholder {
    color: rgba(229, 233, 242, 0.5);
}

.testimonials-form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(27, 166, 255, 0.1);
}

.testimonials-header {
    text-align: left;
    margin-bottom: 3rem;
}

.testimonials-pill {
    display: inline-block;
    background: rgba(27, 166, 255, 0.15);
    color: #1BA6FF;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 1.0rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonials-subtitle {
    font-size: 2rem;
    font-weight: 100;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .testimonials-subtitle {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        line-height: 1.3;
    }
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.case-study-card {
    background: linear-gradient(135deg, rgba(4, 25, 78, 0.15) 0%, rgba(0, 0, 0, 0.15) 100%);
    border: 1px solid rgba(27, 166, 255, 0.2);
    border-radius: 16px;
    padding: 3rem;
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .case-study-card {
        padding: 1.5rem;
    }
}

.case-study-card:hover {
    border-color: var(--color-accent);
    transform: translateX(5px);
}

.case-study-header {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 140px;
    position: relative;
}

.case-study-logos {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 0;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-start;
}

.case-study-logo-img {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    object-position: center;
    opacity: 0.9;
    transition: var(--transition-smooth);
    filter: brightness(0) invert(1);
    display: block;
}

.case-study-logo-img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.guardian-logo-size {
    height: 90px; /* 2x scale */
    max-width: 360px;
    margin-top: 0;
}

.alpine-logo-size {
    height: 33.75px; /* 25% down (0.75x) */
    max-width: 135px;
    margin-top: 0;
}

.firstcall-logo-size {
    height: 33.75px; /* 25% down (0.75x) */
    max-width: 135px;
    margin-top: 0;
}

.skyknight-logo-size {
    height: 67.5px; /* 50% of previous size */
    max-width: 270px;
    margin-top: 0;
}

.case-study-label {
    display: inline-block;
    background: rgba(27, 166, 255, 0.2);
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto; /* Push to bottom of header container */
}

.case-study-company {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.case-study-description {
    color: var(--color-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.case-study-quote {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #212529;
    font-size: 1.05rem;
    border: 1px solid rgba(27, 166, 255, 0.3);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Team Section
   =========================== */
.team-section {
    background: transparent;
}

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

.team-card {
    background: linear-gradient(135deg, rgba(27, 166, 255, 0.05) 0%, rgba(4, 25, 78, 0.1) 100%);
    border: 1px solid rgba(27, 166, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.team-avatar {
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.team-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--color-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    background: transparent;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-description {
    color: var(--color-light);
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(27, 166, 255, 0.2);
    border-radius: 16px;
    padding: 3rem;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
}

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

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

.form-group label {
    display: block;
    color: var(--color-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(27, 166, 255, 0.3);
    border-radius: 8px;
    color: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
    min-height: 44px;
}

@media (max-width: 768px) {
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    min-height: 44px;
}

.submit-button:hover {
    background: #0d8fe6;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(27, 166, 255, 0.4);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: transparent;
    border-top: 1px solid rgba(229, 233, 242, 0.15);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

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

.footer-soc2-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-col p {
    color: var(--color-muted);
    margin: 0.25rem 0;
    text-decoration: none;
}

.footer-col p:first-child {
    margin-top: 0;
}

.footer-col p:last-child {
    margin-bottom: 0;
}

.footer-link {
    color: var(--color-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.social-link {
    color: var(--color-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--color-accent);
}


.footer-soc2-badge {
    height: 80px;
    width: auto;
    opacity: 1;
}

/* ===========================
   Responsive Design
   =========================== */

/* Small phones (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding-top: 7rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6.5vw, 2.25rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .backed-by {
        margin-top: 4rem;
        padding-top: 2rem;
    }
    
    .backed-logos {
        gap: 1.5rem;
        flex-wrap: nowrap;
    }
    
    .backed-logo-img {
        height: 35px;
    }
    
    .yc-logo {
        height: 32px;
    }
    
    .spc-logo {
        height: 42px;
    }
    
    .bluewire-logo {
        height: 35px;
    }
    
    .mba-logo {
        height: 30px;
    }
    
    .platform-header,
    .testimonials-header {
        margin-bottom: 2rem;
    }
    
    .platform-pill,
    .testimonials-pill {
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
    }
    
    .case-study-header {
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    .case-study-logos {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .case-study-logo-img {
        height: 35px;
        max-width: 140px;
    }
    
    .guardian-logo-size {
        height: 70px;
        max-width: 280px;
    }
    
    .alpine-logo-size,
    .firstcall-logo-size {
        height: 28px;
        max-width: 110px;
    }
    
    .skyknight-logo-size {
        height: 54px;
        max-width: 220px;
    }
    
    .case-study-quote {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        margin: 1rem 0;
    }
    
    .testimonials-footer {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .platform-section {
        padding: 3rem 0;
    }
}

/* Tablets and small screens (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .backed-logo-img {
        height: 48px;
    }
    
    .yc-logo {
        height: 40px;
    }
    
    .spc-logo {
        height: 58px;
    }
    
    .bluewire-logo {
        height: 45px;
    }
    
    .mba-logo {
        height: 40px;
    }
}

/* Mobile devices (up to 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
        transition: var(--transition-smooth);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid rgba(27, 166, 255, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link-button {
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.875rem 1.5rem;
    }
    
    .nav-login-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 1rem;
        padding: 0.875rem 1.5rem;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hero Section */
    .hero {
        padding: 6.5rem 0 2.5rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.8rem, 3vw, 0.95rem);
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .cta-button {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }
    
    .backed-by {
        margin-top: 4rem;
        padding-top: 2rem;
    }
    
    .backed-text {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .backed-logos {
        gap: 1.25rem 2rem;
        flex-wrap: wrap;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .backed-logo-container {
        flex: 0 0 calc(50% - 1rem);
        justify-content: center;
    }
    
    .backed-logo-img {
        height: auto;
        max-height: 35px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
    
    .yc-logo {
        max-height: 30px;
    }
    
    .spc-logo {
        max-height: 40px;
    }
    
    .bluewire-logo {
        max-height: 32px;
    }
    
    .mba-logo {
        max-height: 28px;
    }
    
    /* Platform Section */
    .platform-section {
        padding: 3rem 0;
    }
    
    .platform-header {
        margin-bottom: 2rem;
    }
    
    .platform-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .platform-sidebar {
        width: 100%;
        height: auto;
        max-height: none;
        min-height: auto;
        flex-direction: row;
        gap: 0;
        overflow: visible;
        justify-content: center;
        position: relative;
    }
    
    .platform-nav-item {
        padding: 1.25rem 1.5rem;
        min-height: 44px;
        flex: 1 1 100%;
        max-width: 100%;
        display: none;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .platform-nav-item.active {
        display: flex;
    }
    
    .nav-item-title {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .nav-item-icon {
        display: none;
    }
    
    .nav-item-content {
        text-align: center;
        width: 100%;
    }
    
    .platform-content-area {
        width: 100%;
        height: 380px;
        max-height: 380px;
        min-height: 380px;
        padding: 0;
        overflow: hidden;
    }
    
    .platform-content {
        overflow: hidden;
        position: relative;
    }
    
    .platform-content-area .platform-content {
        overflow: visible;
    }
    
    .content-header {
        position: relative;
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .content-title {
        font-size: 1.1rem;
    }
    
    .content-subtitle {
        font-size: 0.75rem;
    }
    
    .lottie-container {
        position: relative;
        height: calc(100% - 40px);
        min-height: auto;
        padding: 0;
        overflow: hidden;
        background: #0d0f14;
        border-radius: 0 0 11px 11px;
        margin: 0;
        margin-top: -40px;
        width: 100%;
        left: 0;
        right: 0;
        top: 0;
        border: none;
        box-shadow: none;
        outline: none;
    }
    
    .lottie-container svg {
        transform: scale(0.95);
        background: transparent;
        width: 100%;
        height: 100%;
    }
    
    .lottie-container * {
        background: transparent !important;
    }
    
    .analytics-image-container {
        padding-top: 8%;
        padding-bottom: 1.5rem;
    }
    
    /* Testimonials Section */
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-header {
        margin-bottom: 2rem;
    }
    
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-card {
        padding: 1.5rem;
    }
    
    .case-study-header {
        min-height: auto;
        margin-bottom: 1.25rem;
    }
    
    .case-study-logos {
        gap: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .case-study-logo-img {
        height: 40px;
        max-width: 160px;
    }
    
    .guardian-logo-size {
        height: 80px;
        max-width: 320px;
    }
    
    .alpine-logo-size,
    .firstcall-logo-size {
        height: 30px;
        max-width: 120px;
    }
    
    .skyknight-logo-size {
        height: 60px;
        max-width: 240px;
    }
    
    .case-study-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
    }
    
    .case-study-quote {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        margin: 1.25rem 0;
    }
    
    .testimonials-footer {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-soc2-col {
        justify-content: center;
    }
    
    .footer-soc2-badge {
        height: 70px;
    }
    
    /* General */
    .section {
        padding: 3rem 0;
    }
    
    .product-grid,
    .team-grid,
    .workflows-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .platform-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .railroad-track {
        height: 200px;
    }
    
    .migration-pair {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .logo-box {
        width: 150px;
        height: 100px;
    }
    
    .arrow-container {
        transform: rotate(90deg);
        width: 40px;
        height: 100px;
    }
    
    .analytics-diagram {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .arrow-flow {
        transform: rotate(90deg);
        width: 50px;
        height: 100px;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        border: none;
        background: transparent;
    }
}

/* Tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .platform-layout {
        gap: 1.5rem;
    }
    
    .platform-sidebar {
        width: 100%;
    }
    
    .platform-content-area {
        width: 100%;
    }
    
    .case-study-grid {
        gap: 2rem;
    }
    
    .case-study-card {
        padding: 2rem;
    }
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

