/*
 * BALANTIUM MAIN STYLES - Spectral Coherence Architecture
 * Dark, sophisticated layouts with living system energy
 * Mathematical precision throughout
 */

/* === GLOBAL STYLES === */
body {
    background: var(--background);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-radial);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* === CONTAINERS === */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* === NAVIGATION (Cerebral Cortex) === */
.nav-cortex {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--surface-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.nav-cortex.scrolled {
    background: rgba(26, 28, 36, 0.95);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(122, 59, 228, 0.1);
    border-bottom-color: var(--border-glow);
}

.nav-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    box-sizing: border-box;
}

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

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 4rem;
    }
}

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

.nav-logo .logo-img {
    height: 40px;
    width: 40px;
    filter: drop-shadow(0 0 6px rgba(49,227,224,0.4));
    transition: all var(--transition-base);
}

.nav-logo .logo-img:hover {
    filter: drop-shadow(0 0 12px rgba(49,227,224,0.6));
}

.nav-logo a {
    text-decoration: none;
}

.nav-logo .logo-text {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.nav-logo a:hover .logo-text {
    filter: drop-shadow(0 0 10px rgba(122, 59, 228, 0.5));
}

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

.nav-links a {
    opacity: 1;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--accent);
    animation: glowPulse 2.5s infinite ease-in-out;
}

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

.nav-link-cta {
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
}

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

/* Mobile hamburger */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-2);
    cursor: pointer;
}

@media (min-width: 1024px) {
    .nav-hamburger {
        display: none;
    }
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* === SECTIONS === */
.section {
    padding: 6rem 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

.section-light {
    background: var(--surface);
    position: relative;
}

.section-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.section-title {
    font-size: 2rem;
    font-weight: var(--weight-bold);
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 1rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 4rem;
        margin-top: 2rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* === HERO SECTION (Sensory Organs) === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) var(--space-5);
    background: var(--gradient-primary);
    background-size: 400% 400%;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    animation: gradient-shift 15s ease infinite;
}

/* Particles.js Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

/* Particle System */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(49, 227, 224, 0.02), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(122, 59, 228, 0.02), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.02), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(49, 227, 224, 0.02), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(122, 59, 228, 0.02), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.02), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: float-particle 60s ease-in-out infinite;
    pointer-events: none;
}

/* Glow overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(122, 59, 228, 0.15) 0%, transparent 70%);
    animation: spectral-pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .hero-container {
        padding: 0 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-container {
        padding: 0 4rem;
    }
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--text-primary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* SSRN Badge */
.ssrn-badge {
    max-width: 700px;
    margin: var(--space-5) auto;
    padding: var(--space-5);
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    box-shadow: var(--glow-subtle);
}

.badge-icon {
    font-size: var(--text-2xl);
    color: var(--accent);
}

.badge-content {
    text-align: left;
    flex: 1;
}

.badge-content strong {
    display: block;
    margin-bottom: var(--space-1);
    color: var(--text-primary);
    font-size: var(--text-base);
}

.badge-link {
    color: var(--accent);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--accent);
}

.badge-link:hover {
    color: var(--accent-light);
    border-bottom-color: var(--accent-light);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
    margin-top: var(--space-8);
}

/* === FEATURES GRID === */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === TECHNOLOGY TABS === */
.tech-tabs {
    max-width: 1000px;
    margin: var(--space-8) auto 0;
}

.tech-content {
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glow);
    box-shadow: var(--glow-subtle);
    margin-bottom: 2rem;
}

.tech-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.tech-icon-large {
    font-size: var(--text-6xl);
}

.tech-header h3 {
    font-size: var(--text-3xl);
    color: var(--text-primary);
}

.tech-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.tech-metrics, .tech-use-cases {
    margin-top: var(--space-6);
}

.tech-metrics h4, .tech-use-cases h4 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.metrics-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.metrics-list li {
    padding: var(--space-2) var(--space-3);
    background: var(--surface);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
}

.tech-use-cases ul {
    list-style: disc;
    padding-left: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* === BENCHMARKS TABLE === */
.benchmark-table-container {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.benchmark-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glow-subtle);
    border: 1px solid var(--border-glow);
}

.benchmark-table thead {
    background: var(--primary);
    color: white;
}

.benchmark-table th {
    padding: var(--space-4);
    text-align: left;
    font-weight: var(--weight-semibold);
    font-size: var(--text-base);
}

.benchmark-table td {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.benchmark-table tbody tr:last-child td {
    border-bottom: none;
}

.benchmark-table tbody tr:hover {
    background: var(--surface);
}

.value-highlight {
    color: var(--accent);
    font-weight: var(--weight-semibold);
}

.improvement {
    color: var(--primary);
    font-weight: var(--weight-bold);
}

/* === USE CASES GRID === */
.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.use-case-card {
    background: rgba(26, 28, 36, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid #7A3BE4;
    box-shadow: 0 0 20px rgba(122, 59, 228, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    overflow: visible;
}

.use-case-card:hover {
    border-color: #9A5BFF;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(122, 59, 228, 0.6);
    transform: translateY(-4px);
}

.case-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    line-height: 1;
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.use-case-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.case-metrics {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.case-metrics li {
    padding: var(--space-2);
    background: var(--surface);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.case-metrics li::before {
    content: '✓ ';
    color: var(--accent);
    font-weight: var(--weight-bold);
}

/* === INTERACTIVE DEMO SECTION === */
.demo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.iframe-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--glow-subtle);
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius-lg);
}

.demo-note {
    text-align: center;
    margin-top: var(--space-5);
    color: var(--text-secondary);
    font-size: var(--text-base);
    padding: var(--space-3);
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.demo-note strong {
    color: var(--accent);
}

/* === ACADEMIC SECTION === */
.academic-content {
    max-width: 1000px;
    margin: 0 auto;
}

.publication-card {
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glow);
    margin-bottom: 2.5rem;
    box-shadow: var(--glow-subtle);
}

.publication-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-4);
}

.publication-badge-top10 {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--accent);
    color: white;
    border-radius: var(--radius-md);
    font-weight: var(--weight-semibold);
    margin: var(--space-4) 0;
}

.publication-card h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
    line-height: 1.4;
}

.publication-meta {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.clay-problems {
    margin-top: 2.5rem;
    padding: 2.5rem;
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glow);
    box-shadow: var(--glow-subtle);
}

.clay-problems h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.clay-problems > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
}

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

@media (min-width: 768px) {
    .clay-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .clay-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.clay-card {
    padding: var(--space-4);
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.clay-sense {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.clay-card h4 {
    font-size: var(--text-lg);
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.clay-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.math-framework {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: var(--surface);
    border-radius: var(--radius-lg);
}

.math-framework h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
}

.math-framework ul {
    list-style: disc;
    padding-left: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* === DOCUMENTATION GRID === */
.docs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .docs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.docs-section {
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glow);
    box-shadow: var(--glow-subtle);
}

.docs-section h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.docs-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.doc-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3);
    background: var(--surface);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.doc-link:hover {
    background: var(--primary-light);
    color: white;
    transform: translateX(4px);
}

.doc-badge {
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
}

/* === CONTACT FORM === */
.contact-container {
    max-width: 1000px;
    margin: var(--space-8) auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-form {
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glow);
    box-shadow: var(--glow-subtle);
}

.contact-info {
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
}

.contact-info h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.contact-info p {
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
}

.contact-note {
    margin-top: var(--space-6);
    padding: var(--space-4);
    background: var(--surface);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.contact-note p {
    margin-bottom: var(--space-1);
}

/* === FOOTER (Epithelial Boundary) === */
.footer-boundary {
    background: var(--midnight-graphite);
    background-image: var(--gradient-radial);
    border-top: 1px solid var(--border-glow);
    color: var(--text-secondary);
    padding: var(--space-21) 0 var(--space-8);
    position: relative;
}

.footer-boundary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.footer-container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: 2fr 3fr;
    }
}

.footer-brand h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.footer-tagline {
    color: var(--accent) !important;
    font-weight: var(--weight-semibold);
    text-shadow: 0 0 20px rgba(49, 227, 224, 0.3);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.footer-column h4 {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    transition: all var(--transition-base);
    position: relative;
    padding-left: var(--space-1);
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
}

.footer-column a:hover {
    color: var(--accent);
    padding-left: var(--space-3);
}

.footer-column a:hover::before {
    width: 12px;
}

.footer-bottom {
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-tertiary);
    font-size: var(--text-sm);
}

.footer-bottom p {
    margin-bottom: var(--space-2);
}

.footer-legal {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-4);
}

.footer-legal a {
    color: var(--text-tertiary);
    transition: color var(--transition-base);
}

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--text-2xl) !important;
    }
    
    .nav-container {
        padding: 0 var(--space-3);
    }
}

@media (max-width: 767px) {
    body {
        font-size: 0.95rem;
    }
    
    .section {
        padding: var(--space-8) 0;
    }
    
    .section-title {
        font-size: var(--text-xl);
    }
    
    .section-subtitle {
        font-size: var(--text-base);
    }
    
    .hero-section {
        padding: var(--space-5) var(--space-3);
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: var(--text-xl) !important;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: var(--text-sm);
    }
    
    .features-grid,
    .tech-grid,
    .use-cases-grid,
    .docs-grid {
        grid-template-columns: 1fr !important;
    }
    
    .nav-container {
        height: 60px;
    }
    
    .nav-logo .logo-text {
        font-size: var(--text-base);
    }
    
    .metrics-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-lg) !important;
    }
    
    .nav-logo .logo-text {
        font-size: var(--text-sm);
        letter-spacing: 0.02em;
    }
    
    .nav-logo .logo-img {
        height: 32px;
        width: 32px;
    }
    
    .nav-container {
        padding: 0 var(--space-2);
    }
    
    .section-title {
        font-size: var(--text-lg);
    }
    
    .metrics-grid {
        gap: var(--space-3);
    }
    
    .metric-card {
        padding: var(--space-3);
    }
}

