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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --border-color: #374151;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);
    
    /* Modern Typography Variables */
    --font-display: 'Outfit', 'Manrope', sans-serif;
    --font-body: 'Manrope', 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --letter-spacing-tight: -0.03em;
    --letter-spacing-normal: -0.01em;
    --letter-spacing-wide: 0.02em;
    
    /* Fabric texture patterns */
    --fabric-weave: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='organic-weave' x='0' y='0' width='24' height='24' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0,1 Q6,0 12,1 T24,1' stroke='%23ffffff' stroke-width='0.8' fill='none' opacity='0.12'/%3E%3Cpath d='M0,3 Q6,2 12,3 T24,3' stroke='%23000000' stroke-width='0.4' fill='none' opacity='0.08'/%3E%3Cpath d='M0,5 Q6,4 12,5 T24,5' stroke='%23ffffff' stroke-width='0.6' fill='none' opacity='0.1'/%3E%3Cpath d='M0,7 Q6,6 12,7 T24,7' stroke='%23000000' stroke-width='0.3' fill='none' opacity='0.06'/%3E%3Cpath d='M0,9 Q6,8 12,9 T24,9' stroke='%23ffffff' stroke-width='0.7' fill='none' opacity='0.11'/%3E%3Cpath d='M0,11 Q6,10 12,11 T24,11' stroke='%23000000' stroke-width='0.5' fill='none' opacity='0.07'/%3E%3Cpath d='M0,13 Q6,12 12,13 T24,13' stroke='%23ffffff' stroke-width='0.9' fill='none' opacity='0.13'/%3E%3Cpath d='M0,15 Q6,14 12,15 T24,15' stroke='%23000000' stroke-width='0.4' fill='none' opacity='0.09'/%3E%3Cpath d='M0,17 Q6,16 12,17 T24,17' stroke='%23ffffff' stroke-width='0.6' fill='none' opacity='0.1'/%3E%3Cpath d='M0,19 Q6,18 12,19 T24,19' stroke='%23000000' stroke-width='0.3' fill='none' opacity='0.05'/%3E%3Cpath d='M0,21 Q6,20 12,21 T24,21' stroke='%23ffffff' stroke-width='0.8' fill='none' opacity='0.12'/%3E%3Cpath d='M0,23 Q6,22 12,23 T24,23' stroke='%23000000' stroke-width='0.4' fill='none' opacity='0.08'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='120' height='120' fill='url(%23organic-weave)'/%3E%3C/svg%3E");
    --fabric-thread: url("data:image/svg+xml,%3Csvg viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='organic-thread' x='0' y='0' width='8' height='8' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0,1 Q2,0.5 4,1 T8,1' stroke='%23ffffff' stroke-width='0.3' fill='none' opacity='0.15'/%3E%3Cpath d='M0,3 Q2,2.5 4,3 T8,3' stroke='%23000000' stroke-width='0.2' fill='none' opacity='0.1'/%3E%3Cpath d='M0,5 Q2,4.5 4,5 T8,5' stroke='%23ffffff' stroke-width='0.25' fill='none' opacity='0.12'/%3E%3Cpath d='M0,7 Q2,6.5 4,7 T8,7' stroke='%23000000' stroke-width='0.15' fill='none' opacity='0.08'/%3E%3Cpath d='M1,0 Q3,1 5,0 T7,0' stroke='%23ffffff' stroke-width='0.2' fill='none' opacity='0.1'/%3E%3Cpath d='M1,2 Q3,3 5,2 T7,2' stroke='%23000000' stroke-width='0.15' fill='none' opacity='0.07'/%3E%3Cpath d='M1,4 Q3,5 5,4 T7,4' stroke='%23ffffff' stroke-width='0.25' fill='none' opacity='0.11'/%3E%3Cpath d='M1,6 Q3,7 5,6 T7,6' stroke='%23000000' stroke-width='0.2' fill='none' opacity='0.09'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='80' height='80' fill='url(%23organic-thread)'/%3E%3C/svg%3E");
    --fabric-fiber: url("data:image/svg+xml,%3Csvg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='organic-fiber' x='0' y='0' width='6' height='6' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0,1 Q1.5,0.8 3,1 Q4.5,1.2 6,1' stroke='%23ffffff' stroke-width='0.15' fill='none' opacity='0.08'/%3E%3Cpath d='M0,3 Q1.5,2.8 3,3 Q4.5,3.2 6,3' stroke='%23000000' stroke-width='0.1' fill='none' opacity='0.05'/%3E%3Cpath d='M0,5 Q1.5,4.8 3,5 Q4.5,5.2 6,5' stroke='%23ffffff' stroke-width='0.12' fill='none' opacity='0.06'/%3E%3Cpath d='M1,0 Q2.5,1.2 4,0 Q5.5,-0.2 6,0' stroke='%23ffffff' stroke-width='0.1' fill='none' opacity='0.04'/%3E%3Cpath d='M1,2 Q2.5,3.2 4,2 Q5.5,0.8 6,2' stroke='%23000000' stroke-width='0.08' fill='none' opacity='0.03'/%3E%3Cpath d='M1,4 Q2.5,5.2 4,4 Q5.5,2.8 6,4' stroke='%23ffffff' stroke-width='0.12' fill='none' opacity='0.05'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='40' height='40' fill='url(%23organic-fiber)'/%3E%3C/svg%3E");
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: var(--font-weight-regular);
    letter-spacing: var(--letter-spacing-normal);
}



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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}


.nav-logo-text h2 {
    font-family: var(--font-display);
    background: linear-gradient(135deg, 
        #2d3748 0%, 
        #4a5568 20%, 
        #718096 40%, 
        #4299e1 60%, 
        #667eea 80%, 
        #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: var(--font-weight-extrabold);
    font-size: 1.5rem;
    letter-spacing: var(--letter-spacing-tight);
    margin: 0;
    font-stretch: condensed;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.2),
        2px 2px 3px rgba(0, 0, 0, 0.15),
        0 1px 0px rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.nav-logo-text h2:hover {
    transform: scale(1.02);
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.15);
}

.nav-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 72vh;
    display: flex;
    align-items: center;
    
    /* Dark background for 3D wave */
    background: 
        linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,.6) 40%, rgba(0,0,0,.9)),
        #000;
}

/* Three.js 3D Wave Canvas */
.wave-3d {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

#wave-canvas {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.9;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 15;
    width: 100%;
}

.hero-content {
    text-align: left;
    color: white;
    position: relative;
    z-index: 20;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 20;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: var(--letter-spacing-tight);
    font-stretch: condensed;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    transform: perspective(1000px) rotateX(2deg);
    transition: all 0.3s ease;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.1),
        2px 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 0px rgba(255, 255, 255, 0.1);
}

.hero-title:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.01);
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.15),
        2px 2px 6px rgba(0, 0, 0, 0.15),
        0 1px 0px rgba(255, 255, 255, 0.15);
}

.gradient-text {
    background: linear-gradient(135deg, 
        #2d3748 0%, 
        #4a5568 12%, 
        #718096 25%, 
        #4299e1 37%, 
        #667eea 50%, 
        #764ba2 62%, 
        #f093fb 75%, 
        #f5576c 87%, 
        #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 400% 400%;
    animation: fabricFlow 8s ease-in-out infinite;
    position: relative;
    color: var(--primary-color); /* Fallback for browsers that don't support background-clip: text */
    display: inline-block;
    font-weight: inherit;
    line-height: inherit;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0px rgba(255, 255, 255, 0.1);
    position: relative;
}

.gradient-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        var(--fabric-fiber),
        var(--fabric-thread),
        var(--fabric-weave);
    background-blend-mode: soft-light, overlay, normal;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Fabric gradient animation */
@keyframes fabricFlow {
    0% { background-position: 0% 0%; }
    20% { background-position: 100% 0%; }
    40% { background-position: 100% 100%; }
    60% { background-position: 0% 100%; }
    80% { background-position: 0% 0%; }
    100% { background-position: 0% 0%; }
}

/* Ensure gradient text works in all browsers */
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .gradient-text {
        color: transparent;
    }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: var(--font-weight-regular);
    letter-spacing: var(--letter-spacing-normal);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: var(--letter-spacing-normal);
    text-transform: uppercase;
    font-stretch: condensed;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}



/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: var(--letter-spacing-tight);
    text-transform: uppercase;
    font-stretch: condensed;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Features Section */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: white;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: var(--letter-spacing-normal);
    text-transform: uppercase;
    font-stretch: condensed;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* Architecture Section */
.architecture {
    background: var(--bg-primary);
}

.architecture-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.architecture-diagram {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.mermaid {
    background: var(--bg-dark);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.architecture-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 100%;
}

.arch-feature {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.arch-feature h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.arch-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.arch-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.arch-feature:hover .arch-icon svg {
    transform: scale(1.1);
}

.arch-feature p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Use Cases Section */
.use-cases {
    background: var(--bg-secondary);
}

.use-cases-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.use-case-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    color: white;
    margin: 0 auto 1.5rem;
}

.use-case-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.use-case-card:hover .use-case-icon svg {
    transform: scale(1.1);
}

.use-case-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: -0.01em;
}

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

.use-case-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.benefit {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    border: 1px solid var(--primary-color);
}

.use-cases-cta {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.use-cases-cta h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.use-cases-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.getting-started-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.code-block {
    background: var(--bg-dark);
    color: #e5e7eb;
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    overflow-x: auto;
}

.code-block code {
    display: block;
    margin-bottom: 0.5rem;
}

.code-block code:last-child {
    margin-bottom: 0;
}

.cta-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.cta-section h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--bg-dark);
    color: var(--text-primary);
}

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

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

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}


.footer-logo-text h3 {
    font-family: var(--font-display);
    background: linear-gradient(135deg, 
        #2d3748 0%, 
        #4a5568 25%, 
        #718096 50%, 
        #4299e1 75%, 
        #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin: 0 0 0.5rem 0;
    letter-spacing: var(--letter-spacing-tight);
    font-stretch: condensed;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.15),
        2px 2px 2px rgba(0, 0, 0, 0.1),
        0 1px 0px rgba(255, 255, 255, 0.08);
}

.footer-logo-text p {
    color: var(--text-light);
    margin: 0;
}

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

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    color: white;
}

.footer-column a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    
    .nav-logo-text h2 {
        font-size: 1.25rem;
    }
    
    .nav-tagline {
        font-size: 0.75rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-image {
        max-height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .architecture-features {
        grid-template-columns: 1fr;
    }
    
    .getting-started-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .wave-3d {
        height: 100%;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for Mermaid */
.mermaid {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mermaid:not(.loaded)::before {
    content: 'Loading diagram...';
    color: var(--text-light);
    font-style: italic;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
