/**
 * AINNA Edge AI Lab - Stylesheet
 * Minimalist Futuristic IoT Design
 * Default: Night Mode (Dark)
 */

/* ===== CSS VARIABLES ===== */
:root {
    /* Night Mode (Default) */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: rgba(20, 20, 30, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #6a6a80;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-1: #ff9ff3;
    --gradient-2: #feca57;
    --gradient-3: #ff6b6b;
    --gradient-4: #48dbfb;
    --gradient-5: #1dd1a1;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.2);
    --glass-bg: rgba(20, 20, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Day Mode (Default) */
body:not(.dark-mode) {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #efeff1;
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-muted: #a1a1a6;
    --accent-primary: #0071e3;
    --accent-secondary: #5ac8fa;
    --accent-glow: rgba(0, 113, 227, 0.15);
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(0, 113, 227, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(0, 0, 0, 0.05);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, 
        var(--gradient-1) 0%, 
        var(--gradient-2) 20%, 
        var(--gradient-3) 40%, 
        var(--gradient-4) 70%, 
        var(--gradient-5) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo-icon {
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.main-nav a:hover {
    opacity: 0.8;
}

.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    transform: rotate(30deg);
    background: var(--bg-card);
}

.toggle-icon {
    font-size: 18px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 15, 0.5) 0%,
        rgba(10, 10, 15, 0.4) 50%,
        rgba(10, 10, 15, 0.5) 100%
    );
    backdrop-filter: blur(2px);
}

body:not(.dark-mode) .hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.5) 100%
    );
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ===== SECTIONS COMMON ===== */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

/* ===== SOLUTION SECTION ===== */
.solution-section {
    background: var(--bg-primary);
}

.solution-scroll-container {
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.solution-scroll-wrapper {
    display: flex;
    align-items: center;
    animation: autoScroll 20s linear infinite;
    width: max-content;
}

.solution-scroll-wrapper:hover {
    animation-play-state: paused;
}

.solution-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    min-width: 220px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.solution-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.3);
}

.solution-icon {
    font-size: 40px;
    margin-bottom: 14px;
    display: block;
}

.solution-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.solution-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.solution-arrow {
    font-size: 28px;
    color: var(--accent-primary);
    font-weight: 700;
    flex-shrink: 0;
    margin: 0 10px;
}

.solution-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    font-size: 16px;
}

.benefit-check {
    background: linear-gradient(135deg, var(--gradient-4), var(--gradient-5));
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== TECHNOLOGY SECTION ===== */
.technology-section {
    background: var(--bg-secondary);
}

.tech-scroll-container {
    overflow: hidden;
    position: relative;
}

.tech-scroll-wrapper {
    display: flex;
    gap: 20px;
    animation: autoScroll 30s linear infinite;
    width: max-content;
}

.tech-scroll-wrapper:hover {
    animation-play-state: paused;
}

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

.tech-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    min-width: 260px;
    max-width: 260px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.tech-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.3);
}

.tech-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.tech-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

.tech-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== USE CASES SECTION ===== */
.use-cases-section {
    background: var(--bg-primary);
}

.use-cases-scroll-container {
    overflow: hidden;
    position: relative;
}

.use-cases-scroll-wrapper {
    display: flex;
    gap: 20px;
    animation: autoScroll 35s linear infinite;
    width: max-content;
}

.use-cases-scroll-wrapper:hover {
    animation-play-state: paused;
}

.use-case-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    min-width: 240px;
    max-width: 240px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.use-case-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.3);
}

.use-case-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.use-case-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.use-case-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== SLM SECTION ===== */
.slm-section {
    background: var(--bg-secondary);
}

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

.slm-intro {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.slm-intro strong {
    color: var(--text-primary);
    font-weight: 600;
}

.highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.slm-features {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.slm-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.slm-feature h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-weight: 600;
}

.slm-feature p {
    font-size: 13px;
    color: var(--text-secondary);
}

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

.model-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.3);
}

.cloud-model {
    border-color: var(--text-muted);
}

.edge-model {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px var(--shadow-soft), 0 0 30px var(--accent-glow);
}

.model-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.model-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.vs-badge {
    background: var(--accent-primary);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* ===== ROUTING SECTION ===== */
.routing-section {
    background: var(--bg-secondary);
}

.routing-scroll-container {
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.routing-scroll-wrapper {
    display: flex;
    animation: autoScroll 25s linear infinite;
    width: max-content;
}

.routing-scroll-wrapper:hover {
    animation-play-state: paused;
}

.routing-flow-horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flow-node-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flow-node {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.flow-node:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.3);
}

.node-icon {
    font-size: 28px;
}

.flow-node span:last-child {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

.flow-arrow {
    font-size: 24px;
    color: var(--accent-primary);
    font-weight: 700;
}

.flow-arrow.complex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.flow-arrow small {
    font-size: 9px;
    color: var(--text-muted);
}

.routing-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
}

.info-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.info-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.info-card ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.info-card li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

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

/* ===== UNIVERSITY & SME SECTION ===== */
.university-section {
    background: var(--bg-primary);
}

.university-scroll-container {
    overflow: hidden;
    position: relative;
}

.university-scroll-wrapper {
    display: flex;
    gap: 20px;
    animation: autoScroll 30s linear infinite;
    width: max-content;
}

.university-scroll-wrapper:hover {
    animation-play-state: paused;
}

.university-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    min-width: 260px;
    max-width: 260px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.university-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.3);
}

.university-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.university-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

.university-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.vision-scroll-container {
    overflow: hidden;
    position: relative;
}

.vision-scroll-wrapper {
    display: flex;
    gap: 20px;
    animation: autoScroll 28s linear infinite;
    width: max-content;
}
.vision-scroll-wrapper:hover {
    animation-play-state: paused;
}

.vision-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    min-width: 260px;
    max-width: 260px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.vision-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.3);
}

.vision-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.vision-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

.vision-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== FINAL CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
    padding: 120px 0;
}

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

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 18px 40px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 8px 30px var(--accent-glow);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.cta-note {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

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

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-note {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--accent-primary);
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .solution-architecture,
    .slm-content,
    .university-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .model-comparison {
        flex-direction: row;
        gap: 15px;
    }
    
    .model-card {
        min-width: 160px;
        padding: 20px;
    }
    
    .routing-flow-horizontal {
        gap: 15px;
    }
    
    .flow-node {
        min-width: 140px;
        padding: 16px 20px;
    }
    
    .node-icon {
        font-size: 28px;
    }
    
    .flow-node span:last-child {
        font-size: 12px;
    }
    
    .routing-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    /* Keep single row on mobile - smaller cards */
    .tech-card,
    .use-case-card,
    .vision-card,
    .solution-card {
        min-width: 220px;
        max-width: 220px;
        padding: 20px;
    }
    
    .tech-icon,
    .vision-icon {
        font-size: 36px;
    }
    
    .use-case-icon {
        font-size: 32px;
    }
    
    .tech-card h3,
    .use-case-card h3,
    .vision-card h3 {
        font-size: 14px;
    }
    
    .tech-card p,
    .use-case-card p,
    .vision-card p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* Ultra compact cards on small mobile */
    .tech-card,
    .use-case-card,
    .vision-card,
    .solution-card {
        min-width: 200px;
        max-width: 200px;
        padding: 18px;
    }
}
