/* ══════════════════════════════════════════════════════════
   ANIMAFLOW — Production Pipeline Website
   Design System v2.0 — Dark Premium UI
   ══════════════════════════════════════════════════════════ */

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

:root {
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --primary-light: #5ce1ff;
    --primary-glow: rgba(0, 212, 255, 0.15);
    --secondary: #10b981;
    --accent-warm: #ffa500;
    --dark: #0b0e17;
    --darker: #060810;
    --card-bg: rgba(15, 20, 35, 0.8);
    --card-bg-solid: #0f1423;
    --light: #e8edf5;
    --gray: #8492a6;
    --gray-dark: #5a6578;
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --glass: rgba(15, 20, 35, 0.65);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--darker);
    background-image:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(16,185,129,0.04) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(6, 8, 16, 0.85);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    z-index: 1000;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, box-shadow 0.3s;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.25s;
    letter-spacing: 0.01em;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #000;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--light);
    padding: 12px 16px;
}

.btn-ghost:hover {
    color: var(--primary-light);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.btn-outline:hover {
    background: var(--light);
    color: var(--darker);
}

.btn-white {
    background: white;
    color: var(--darker);
}

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

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--darker);
}

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

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0 60px;
}

.hero-text {
    max-width: 560px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-media {
    position: relative;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px var(--border);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.play-button {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
}

/* Trusted Section */
.trusted-section {
    position: relative;
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.trusted-text {
    text-align: center;
    color: var(--gray-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.logo-placeholder {
    color: var(--gray-dark);
    font-size: 14px;
    padding: 10px 20px;
    border: 1px dashed var(--border);
    border-radius: 6px;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 32px 24px;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* AI Section */
.ai-section {
    padding: 120px 0;
    background: transparent;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.ai-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ai-grid-6 {
    grid-template-columns: repeat(5, 1fr);
}

.ai-grid-6 .ai-card:last-child {
    grid-column: 3;
}

.ai-grid-7 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ai-grid-8 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ai-grid-7 .ai-card:nth-child(1) { grid-column: 1 / span 1; }
.ai-grid-7 .ai-card:nth-child(2) { grid-column: 2 / span 1; }
.ai-grid-7 .ai-card:nth-child(3) { grid-column: 4 / span 1; }
.ai-grid-7 .ai-card:nth-child(4) { grid-column: 5 / span 1; }

.ai-grid-7 .ai-card:nth-child(5) { grid-column: 2 / span 1; }
.ai-grid-7 .ai-card:nth-child(6) { grid-column: 3 / span 1; }
.ai-grid-7 .ai-card:nth-child(7) { grid-column: 4 / span 1; }

.ai-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid var(--border);
}

.ai-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.ai-head {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(16, 185, 129, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--border-light);
    transition: border-color 0.3s;
}

.ai-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-name {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 700;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-role {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-description {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.5;
}

/* AI Card Colors */
.ai-thor:hover { border-color: #00ff88; box-shadow: 0 20px 40px rgba(0, 255, 136, 0.15); }
.ai-thor .ai-role { color: #00ff88; }

.ai-heimdallr:hover { border-color: #ff88ff; box-shadow: 0 20px 40px rgba(255, 136, 255, 0.15); }
.ai-heimdallr .ai-role { color: #ff88ff; }

.ai-freyja:hover { border-color: #ffa500; box-shadow: 0 20px 40px rgba(255, 165, 0, 0.15); }
.ai-freyja .ai-role { color: #ffa500; }

.ai-loki:hover { border-color: #00ffff; box-shadow: 0 20px 40px rgba(0, 255, 255, 0.15); }
.ai-loki .ai-role { color: #00ffff; }

.ai-fenrir:hover { border-color: #ff4444; box-shadow: 0 20px 40px rgba(255, 68, 68, 0.15); }
.ai-fenrir .ai-role { color: #ff4444; }

.ai-baldur:hover { border-color: #ffd700; box-shadow: 0 20px 40px rgba(255, 215, 0, 0.15); }
.ai-baldur .ai-role { color: #ffd700; }

.ai-gefjun:hover { border-color: #a855f7; box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15); }
.ai-gefjun .ai-role { color: #a855f7; }

.enterprise-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 12px;
}

/* Showcase Section */
.showcase-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.03) 100%);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 48px;
}

.showcase-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.showcase-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.showcase-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* DCC Section */
.dcc-section {
    padding: 120px 0;
    background: transparent;
}

.dcc-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.dcc-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dcc-text p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.dcc-features {
    list-style: none;
    padding: 0;
}

.dcc-features li {
    color: var(--light);
    padding: 8px 0;
    font-size: 1rem;
}

.dcc-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.dcc-image img {
    width: 100%;
    display: block;
}

/* Pricing Section */
.pricing-section {
    padding: 120px 0;
    background: transparent;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.billing-option {
    font-size: 0.95rem;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.2s;
}

.billing-option.active {
    color: var(--light);
    font-weight: 600;
}

.save-badge {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 6px;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border);
    border-radius: 26px;
    transition: 0.3s;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--light);
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.billed-yearly {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border);
    position: relative;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.08) 0%, var(--card-bg) 100%);
    box-shadow: 0 0 48px rgba(0, 212, 255, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--light);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.price-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Demo Section */
.demo-section {
    padding: 120px 0;
    background: transparent;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.demo-badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.15);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.demo-text h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.demo-text p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

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

.demo-benefits li {
    padding: 10px 0;
    color: var(--gray);
    font-size: 1rem;
}

.demo-form-container {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.demo-form h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.demo-form .form-group {
    margin-bottom: 16px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--light);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: transparent;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-note {
    text-align: center;
    margin-top: 24px;
    color: var(--gray-dark);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0369a1 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* Page Hero */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Company Page */
.company-story {
    padding: 80px 0;
}

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

.story-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.story-content p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Founders */
.founders-section {
    padding: 80px 0;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border);
    text-align: center;
}

.founder-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    border: 3px solid var(--primary);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.founder-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.founder-bio {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
}

.founder-bio em {
    color: var(--light);
}

.founder-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.founder-links a {
    color: var(--primary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.founder-links a:hover {
    color: var(--light);
}

/* Values */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border);
    text-align: center;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Careers Page */
.careers-section {
    padding: 80px 0;
}

.job-listing {
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.job-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.job-meta {
    display: flex;
    gap: 16px;
}

.job-type, .job-location {
    font-size: 0.9rem;
    color: var(--gray);
    background: rgba(255,255,255,0.05);
    padding: 4px 12px;
    border-radius: 20px;
}

.job-description h4 {
    font-size: 1.1rem;
    margin: 24px 0 12px;
    color: var(--light);
}

.job-description p {
    color: var(--gray);
    line-height: 1.7;
}

.job-description ul {
    color: var(--gray);
    margin-left: 20px;
    line-height: 1.8;
}

.job-description li {
    margin-bottom: 8px;
}

/* Apply Section */
.apply-section {
    padding: 80px 0;
}

.careers-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.careers-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light);
}

.careers-form select {
    width: 100%;
    padding: 14px 16px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
}

.file-input {
    padding: 14px 16px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--light);
    width: 100%;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Features Page */
.feature-detail {
    padding: 100px 0;
}

.feature-detail.alt {
    background: rgba(0,0,0,0.2);
}

.feature-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-detail-content.reverse {
    direction: rtl;
}

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

.feature-badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.2);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-detail-text h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-detail-text > p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.feature-list li {
    padding: 8px 0;
    color: var(--gray);
    padding-left: 24px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.feature-list li strong {
    color: var(--light);
}

.feature-detail-visual {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 400px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-detail-visual:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.feature-detail-visual img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 250px;
    object-fit: cover;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--primary);
}

.feature-placeholder {
    color: var(--gray);
    font-size: 1.1rem;
}

/* AI Assistants Page */
.ai-detail {
    padding: 100px 0;
}

.ai-thor-section { background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, transparent 50%); }
.ai-heimdallr-section { background: linear-gradient(135deg, rgba(255, 136, 255, 0.05) 0%, transparent 50%); }
.ai-freyja-section { background: linear-gradient(135deg, rgba(255, 165, 0, 0.05) 0%, transparent 50%); }
.ai-loki-section { background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, transparent 50%); }
.ai-fenrir-section { background: linear-gradient(135deg, rgba(255, 68, 68, 0.05) 0%, transparent 50%); }
.ai-baldur-section { background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, transparent 50%); }
.ai-gefjun-section { background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, transparent 50%); }

.ai-detail-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.ai-detail-content.reverse {
    grid-template-columns: 1fr 300px;
}

.ai-detail-content.reverse .ai-detail-image {
    order: 2;
}

.ai-detail-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.ai-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-detail-name {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.ai-thor-section .ai-detail-name { color: #00ff88; }
.ai-heimdallr-section .ai-detail-name { color: #ff88ff; }
.ai-freyja-section .ai-detail-name { color: #ffa500; }
.ai-loki-section .ai-detail-name { color: #00ffff; }
.ai-fenrir-section .ai-detail-name { color: #ff4444; }
.ai-baldur-section .ai-detail-name { color: #ffd700; }
.ai-gefjun-section .ai-detail-name { color: #a855f7; }

.enterprise-only-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.mobile-badge {
    display: inline-block;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.os-logos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.os-logo {
    font-size: 1.5rem;
    padding: 16px 24px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.feature-note {
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--secondary);
    color: var(--gray);
    font-size: 0.95rem;
}

.enterprise-note {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 24px;
    color: var(--gray);
    font-size: 0.95rem;
}

.enterprise-note strong {
    color: #ffd700;
}

/* Security Page - New Design */
.security-hero {
    padding: 140px 0 80px;
    text-align: center;
}

.security-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.security-badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.security-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.security-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.7;
}

.security-principle {
    padding: 60px 0;
}

.principle-box {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.02) 100%);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 20px;
    padding: 48px;
}

.principle-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 20px;
}

.principle-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.principle-text h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.principle-text p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.security-features-new {
    padding: 80px 0;
}

.security-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.3s, transform 0.3s;
}

.security-item:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-2px);
}

.security-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 12px;
}

.security-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.security-item-icon.baldur {
    background: rgba(255, 215, 0, 0.1);
    padding: 4px;
}

.security-item-icon.baldur img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.security-item-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.security-item-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.enterprise-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 8px;
    vertical-align: middle;
}

.security-item-baldur {
    border-color: rgba(255, 215, 0, 0.2);
}

.security-item-baldur:hover {
    border-color: rgba(255, 215, 0, 0.4);
}

.compliance-new {
    padding: 80px 0;
}

.compliance-row {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.compliance-check {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
}

.compliance-check svg {
    width: 20px;
    height: 20px;
    stroke: #22c55e;
}

.compliance-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.compliance-info p {
    color: var(--gray);
    font-size: 0.85rem;
    margin: 0;
}

.security-cta {
    padding: 80px 0;
}

.security-cta-box {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 60px;
}

.security-cta-box h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.security-cta-box p {
    color: var(--gray);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 28px;
}

/* Legal Pages (Privacy Policy, Terms of Service) */
.legal-page {
    padding: 120px 0 80px;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.legal-updated {
    color: var(--gray);
    font-size: 0.95rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--light);
}

.legal-section p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: none;
    margin: 16px 0;
}

.legal-section li {
    color: var(--gray);
    line-height: 1.7;
    padding: 8px 0 8px 24px;
    position: relative;
}

.legal-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.legal-section li strong {
    color: var(--light);
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-section a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.contact-info {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 8px;
}

/* Security Page Icons (SVG-based) */
.security-icon-svg {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.5;
}

.ai-detail-role {
    font-size: 1.1rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.ai-detail-tagline {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
}

.ai-detail-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.ai-detail-text h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--light);
}

.ai-capabilities {
    list-style: none;
    margin-bottom: 24px;
}

.ai-capabilities li {
    padding: 8px 0;
    color: var(--gray);
    padding-left: 24px;
    position: relative;
}

.ai-capabilities li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.ai-example {
    background: rgba(255,255,255,0.05);
    padding: 16px 20px;
    color: var(--gray);
    font-style: italic;
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.ai-screenshot {
    margin-top: 48px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ai-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.3);
}

.ai-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px;
    object-fit: cover;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 16px;
    font-size: 14px;
    max-width: 280px;
}

.footer-logo {
    height: 36px;
}

.footer-links-group h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light);
}

.footer-links-group a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-links-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.copyright {
    color: var(--gray-dark);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--light);
}

/* ── Mimir AI badge ── */
.ai-mimir:hover { border-color: #38bdf8; box-shadow: 0 20px 40px rgba(56, 189, 248, 0.15); }
.ai-mimir .ai-role { color: #38bdf8; }

/* ── Studio Login Page ── */
.studio-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.download-card { background: var(--card-bg); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; transition: border-color 0.3s, transform 0.3s; }
.download-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.download-card .dl-icon { font-size: 2.5rem; margin-bottom: 12px; }
.download-card h4 { margin-bottom: 8px; font-size: 1rem; }
.download-card p { color: var(--gray); font-size: 0.85rem; margin-bottom: 16px; }
.download-card .btn { width: 100%; }

/* ── AI Backends Page ── */
.backends-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.backend-card { background: var(--card-bg); backdrop-filter: blur(12px); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s; }
.backend-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.backend-card .backend-icon { font-size: 2.5rem; margin-bottom: 16px; }
.backend-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.backend-card .backend-tagline { color: var(--primary); font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.backend-card .backend-desc { color: var(--gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.backend-pros { list-style: none; }
.backend-pros li { padding: 6px 0 6px 24px; position: relative; color: var(--gray); font-size: 0.9rem; }
.backend-pros li::before { content: "\2713"; position: absolute; left: 0; color: var(--secondary); font-weight: bold; }
.backend-cons { list-style: none; margin-top: 12px; }
.backend-cons li { padding: 6px 0 6px 24px; position: relative; color: var(--gray-dark); font-size: 0.9rem; }
.backend-cons li::before { content: "\2717"; position: absolute; left: 0; color: #ef4444; }
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 48px; background: var(--card-bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.comparison-table th { background: rgba(0, 212, 255, 0.08); padding: 16px 20px; text-align: left; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); border-bottom: 1px solid var(--border); }
.comparison-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); color: var(--gray); font-size: 0.9rem; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(0, 212, 255, 0.03); }

/* ── Founders 3-col ── */
.founders-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 1024px) { .founders-grid-3 { grid-template-columns: 1fr; max-width: 500px; } .backends-grid { grid-template-columns: 1fr; } }

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1001;
}

.chat-toggle {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(14, 165, 233, 0.5);
}

.chat-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 380px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid var(--border);
}

.chat-box.hidden {
    display: none;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--primary);
}

.chat-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    height: 320px;
    overflow-y: auto;
    padding: 24px;
}

.chat-message {
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: 16px;
    max-width: 85%;
}

.chat-message.bot {
    background: var(--darker);
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    background: var(--primary);
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.chat-input-area {
    display: flex;
    padding: 16px;
    gap: 12px;
    border-top: 1px solid var(--border);
    background: var(--dark);
}

.chat-input-area input {
    flex: 1;
    padding: 12px 16px;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--light);
    font-size: 14px;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--primary);
}

.chat-send {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-send:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .dcc-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* New pages responsive */
    .founders-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

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

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

    .feature-detail-content.reverse {
        direction: ltr;
    }

    .ai-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .ai-detail-content.reverse {
        grid-template-columns: 1fr;
    }

    .ai-detail-content.reverse .ai-detail-image {
        order: 0;
    }

    .ai-detail-image {
        margin: 0 auto;
    }

    .ai-capabilities {
        text-align: left;
    }

    .security-grid-new {
        grid-template-columns: 1fr;
    }

    .principle-box {
        flex-direction: column;
        text-align: center;
    }

    .compliance-row {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        gap: 16px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

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

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

    .showcase-item.large {
        grid-column: span 1;
    }

    .ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .chat-box {
        width: 320px;
        right: -10px;
    }

    .job-header {
        flex-direction: column;
    }

    .careers-form {
        padding: 24px;
    }

    .ai-detail-image {
        width: 200px;
        height: 200px;
    }

    .ai-detail-name {
        font-size: 2rem;
    }

    .feature-detail-text h2 {
        font-size: 1.75rem;
    }

    .security-title {
        font-size: 2.5rem;
    }

    .security-cta-box {
        padding: 40px 24px;
    }
}

/* Hardware Configurator Styles */
.hardware-hero {
    padding: 80px 0 40px;
}

.hardware-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hardware-hero-text {
    text-align: left;
}

.hardware-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hardware-hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hardware-cta {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
}

.hardware-cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--light);
}

.hardware-cta-content p {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.configurator-section {
    padding: 80px 0;
}

.configurator-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.config-panel {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.config-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.config-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light);
}

.config-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.config-badge.required {
    background: rgba(14, 165, 233, 0.2);
    color: var(--primary);
}

.config-badge.optional {
    background: rgba(136, 136, 170, 0.2);
    color: var(--gray);
}

.config-desc {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.config-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.config-option.selected {
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.05);
}

.option-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-name {
    font-weight: 600;
    color: var(--light);
}

.option-specs {
    font-size: 0.85rem;
    color: var(--gray);
}

.option-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.storage-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.storage-options {
    margin-top: 20px;
}

.storage-capacity-group {
    margin-top: 20px;
}

.storage-capacity-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 12px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: block;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s;
}

.radio-option input[type="radio"]:checked + .radio-label {
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.05);
}

.capacity-name {
    font-weight: 500;
    color: var(--light);
}

.capacity-price {
    font-weight: 600;
    color: var(--primary);
}

.summary-panel {
    position: relative;
}

.summary-sticky {
    position: sticky;
    top: 100px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.summary-sticky h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--light);
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.item-name {
    font-size: 0.9rem;
    color: var(--gray);
}

.item-price {
    font-weight: 600;
    color: var(--light);
}

.summary-storage-info {
    margin: 20px 0;
    padding: 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
}

.storage-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--secondary);
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.summary-total span:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light);
}

.total-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.summary-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--gray);
    text-align: center;
    line-height: 1.5;
}

.included-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.included-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
}

.included-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.included-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--light);
}

.included-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .configurator-layout {
        grid-template-columns: 1fr;
    }

    .summary-sticky {
        position: relative;
        top: 0;
    }

    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hardware-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .hardware-cta {
        padding: 32px 24px;
    }

    .hardware-hero-image img {
        max-height: 500px;
    }
}

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .trusted-logos {
        gap: 20px;
    }
}

/* Why AnimaFlow Page Styles */
.why-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.why-section {
    padding: 120px 0 80px;
    background: #0a0a0a;
}

.why-step {
    margin-bottom: 120px;
}

.why-step:last-child {
    margin-bottom: 0;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-step.reverse .why-content {
    direction: rtl;
}

.why-step.reverse .why-text {
    direction: ltr;
}

.why-text {
    padding: 20px;
}

.step-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.why-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.why-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #b0b0b0;
}

.why-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

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

/* Responsive Why AnimaFlow */
@media (max-width: 968px) {
    .why-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-step.reverse .why-content {
        direction: ltr;
    }

    .why-text h2 {
        font-size: 2rem;
    }

    .why-image img {
        max-height: 400px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-large {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 640px) {
    .why-section {
        padding: 40px 0;
    }

    .why-step {
        margin-bottom: 60px;
    }

    .why-text h2 {
        font-size: 1.5rem;
    }

    .why-text p {
        font-size: 1rem;
    }

    .why-image img {
        max-height: 300px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* Security Note Styling */
.security-note {
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
    padding: 16px 20px;
    margin-top: 20px;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── Enhanced Demo Form ── */
.demo-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #a855f7, var(--primary));
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.demo-form h3 {
    text-align: center;
    font-size: 1.4rem !important;
    margin-bottom: 8px !important;
}

.demo-form .form-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.demo-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.demo-form button[type="submit"] {
    margin-top: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary), #0284c7);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    width: 100%;
}

.demo-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(14, 165, 233, 0.45);
}

.demo-form button[type="submit"]:active {
    transform: translateY(0);
}

.demo-form .form-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--gray-dark);
}

.demo-form .form-trust svg {
    width: 14px;
    height: 14px;
    fill: var(--primary);
}

.demo-form input:hover,
.demo-form textarea:hover,
.demo-form select:hover {
    border-color: rgba(14, 165, 233, 0.3);
}
