/* 
 * PAUI3 - Project Automated User Interface
 * Core Styles for Marketing Website
 */

/* Self-hosted fonts (SIL OFL 1.1) - migrated from Google Fonts */
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/inter-300.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-500.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700.woff2') format('woff2');}

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

:root {
    /* Core colors */
    --color-primary: #10b981;        /* Main brand color - emerald green */
    --color-primary-dark: #059669;   /* Darker shade */
    --color-primary-light: #34d399;  /* Lighter shade */
    --color-accent: #6366f1;         /* Accent color - indigo */
    
    /* Dark theme colors */
    --color-background: #0f172a;     /* Deep blue-black background */
    --color-background-alt: #1e293b; /* Slightly lighter background */
    --color-surface: #1e293b;        /* Card backgrounds - darker for better text contrast */
    --color-border: #475569;         /* Borders */
    
    /* Text colors */
    --color-text-primary: #f8fafc;   /* Main text color - brighter white for better contrast */
    --color-text-secondary: #cbd5e1; /* Secondary text - lighter blue-grey for better contrast */
    --color-text-tertiary: #94a3b8;  /* Muted text - brighter than before */
    --color-text: #f1f5f9;          /* Universal text color for readability */
    
    /* Effects */
    --glow-primary: 0 0 15px rgba(99, 102, 241, 0.5);
    --glow-accent: 0 0 30px rgba(16, 185, 129, 0.3);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-primary);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--color-primary);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--glow-primary), 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

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

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    color: var(--color-primary-light);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled {
    padding: 12px 0;
    background-color: rgba(15, 23, 42, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.logo-accent {
    color: var(--color-primary);
}

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

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--color-text-secondary);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
    margin-right: -15px;
    z-index: 110;
}

.hamburger {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-primary);
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-metrics {
    display: flex;
    gap: 40px;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    z-index: 2;
}

.metric-label {
    color: var(--color-text);
    margin-top: 0.5rem;
}

/* Rings for metrics on mobile */
@media (max-width: 768px) {
    .metric {
        position: relative;
        padding: 1.5rem 0;
    }
    
    .metric-number {
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-background-alt);
        border-radius: 50%;
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
        margin-bottom: 0.5rem;
    }
    
    .metric::before {
        content: '';
        position: absolute;
        width: 96px;
        height: 96px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        border: 2px solid var(--color-primary);
        opacity: 0.7;
        z-index: 1;
        animation: pulse-ring 3s infinite;
    }
    
    .metric::after {
        content: '';
        position: absolute;
        width: 110px;
        height: 110px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        border: 1px solid var(--color-primary);
        opacity: 0.4;
        z-index: 0;
        animation: pulse-ring 3s infinite 0.5s;
    }
    
    @keyframes pulse-ring {
        0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
        50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.4; }
        100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
    }
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
}

.hero-image-container {
    position: relative;
}

.pulse-glow {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(52, 152, 219, 0.6)); }
    100% { filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.3)); }
}

/* Sections */
section {
    padding: 80px 0;
    background-color: var(--color-background);
    color: var(--color-text);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

/* How It Works Brief */
.how-it-works-brief {
    background-color: var(--color-background);
}

.mode-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.mode-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
    z-index: 2;
    color: var(--color-text);
}

.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.mode-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mode-icon i {
    font-size: 2rem;
    color: white;
}

.analyse-mode {
    background-color: var(--color-primary);
}

.work-mode {
    background-color: var(--color-accent);
}

.mode-card h3 {
    margin-bottom: 15px;
}

.mode-features {
    text-align: left;
}

.mode-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.mode-features i {
    margin-right: 10px;
    color: var(--primary-color);
}

.mode-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.connector-line {
    width: 3px;
    height: 50px;
    background-color: var(--color-primary);
}

.connector-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.connector-icon i {
    color: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--glow-primary);
}

.never-stops {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
}

.never-stops-text {
    padding: 30px;
    position: relative;
}

.never-stops i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Features Preview */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--color-text);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--glow-primary);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.features-cta {
    text-align: center;
}

/* Automation Loop */
.automation-loop {
    background-color: var(--color-background-alt);
    position: relative;
    overflow: hidden;
}

.automation-loop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.loop-visualization {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible; /* This ensures arrows aren't clipped */
}

.loop-step {
    position: relative;
    background-color: var(--color-background-alt);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
    z-index: 2;
}

.loop-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--glow-primary);
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
}

.loop-step h3 {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    font-size: 1.3rem;
}

.loop-step p {
    color: var(--color-text);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Arrows */
.arrow-right,
.arrow-down,
.arrow-left,
.arrow-up {
    position: absolute;
    color: var(--color-accent);
    font-size: 1.8rem;
    animation: pulse-arrow 2.5s infinite ease-in-out;
    filter: drop-shadow(0 0 3px rgba(16, 185, 129, 0.5));
}

@keyframes pulse-arrow {
    0% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.6; transform: scale(0.9); }
}

.arrow-right { 
    right: -25px; 
    top: 50%; 
    transform: translateY(-50%); 
}

.arrow-left { 
    left: -25px; 
    top: 50%; 
    transform: translateY(-50%); 
}

.arrow-up { 
    top: -25px; 
    left: 50%; 
    transform: translateX(-50%); 
}

.arrow-down { 
    bottom: -25px; 
    left: 50%; 
    transform: translateX(-50%); 
}

.loop-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent));
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    z-index: 3;
}

.loop-infinity {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.25rem;
}

.loop-center p {
    font-size: 0.8rem;
    color: white;
    margin: 0;
    font-weight: 500;
}

.loop-infinity i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.25rem;
}

.loop-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.loop-cta {
    margin-top: 30px;
}

/* Use Cases */
.use-case-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.use-case {
    display: flex;
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    color: var(--color-text);
}

.use-case-content {
    padding: 40px;
    flex: 1;
}

.use-case h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.use-case-benefits {
    margin-top: 20px;
}

.use-case-benefits li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.use-case-benefits li:before {
    content: '✓';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 0;
}

.use-case-image {
    flex: 1;
    min-height: 300px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slider-prev, .slider-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-background-alt);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-text);
}

.slider-prev:hover, .slider-next:hover {
    background-color: var(--primary-color);
    color: white;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-background-alt);
    border: 1px solid var(--color-primary-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-background-alt);
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

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

.cta-section .btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.cta-section .btn-primary:hover {
    background-color: var(--light-color);
}

.cta-section .btn-secondary {
    border-color: var(--color-accent);
    color: var(--color-text-primary);
}

.cta-section .btn-secondary:hover {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-accent);
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 35%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 44%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    opacity: 0.6;
    z-index: 0;
}

/* Footer */
.site-footer {
    background-color: var(--color-background);
    color: var(--color-text-secondary);
    padding: 60px 0 20px;
    position: relative;
}

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

.footer-info {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-info p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.link-group h4 {
    color: white;
    margin-bottom: 20px;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group a {
    color: #aaa;
    transition: var(--transition);
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

.address {
    margin-top: 10px;
    color: #777;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        width: 45%;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-metrics {
        justify-content: center;
    }
    
    .hero-image {
        position: relative;
        width: 70%;
        top: auto;
        transform: none;
        margin: 40px auto 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mode-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .mode-connector {
        flex-direction: row;
        width: 200px;
        margin: 20px 0;
    }
    
    .connector-line {
        width: 80px;
        height: 3px;
    }
    
    .loop-visualization {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .loop-center {
        position: relative;
        grid-column: 1 / 3;
        grid-row: 4;
        transform: none;
        width: 100px;
        height: 100px;
        margin: var(--spacing-md) auto;
        top: auto;
        left: auto;
    }
    
    .arrow-right, .arrow-down, .arrow-left, .arrow-up {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-image {
        width: 90%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.3s ease;
        opacity: 0;
        pointer-events: none;
        z-index: 100;
    }
    
    .loop-visualization {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
    }
    
    .loop-center {
        grid-column: 1;
        grid-row: 7;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        pointer-events: auto;
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--color-text-primary);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .use-case {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
