@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for design tokens */
:root {
    --bg-dark: #03030b;
    --bg-darker: #010105;
    --bg-card: rgba(13, 13, 33, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(139, 92, 246, 0.5);
    
    --color-primary: #8b5cf6; /* Electric Violet */
    --color-primary-glow: rgba(139, 92, 246, 0.15);
    --color-secondary: #06b6d4; /* Neon Cyan */
    --color-secondary-glow: rgba(6, 182, 212, 0.15);
    --color-accent: #f43f5e; /* Coral Pink */
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    line-height: 1.6;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08) 0%, rgba(3, 3, 11, 0) 50%),
                radial-gradient(circle at 100% 60%, rgba(6, 182, 212, 0.05) 0%, rgba(3, 3, 11, 0) 40%),
                var(--bg-dark);
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sticky Navbar with Glassmorphism */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 3, 11, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

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

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--bg-dark);
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition-smooth);
}

.nav-link.active {
    color: var(--text-main);
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.mobile-cta-item {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-secondary);
    animation: pulse 1.5s infinite alternate;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-primary) 30%, var(--color-secondary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Floating Visuals on Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-canvas {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-sphere {
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    backdrop-filter: blur(10px);
    animation: blob-bounce 8s ease-in-out infinite alternate;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.05),
                0 15px 35px rgba(0, 0, 0, 0.5),
                0 0 50px rgba(139, 92, 246, 0.2);
}

.visual-core {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    box-shadow: 0 0 35px var(--color-primary);
    position: relative;
}

.visual-ring {
    position: absolute;
    border: 1.5px dashed rgba(6, 182, 212, 0.4);
    border-radius: 50%;
}

.visual-ring.ring-1 {
    width: 340px;
    height: 340px;
    animation: rotate 20s linear infinite;
}

.visual-ring.ring-2 {
    width: 400px;
    height: 400px;
    animation: rotate-reverse 25s linear infinite;
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Common Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Cards & Grid Styling */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08),
                inset 0 0 15px rgba(255, 255, 255, 0.02);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: var(--transition-smooth);
}

.card:hover .card-icon {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.card-icon.cyan {
    background: rgba(6, 182, 212, 0.08);
    color: var(--color-secondary);
    border-color: rgba(6, 182, 212, 0.15);
}

.card:hover .card-icon.cyan {
    background: var(--color-secondary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.card-title {
    font-size: 1.35rem;
    font-weight: 600;
}

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

.card-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-top: auto;
}

.card-link svg {
    transition: var(--transition-smooth);
}

.card:hover .card-link svg {
    transform: translateX(4px);
}

/* Feature Showcase (Alternating split blocks) */
.feature-split {
    display: flex;
    flex-direction: column;
    gap: 7rem;
}

.split-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
}

.split-row.reversed {
    direction: rtl;
}

.split-row.reversed .split-content {
    direction: ltr;
}

.split-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.split-title {
    font-size: 2.2rem;
    font-weight: 800;
}

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

.split-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.split-bullet-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.bullet-icon {
    margin-top: 0.25rem;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.bullet-text strong {
    color: var(--text-main);
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.split-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    aspect-ratio: 1.5;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Showcase Screen Mockups inside visuals */
.mock-ui {
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mock-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.mock-dot.red { background-color: #ef4444; }
.mock-dot.yellow { background-color: #eab308; }
.mock-dot.green { background-color: #22c55e; }

.mock-address {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-dark);
    padding: 0.2rem 0.75rem;
    margin-left: 1rem;
    font-family: monospace;
}

.mock-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.85rem;
}

/* Chat bubble mockup */
.mock-chat-bubble {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 80%;
}

.mock-chat-bubble.user {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.mock-chat-bubble.ai {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.15);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

/* RAG visualizer steps */
.rag-nodes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem 1rem;
}

.rag-node {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.rag-node.active {
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px var(--color-secondary-glow);
    background: rgba(6, 182, 212, 0.05);
    transform: scale(1.05);
}

.rag-arrow {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--border-color), var(--border-color));
    position: relative;
}

.rag-arrow.active {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.rag-arrow.active::after {
    content: '';
    position: absolute;
    top: -3px;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-secondary);
    border-right: 2px solid var(--color-secondary);
    transform: rotate(45deg);
}

/* About Us Story and Cultural Integration */
.story-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.art-container {
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 60%);
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.mithila-art-svg {
    width: 85%;
    height: 85%;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1.5;
    fill: none;
    transition: var(--transition-slow);
}

.art-container:hover .mithila-art-svg {
    stroke: var(--color-primary);
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.4));
}

/* Interactive Demo Page Layout */
.demo-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.demo-pipeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.pipeline-step {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    align-items: center;
    transition: var(--transition-smooth);
}

.pipeline-step.active {
    background: rgba(139, 92, 246, 0.03);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.pipeline-step.active .step-num {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.step-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.demo-trigger-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.demo-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.demo-input:focus {
    outline: none;
    border-color: var(--color-secondary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px var(--color-secondary-glow);
}

/* Contact Page Form & FAQs */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.85rem 1.2rem;
    color: white;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

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

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

.faq-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    user-select: none;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.75rem;
    display: none;
    line-height: 1.6;
}

.faq-icon {
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    color: var(--color-secondary);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Footer Section */
.footer {
    margin-top: auto;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

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

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.9rem;
}

.footer-link {
    color: var(--text-muted);
}

.footer-link:hover {
    color: var(--color-secondary);
    transform: translateX(3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: white;
    font-size: 0.85rem;
}

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

.btn-icon {
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    background: var(--color-primary);
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-dark);
}

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

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(6, 182, 212, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-reverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes blob-bounce {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translateY(0);
    }
    50% {
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
        transform: translateY(-8px);
    }
    100% {
        border-radius: 60% 40% 60% 40% / 40% 50% 50% 60%;
        transform: translateY(4px);
    }
}

/* Scroll reveal helper classes */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 1.35rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 991px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .navbar-container > #header-cta {
        display: none;
    }

    .mobile-cta-item {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0 1.5rem;
        margin-top: 1rem;
    }

    .mobile-cta-item .mobile-cta {
        display: inline-block;
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-darker);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        padding-bottom: 5rem;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .badge {
        align-self: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .visual-canvas {
        max-width: 320px;
    }
    
    .visual-sphere {
        width: 180px;
        height: 180px;
    }
    
    .visual-ring.ring-1 {
        width: 240px;
        height: 240px;
    }
    
    .visual-ring.ring-2 {
        width: 280px;
        height: 280px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .split-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .split-row.reversed {
        direction: ltr;
    }

    .split-visual {
        aspect-ratio: auto;
        height: auto;
        min-height: 280px;
        padding: 1.5rem;
    }

    .mock-ui {
        height: auto;
    }
    
    .story-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }

    .demo-container {
        padding: 2rem 1.5rem;
    }

    .demo-trigger-box {
        flex-direction: column;
        gap: 1rem;
    }

    .demo-trigger-box .btn {
        width: 100%;
    }

    .pipeline-step {
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.22rem;
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 26px;
        height: 26px;
        border-radius: 6px;
    }
    
    .logo-icon::after {
        width: 10px;
        height: 10px;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
