/* ========================================
   BHAVA WEBSITE - CLEAN & OPTIMIZED
   ======================================== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary-orange: #FF7436;
    --primary-orange-light: #FF9C00;
    --dark-bg: #0D0D0D;
    --white: #FFFFFF;
    --gray-light: #F7F8F9;
    --gray-medium: #686873;
    --gray-dark: #191D23;
    --green-status: #00D87D;
    
    /* Typography */
    --font-raleway: 'Raleway', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* Layout */
    --container-max-width: 1200px;
    --border-radius: 10px;
    --border-radius-large: 40px;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glass-blur: blur(20px);
    
    /* Transitions - prefer transform/opacity over all */
    --transition-smooth: transform 0.35s ease-in-out, opacity 0.35s ease-in-out;
    --transition-bounce: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-raleway);
    line-height: 1.6;
    color: var(--gray-dark);
    overflow-x: hidden;
    background: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-medium);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-family: var(--font-raleway);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box; /* ensure width includes padding */
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #FF7436;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.26px;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1px solid rgba(255, 116, 54, 0.3);
    overflow: hidden;
    position: relative;
}

.btn-primary:hover {
    background: #E4642A;
    border: 1px solid rgba(228, 100, 42, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(105, 105, 105, 0.3);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.26px;
    padding: 12px 25px;
    height: 50px;
    border-radius: 10px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: none;
}

.navbar-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-out;
    gap: 24px;
    min-height: 56px;
    position: relative;
    overflow: visible;
    margin: 0 auto;
}

/* Beautiful glassmorphism gradient overlay */
.navbar-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: inherit;
    pointer-events: none;
}

/* Navbar container hover effect */
.navbar-container:hover {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.nav-container {
    width: 100%;
    max-width: none; /* Allow full-width navbar */
    margin: 0; /* remove auto centering */
    padding: 0 20px; /* default mobile padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #ffffff;
    border-radius: 10px;
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 1;
}

.logo-container:hover {
    transform: translateY(-2px);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.logo-image {
    height: 24px;
    width: 65px;
    object-fit: contain;
    transition: height 0.2s ease;
}

/* Logo image stays consistent */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 0;
    transition: color 0.25s ease;
    white-space: nowrap;
    position: relative;
}

.nav-link::before { display: none; }

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

.dropdown-icon {
    font-size: 12px;
    opacity: 0.5;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.nav-link:hover .dropdown-icon {
    opacity: 1;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Beautiful chip navbar button styles for nav buttons */
.nav-buttons .btn-secondary {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 32px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-out;
    white-space: nowrap;
    position: relative;
    backdrop-filter: blur(10px);
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-buttons .btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-buttons .btn-secondary:hover::before {
    opacity: 1;
}

.nav-buttons .btn-secondary:hover {
    transform: translateY(-2px);
}

.nav-buttons .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 32px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-out;
    white-space: nowrap;
    position: relative;
    backdrop-filter: blur(10px);
    border: none;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    color: var(--white);
    border: 1px solid rgba(255, 116, 54, 0.4);
}

.nav-buttons .btn-primary:hover {
    transform: translateY(-2px);
}

.nav-buttons-mobile {
    display: none;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 300px;
    margin-top: 32px;
    list-style: none;
    padding: 0;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-out;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    will-change: background, transform;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-toggle.active {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-toggle.active:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.2s ease;
    border-radius: 2px;
    transform-origin: center;
}

/* Mobile toggle bars maintain white color */

/* Transform hamburger to X when active */
.nav-toggle.active .bar {
    background: rgba(255, 255, 255, 0.9);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile toggle active state maintains white color */

/* Chip navbar styles removed - using single navbar only */

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* Keep a subtle dark gradient as baseline behind the image */
    background: linear-gradient(135deg, #0D0D0D 0%, #09090B 100%);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Subtle star/dot texture overlay */
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.08)"/></svg>') repeat;
    z-index: 1;
}

/* Full-bleed hero background image with tasteful overlays */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #1a1a1a; /* Fallback color */
    background-image: linear-gradient(rgba(8, 8, 10, 0.35), rgba(8, 8, 10, 0.55)), url('../assets/images/hero_bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    filter: saturate(1.05) contrast(1.05) brightness(0.9);
    will-change: transform;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Gentle vignette to focus content */
    background: radial-gradient(120% 80% at 50% 30%, transparent 0%, rgba(9, 9, 11, 0.35) 60%, rgba(9, 9, 11, 0.6) 100%);
    pointer-events: none;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(1.1) brightness(0.9);
    opacity: 0.3;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 100vh;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    60% { opacity: 0.9; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight-word {
    color: var(--primary-orange);
    position: relative;
    display: inline-block;
    animation: shimmer 2s ease-in-out infinite alternate;
    text-shadow: 0 0 10px rgba(255, 116, 54, 0.3);
}

@keyframes shimmer {
    0% {
        filter: brightness(1) saturate(1);
        transform: scale(1);
    }
    100% {
        filter: brightness(1.2) saturate(1.3);
        transform: scale(1.02);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    animation: bounceIn 1s ease-out 0.5s forwards;
    opacity: 0;
    transform: scale(0.8);
    will-change: transform, opacity;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.92); }
    55% { transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-dashboard {
    position: relative;
    animation: slideInRight 1s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateX(50px);
    will-change: transform, opacity;
    margin-bottom: 40px;
}

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

@keyframes sunriseEffect {
    0% { 
        opacity: 0; 
        transform: translateY(60px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.dashboard-mockup {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(60px);
    animation: sunriseEffect 0.8s ease-out 0.3s forwards;
}

.dashboard-mockup:hover {
    transform: translateY(-10px) rotateY(5deg);
}

.dashboard-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    border-radius: 20px;

}

@keyframes dashboardFloat {
    0% { opacity: 0; transform: translateY(42px) scale(0.97); }
    60% { opacity: 0.95; transform: translateY(-8px) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========================================
   HERO CHAT INTERFACE
   ======================================== */

.chat-hero-interface {
    margin: 2.5rem 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.chat-hero-interface::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    border-radius: 1px;
    opacity: 0.6;
}

.chat-input-container {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 10px;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.chat-input-container:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.chat-input-container:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 12px 40px rgba(255, 116, 54, 0.25);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.hero-chat-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 1.1rem;
    font-family: var(--font-inter);
    line-height: 1.6;
    padding: 14px 20px 60px 20px;
    resize: none;
    min-height: 52px;
    max-height: 120px;
    transition: all 0.3s ease;
}

.hero-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.hero-chat-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.chat-input-actions {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-attachment-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-attachment-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.chat-mode-selector {
    position: relative;
}

.mode-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    padding: 6px 8px;
    font-size: 0.75rem;
    font-family: var(--font-inter);
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 60px;
}

.mode-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.mode-select:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.2);
}

.mode-select option {
    background: var(--dark-bg);
    color: var(--white);
}

.chat-send-btn {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 116, 54, 0.3);
    position: relative;
    overflow: hidden;
    width: 44px;
    height: 44px;
    min-width: 44px;
}

.chat-send-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.chat-send-btn:hover {
    background: linear-gradient(135deg, var(--primary-orange-light) 0%, var(--primary-orange) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 116, 54, 0.4);
}

.chat-send-btn:hover::before {
    left: 100%;
}

.chat-send-btn:active {
    transform: translateY(0) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 116, 54, 0.3);
}

.chat-examples {
    text-align: center;
    margin-top: 1rem;
}

.examples-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-inter);
}

.example-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.example-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-inter);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.example-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-orange);
    color: var(--white);
    transform: translateY(-1px);
}

.hero-cta-section {
    margin-top: 10px;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-family: var(--font-inter);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: center;
}

/* ========================================
   SAMPLE DIAGRAMS SECTION
   ======================================== */

.sample-diagrams-section {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.sample-diagrams-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sample-diagrams-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    font-family: var(--font-inter);
}

.sample-diagrams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sample-diagram-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sample-diagram-item:hover {
    transform: translateY(-8px);
    cursor: pointer;
}

.sample-diagram-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.sample-diagram-item:hover .sample-diagram-placeholder {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-orange);
}

.placeholder-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-family: var(--font-inter);
    font-weight: 500;
}

/* Sample Diagram Images */
.sample-diagram-container {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer !important;
}

.sample-diagram-item:hover .sample-diagram-container {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    cursor: pointer !important;
}

.sample-diagram-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.sample-diagram-item:hover .sample-diagram-image {
    transform: scale(1.05);
    cursor: pointer;
}

/* Ensure the entire sample diagram item shows pointer cursor */
.sample-diagram-item * {
    cursor: pointer;
}

.sample-diagram-item:hover * {
    cursor: pointer;
}

.sample-diagram-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

/* Sample Diagram Modal */
.sample-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sample-modal.show {
    display: flex;
}

.sample-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sample-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.sample-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
}

.sample-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin: 0;
}

.sample-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--gray-medium);
    transition: all 0.2s ease;
}

.sample-modal-close:hover {
    background: #f3f4f6;
    color: var(--gray-dark);
}

.sample-modal-body {
    padding: 32px;
    text-align: center;
    max-height: 60vh;
    overflow-y: auto;
}

.sample-modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sample-modal-footer {
    padding: 24px 32px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
    .sample-modal {
        padding: 10px;
    }
    
    .sample-modal-content {
        width: 95vw;
        max-height: 95vh;
    }
    
    .sample-modal-header {
        padding: 16px 20px;
    }
    
    .sample-modal-title {
        font-size: 1.25rem;
    }
    
    .sample-modal-body {
        padding: 20px;
        max-height: 50vh;
    }
    
    .sample-modal-footer {
        padding: 16px 20px;
    }
}

/* Mobile Responsive for Sample Diagrams */
@media (max-width: 768px) {
    .sample-diagrams-section {
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .sample-diagrams-title {
        font-size: 2rem;
    }
    
    .sample-diagrams-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .sample-diagrams-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sample-diagram-placeholder {
        padding: 2rem 1rem;
        min-height: 150px;
    }
    
    .sample-diagram-container {
        height: 220px;
        padding: 30px;
    }
}

/* Mobile Responsive for Chat Interface */
@media (max-width: 768px) {
    .chat-hero-interface {
        margin: 1.5rem 0;
        padding: 0 1rem;
    }
    
    .chat-input-container {
        border-radius: 12px;
        padding: 6px;
    }
    
    .hero-chat-input {
        font-size: 0.9rem;
        padding: 10px 50px 10px 12px;
        min-height: 44px;
    }
    
    .example-chips {
        gap: 6px;
    }
    
    .example-chip {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .chat-input-actions {
        right: 6px;
        gap: 6px;
    }
    
    .chat-attachment-btn,
    .chat-send-btn {
        padding: 6px;
    }
    
    .chat-send-btn {
        padding: 8px;
    }
}

/* Trusted By Section */
.trusted-by {
    padding: 60px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.trusted-by-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logos-container {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    animation: scroll-logos 30s linear infinite;
    will-change: transform;
}

.logo-item {
    flex-shrink: 0;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.company-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 116, 54, 0.05) 0%, transparent 50%),
        url('../assets/images/features-bg.png');
    background-size: cover, contain;
    background-position: center, center;
    background-repeat: no-repeat, repeat;
    opacity: 0.3;
}

.features-header {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.features-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 40px;
}

/* Sticky Stacking Effect */
.features-stack {
    position: relative;
    padding: 80px 0;
}

.features-stack .features-grid {
    display: block;
    position: relative;
}

.features-stack .feature-card {
    position: sticky;
    top: 120px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    z-index: 1;
    will-change: transform, opacity;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    background: var(--white);
    border-radius: 24px;
    transform-origin: center top;
}

.features-stack .feature-card[data-stack-index="0"] {
    z-index: 8 !important;
    top: 120px;
}

.features-stack .feature-card[data-stack-index="1"] {
    z-index: 9 !important;
    top: 145px;
    transform: scale(0.98);
}

.features-stack .feature-card[data-stack-index="2"] {
    z-index: 10 !important;
    top: 170px;
    transform: scale(0.96);
    margin-bottom: 30px;
}

/* Responsive Stacking */
@media (max-width: 768px) {
    .features-stack {
        padding: 40px 0;
    }
    
    .features-stack .features-header {
        margin-bottom: 35px;
        padding: 0 20px;
    }
    
    .features-stack .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .features-stack .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .features-stack .feature-card {
        position: relative;
        top: auto;
        transform: none !important;
        margin-bottom: 30px;
        border-radius: 20px;
        padding: 32px 24px;
        flex-direction: column;
        text-align: center;
        gap: 24px;
        opacity: 1 !important;
        z-index: 1 !important;
    }
    
    .features-stack .feature-card[data-stack-index="0"],
    .features-stack .feature-card[data-stack-index="1"],
    .features-stack .feature-card[data-stack-index="2"] {
        top: auto;
        transform: none !important;
        margin-bottom: 30px;
        opacity: 1 !important;
        z-index: 1 !important;
    }
    
    .features-stack .features-grid {
        display: block;
        gap: 30px;
    }
    
    /* Improve feature content on mobile */
    .features-stack .feature-content {
        min-width: auto;
        order: 2;
    }
    
    .features-stack .feature-visual {
        min-width: auto;
        width: 100%;
        max-width: 100%;
        order: 1;
    }
    
    .features-stack .feature-title {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .features-stack .feature-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .features-stack .feature-eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }
    
    .features-stack .feature-learn {
        font-size: 0.9rem;
        justify-content: center;
    }
}

/* Enhanced tablet responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-stack {
        padding: 60px 0;
    }
    
    .features-stack .feature-card {
        max-width: 900px;
        padding: 40px;
        gap: 40px;
    }
    
    .features-stack .feature-title {
        font-size: 1.5rem;
    }
    
    .features-stack .feature-description {
        font-size: 0.95rem;
    }
    
    .features-stack .features-header {
        margin-bottom: 50px;
    }
    
    .features-stack .section-title {
        font-size: 2.2rem;
    }
    
    .features-stack .section-subtitle {
        font-size: 1.1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .features-stack {
        padding: 30px 0;
    }
    
    .features-stack .features-header {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .features-stack .section-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .features-stack .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .features-stack .feature-card {
        padding: 24px 20px;
        margin-bottom: 24px;
        border-radius: 16px;
        gap: 20px;
    }
    
    .features-stack .feature-title {
        font-size: 1.25rem;
        line-height: 1.2;
    }
    
    .features-stack .feature-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .features-stack .feature-eyebrow {
        font-size: 10px;
        letter-spacing: 1px;
    }
    
    .features-stack .feature-learn {
        font-size: 0.85rem;
    }
    
    .features-stack .feature-overlay {
        padding: 16px;
    }
    
    .features-stack .feature-overlay-image {
        max-width: 85%;
        max-height: 85%;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .features-stack .feature-card {
        padding: 20px 16px;
        margin-bottom: 20px;
    }
    
    .features-stack .feature-title {
        font-size: 1.1rem;
    }
    
    .features-stack .feature-description {
        font-size: 0.8rem;
    }
    
    .features-stack .feature-overlay {
        padding: 12px;
    }
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #fafafa !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 48px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    /* transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, opacity 0.6s ease; */
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    position: relative;
    overflow: hidden;
    will-change: transform, opacity;
    contain: layout paint style;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.4) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-20px) scale(1.02);
    border: 2px solid rgba(0, 0, 0, 0.25);
}

.feature-card.animate {
    animation: featureSlideIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes featureSlideIn {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.95);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



.feature-visual {
    flex: 1;
    min-width: 300px;
    border-radius: 16px;
    overflow: hidden;
}

.feature-mockup {
    position: relative;
    transition: var(--transition-smooth);
}

.feature-mockup:hover {
    transform: scale(1.02);
}

.feature-image { width: 100%; height: auto; display: block; }

.feature-video { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center; 
    display: block; 
    border-radius: 12px; 
    position: absolute;
    inset: 0;
    z-index: 0;
}

.feature-mockup {
    position: relative;
    transition: var(--transition-smooth);
    will-change: transform;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
}

.feature-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.feature-overlay-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.feature-content {
    flex: 1;
    min-width: 400px;
}

.feature-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.feature-title {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.feature-description {
    font-size: 0.975rem;
    color: var(--gray-medium);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.feature-learn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-bg);
    font-weight: 600;
    text-decoration: none;
}

.feature-learn:hover { color: var(--primary-orange); }

.feature-benefits {
    list-style: none;
}

.feature-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--gray-dark);
}

.feature-benefit::before {
    content: '✨';
    font-size: 16px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 116, 54, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.testimonials::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    pointer-events: none;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Individual Testimonial Card - Premium Design */
.testimonial-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 32px;
    padding: 48px 36px;
    border: 2px solid rgba(0, 0, 0, 0.15);
 
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    overflow: hidden;
    will-change: transform, opacity;
    contain: layout paint style;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF7436 0%, #FF9A56 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  
    border-color: rgba(0, 0, 0, 0.25);
}

.testimonial-card.animate {
    animation: testimonialSlideIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes testimonialSlideIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-8px) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Profile Header - Top of Card */
.testimonial-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 4px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.8);
   
    position: relative;
}

.profile-avatar::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 116, 54, 0.3), rgba(59, 130, 246, 0.2));
    z-index: -1;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .avatar-img {
    transform: scale(1.05);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.author-name {
    font-size: 20px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.02em;
}

.author-role {
    font-size: 15px;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
    opacity: 0.8;
}

/* Testimonial Text - Premium Typography */
.testimonial-text {
    font-size: 19px;
    line-height: 1.6;
    color: #374151;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 64px;
    color: rgba(255, 116, 54, 0.15);
    font-family: Georgia, serif;
    position: absolute;
    top: -20px;
    left: -16px;
    line-height: 1;
    pointer-events: none;
}

.testimonial-text::after {
    content: '"';
    font-size: 64px;
    color: rgba(255, 116, 54, 0.15);
    font-family: Georgia, serif;
    position: absolute;
    bottom: -40px;
    right: -8px;
    line-height: 1;
    pointer-events: none;
}

/* Responsive Design - Premium */
@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials-header {
        margin-bottom: 25px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 32px;
    }
    
    .testimonial-card {
        padding: 40px 32px;
        border-radius: 28px;
        gap: 24px;
    }
    
    .testimonial-profile-header {
        padding-bottom: 20px;
        gap: 16px;
    }
    
    .profile-avatar {
        width: 56px;
        height: 56px;
    }
    
    .author-name {
        font-size: 18px;
    }
    
    .author-role {
        font-size: 14px;
    }
    
    .testimonial-text {
        font-size: 17px;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials-header {
        margin-bottom: 30px;
    }
    
    .testimonials-grid {
        gap: 28px;
        max-width: 100%;
    }
    
    .testimonial-card {
        padding: 36px 28px;
        border-radius: 24px;
        gap: 20px;
    }
    
    .testimonial-profile-header {
        padding-bottom: 16px;
        gap: 14px;
    }
    
    .profile-avatar {
        width: 52px;
        height: 52px;
        border-width: 2px;
    }
    
    .author-name {
        font-size: 17px;
    }
    
    .author-role {
        font-size: 13px;
    }
    
    .testimonial-text {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .testimonial-text::before {
        font-size: 48px;
        top: -16px;
        left: -12px;
    }
    
    .testimonial-text::after {
        font-size: 48px;
        bottom: -28px;
        right: -6px;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials-header {
        margin-bottom: 25px;
    }
    
    .testimonials-grid {
        gap: 24px;
    }
    
    .testimonial-card {
        padding: 32px 24px;
        border-radius: 20px;
        gap: 18px;
    }
    
    .testimonial-profile-header {
        padding-bottom: 14px;
        gap: 12px;
    }
    
    .profile-avatar {
        width: 48px;
        height: 48px;
    }
    
    .author-name {
        font-size: 16px;
    }
    
    .author-role {
        font-size: 12px;
    }
    
    .testimonial-text {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .testimonial-text::before {
        font-size: 40px;
        top: -12px;
        left: -10px;
    }
    
    .testimonial-text::after {
        font-size: 40px;
        bottom: -24px;
        right: -4px;
    }
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-cards { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.pricing-cards--duo { gap: 48px; }
.pricing-cards--trio { gap: 24px; }

.pricing-card {
    border-radius: 28px;
    padding: 32px;
    max-width: 360px;
    flex: 1 1 320px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.4s ease, opacity 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
    contain: layout paint style;
}

.pricing-card:hover { 
    transform: translateY(-6px);
    border-color: rgba(0, 0, 0, 0.15);
}

.pricing-card.animate { animation: fadeInUp 0.6s ease-out forwards; }

.pricing-card--light { 
    background: #f8f9fa; 
    border: 1px solid rgba(0, 0, 0, 0.12);
}
.pricing-card--pro {
    color: #fff;
    background: linear-gradient(180deg, #FF7A2F 0%, #FFAE3A 100%);
    border: 1px solid rgba(255, 122, 47, 0.5);
}
.pricing-card--enterprise {
    color: #fff;
    background: linear-gradient(180deg, #2C3E50 0%, #34495E 100%);
    border: 1px solid rgba(44, 62, 80, 0.5);
}

.pricing-card--light:hover {
    border-color: rgba(0, 0, 0, 0.25);
}

.pricing-card--pro:hover {
    border-color: rgba(255, 122, 47, 0.8);
}

.pricing-card--enterprise:hover {
    border-color: rgba(44, 62, 80, 0.8);
}

.btn-block { width: 100%; display: inline-flex; justify-content: center; }
.btn-light-on-dark {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, opacity 0.2s ease;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.btn-light-on-dark:hover { 
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: none;
    transform: translateY(-2px) scale(1.02);
}

/* Mobile Responsive Glassmorphic Button */
@media (max-width: 768px) {
    .btn-light-on-dark {
        padding: 14px 20px;
        font-size: 16px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 12px;
    }
    
    .btn-light-on-dark:hover,
    .btn-light-on-dark:active {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        transform: translateY(-1px) scale(1.01);
    }
    
    /* Touch-friendly active state */
    .btn-light-on-dark:active {
        transform: translateY(0) scale(0.98);
        transition-duration: 0.1s;
    }
}

@media (max-width: 480px) {
    .btn-light-on-dark {
        padding: 12px 18px;
        font-size: 15px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 10px;
    }
    
    .btn-light-on-dark:hover,
    .btn-light-on-dark:active {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-orange);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-plan {
    font-size: 1.75rem;
    font-weight: 700;
    color: inherit;
    margin-bottom: 8px;
}

.pricing-blurb { font-family: var(--font-mono); color: #fefefe; font-size: 12px; margin-bottom: 18px; }
.pricing-card--light .pricing-blurb { color: #6c757d; }
.pricing-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.pricing-price { font-size: 2.25rem; font-weight: 800; color: var(--primary-orange); }
.pricing-card--light .pricing-price { color: #6c757d; }
.pricing-card--pro .pricing-price { color: #fff; }

.pricing-period { color: var(--gray-medium); }
.pricing-card--pro .pricing-period { color: rgba(255,255,255,0.9); }

.pricing-features { list-style: none; margin: 16px 0 0; }
.pricing-features.cute li {  border-radius: 12px; padding: 4px 4px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.pricing-features.on-dark li {  color: #fff; }

.pricing-feature { display: flex; align-items: center; gap: 10px; color: inherit; }
.pricing-feature.disabled { opacity: 0.5; text-decoration: line-through; }

.pricing-feature::before { content: '✓'; color: var(--primary-orange); font-weight: 700; }
.pricing-card--light .pricing-feature::before { color: #6c757d; }
.pricing-card--pro .pricing-feature::before { color: #fff; }

.btn-enterprise {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, opacity 0.2s ease;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.btn-enterprise:hover { 
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: none;
    transform: translateY(-2px) scale(1.02);
}

.pricing-card--enterprise .pricing-price {
    color: #fff !important;
}

.pricing-card--enterprise .pricing-period {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta {
    background-image: url('../assets/images/cta-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Removed green overlay to keep background clean and bright */

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.12;
    z-index: 2;
}

.cta-container {
    position: relative;
    z-index: 3;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.cta-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 36px;
    padding: 64px;
    margin: 0 auto;
    max-width: 1224px;
}

.cta-card::after {
    content: '';
    position: absolute;
    inset: -20px -40px -30px -40px;
    background: radial-gradient(50% 40% at 50% 0%, rgba(255, 165, 100, 0.12), rgba(255, 165, 100, 0) 70%);
    filter: blur(12px);
    z-index: -1;
}

.cta-content { max-width: 840px; margin: 0 auto; }

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-card .cta-title { color: #231f20; letter-spacing: 0.36px; }
.cta-subtitle { font-size: 1.1rem; color: #3b3b46; margin-bottom: 24px; }

.btn-cta { 
    width: 386px; 
    max-width: 100%; 
    height: 50px; 
    border-radius: 12px; 
    font-weight: 700; 
    position: relative;
    z-index: 10; /* Ensure button is above any decorative elements */
    pointer-events: all; /* Ensure button is clickable */
}
.cta-primary { 
    display: flex; 
    justify-content: center; 
    margin-bottom: 12px; 
    position: relative;
    z-index: 10;
}
.cta-link { 
    display: inline-block; 
    color: #e9661c; 
    font-weight: 600; 
    text-decoration: none; 
    position: relative;
    z-index: 10; /* Ensure link is above any decorative elements */
    pointer-events: all; /* Ensure link is clickable */
}
.cta-link:hover { text-decoration: underline; }

.cta-decor {
    position: absolute;
    bottom: 12px;
    width: 260px;
    height: 180px;
    background: url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"440\" height=\"320\" viewBox=\"0 0 440 320\"><path d=\"M0,300 C60,160 180,200 240,60 C260,12 320,0 360,0 L440,0 L440,320 L0,320 Z\" fill=\"rgba(255,255,255,0.35)\"/></svg>') no-repeat center/contain;
    opacity: 0.28;
    filter: blur(0.2px);
    pointer-events: none; /* Ensure decorative elements don't block clicks */
}
.cta-decor-left { left: 24px; transform: scaleX(-1); }
.cta-decor-right { right: 24px; }

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile CTA adjustments */
@media (max-width: 768px) {
    .cta {
        padding: 40px 24px 80px 24px; /* 40px from top, 24px from sides */
    }
    
    .cta-container {
        padding: 0; /* Remove default padding since we're using section padding */
    }
    
    .cta-card {
        padding: 32px 24px; /* Reduce padding for mobile */
        border-radius: 24px; /* Slightly smaller border radius for mobile */
    }
    
    .cta-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem); /* Better mobile scaling */
        line-height: 1.2;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .btn-cta {
        width: 100%;
        height: 48px;
        font-size: 16px;
    }
    
    /* Hide decorative elements on mobile to prevent any interference */
    .cta-decor {
        display: none;
    }
}

/* Docs section removed per latest instructions */
/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: #0b0b0c;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Background image hook; user can set inline style to change image */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 0;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-chip-logo {
    height: 36px;
    padding: 0 8px;
    background: #fff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.footer-main-logo {
    text-align: center;
    padding: 20px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-text {
    font-size: 13.5rem;
    font-weight: 700;
    background: linear-gradient(to bottom, #ffffff 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: -8px;
    margin: 0;
    text-shadow: none;
    transition: var(--transition-smooth);
    line-height: 0.9;
    text-align: center;
    opacity: 0.8;
}

.footer-logo-image {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    opacity: 0.8;
    transition: var(--transition-smooth);
    display: block;
    margin: 0 auto;
}


.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0 40px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 6px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-legal {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.legal-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 8px 16px;
}

.legal-links a:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}

.footer-status {
    display: flex;
    align-items: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--green-status);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-text {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Force status text to next line on mobile (below the dot) */
@media (max-width: 768px) {
    .status-indicator {
        flex-wrap: wrap;            /* allow children to wrap */
        gap: 6px 8px;               /* tighter gaps on mobile */
        padding: 8px 12px;          /* slightly smaller padding */
    }
    
    .legal-links {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .legal-links a {
        font-size: 13px;
        padding: 8px 12px;
        width: auto;
        text-align: center;
    }
}
    .status-text {
        flex-basis: 100%;           /* take full width on next line */
        white-space: normal;        /* allow wrapping */
        line-height: 1.2;
        font-size: 0.875rem;
    }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
        padding: 120px 20px 0;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .dashboard-image {
        max-width: 100%;
    }
    
    .hero-dashboard {
        margin-bottom: 30px;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        padding: 32px;
        border: 2px solid rgba(0, 0, 0, 0.15);
        transform: translateY(60px) scale(0.96);
        background: #fafafa !important;
    }
    

    
    .feature-content {
        min-width: auto;
    }
    
    .feature-visual {
        min-width: auto;
        width: 100%;
        max-width: 500px;
    }
    
    @keyframes featureSlideIn {
        0% {
            opacity: 0;
            transform: translateY(60px) scale(0.96);
        }
        50% {
            opacity: 0.8;
            transform: translateY(-8px) scale(1.01);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation - show logo by default */
    .nav-logo {
        display: flex;
    }
    
    /* Hide desktop nav buttons on mobile */
    .nav-buttons {
        display: none !important;
    }
    
    /* Mobile Navigation - black dropdown */
    /* Stretch-from-navbar panel */
    .nav-menu {
        position: fixed;
        top: 80px; /* Position below navbar */
        left: 20px;
        right: 20px;
        background: rgba(0, 0, 0, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        padding: 0 24px; /* start collapsed with no vertical padding */
        height: auto; /* override desktop height: 30px */
        align-items: stretch;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
        z-index: 1003;
        display: flex;
        flex-direction: column;
        gap: 0;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        max-height: 0; /* collapsed */
        overflow: hidden; /* collapsed */
    }

    /* When navbar container is open, panel stretches down */
    .navbar-container.open .nav-menu,
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 24px;
        max-height: none; /* allow content to define height */
        height: auto; /* fully fit its children */
        overflow: visible; /* show all content within the box */
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Mobile menu items */
    .nav-menu .nav-item {
        margin: 0 0 18px 0;
        width: 100%;
        border-bottom: none; /* no dividers, cleaner card look */
    }

    .nav-menu .nav-item:last-child { margin-bottom: 0; }
    
    .nav-menu .nav-item:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link {
        font-size: 18px;
        color: #ffffff !important;
        padding: 12px 16px;
        display: block;
        border-radius: 8px;
        transition: all 0.2s ease;
        background: transparent;
        border: none;
        font-weight: 700;
        width: 100%;
        text-align: left;
        font-family: 'Raleway', sans-serif;
        text-decoration: none;
        margin: 4px 0;
    }
    
    .nav-menu .nav-link:hover {
        color: #FF7436 !important;
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(4px);
    }

    .nav-buttons-mobile {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        gap: 16px;
        margin-top: 4px;
        padding-top: 8px;
        width: 100%;
        border-top: none;
    }
    
    /* Only show buttons when mobile menu is active/expanded */
    .nav-menu.active .nav-buttons-mobile {
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }

    .nav-buttons-mobile .btn {
        width: 100%;
        align-self: stretch; /* stretch to full available width */
        padding: 0 24px;
        height: 64px;
        font-size: 16px;
        border-radius: 48px;
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
        transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.2s ease, color 0.2s ease;
        text-align: center;
        text-decoration: none;
        border: none;
        margin-bottom: 6px; /* spacing between the two buttons */
        margin-left: 0;
        margin-right: 0;
    }

    /* guard against any inherited max-widths */
    .nav-buttons-mobile .btn-primary,
    .nav-buttons-mobile .btn-secondary { max-width: none; }

    .nav-buttons-mobile .btn-secondary {
        background: #3a3a3a;
        color: #e5e7eb;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-buttons-mobile .btn-secondary:hover {
        background: #4a4a4a;
        border: 1px solid rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
    }

    .nav-buttons-mobile .btn-primary {
        background: var(--primary-orange);
        color: #ffffff;
        border: 1px solid rgba(255, 116, 54, 0.3);
    }

    .nav-buttons-mobile .btn-primary:hover {
        background: #e6652f;
        border: 1px solid rgba(230, 101, 47, 0.4);
        transform: translateY(-2px);
    }

    .nav-toggle {
        display: flex !important;
        z-index: 1001; /* Must be above the menu overlay */
    }

    /* Hide chip navbar when mobile menu is open */
    body.menu-open .navbar-chip {
        display: none !important;
    }
}

/* Backdrop behind the mobile menu */
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999; /* just under the menu panel (1000) */
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .testimonial-card,
    .pricing-card {
        padding: 24px;
    }
    
    .footer-logo-text {
        font-size: 4.5rem;
        letter-spacing: -4px;
    }
    
    .footer-logo-image {
        max-height: 160px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    /* Enhanced Mobile Pricing */
    .pricing {
        padding: 60px 0;
    }
    
    .pricing-header {
        margin-bottom: 25px;
        padding: 0 20px;
    }
    
    .pricing-cards {
        gap: 20px;
        padding: 0 20px;
    }
    
    .pricing-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .pricing-price {
        font-size: 1.875rem;
    }
    
    .pricing-blurb {
        font-size: 11px;
    }
    
    .btn-block {
        padding: 12px 16px;
        font-size: 15px;
    }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    will-change: transform, opacity;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle hover lift for images */
.feature-image:hover {
    transform: translateY(-4px);
    transition: transform 0.4s ease-in-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Apply only when status pill is placed inside the mobile nav menu */
.nav-menu .status-indicator {
    flex-wrap: wrap;
    gap: 6px 8px;
    padding: 8px 12px;
}
.nav-menu .status-text {
    flex-basis: 100%;
    white-space: normal;
    line-height: 1.2;
    font-size: 0.875rem;
    display: block;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-video { display: none !important; }
}