/* ==========================================================================
   Toro.ai Premium CSS Style Sheet
   ========================================================================== */

/* Variables & Design System */
:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(22, 28, 45, 0.45);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-hover-border: rgba(99, 102, 241, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary: #6366f1; /* Indigo */
    --primary-glow: rgba(99, 102, 241, 0.15);
    --secondary: #a855f7; /* Purple */
    --accent: #06b6d4; /* Cyan */
    --accent-glow: rgba(6, 182, 212, 0.15);
    --success: #10b981; /* Green */
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Blobs */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.glow-purple {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

.glow-cyan {
    top: 400px;
    right: -150px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

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

/* Navigation Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(11, 15, 25, 0.7);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-img-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-logo-img {
    margin-right: 0.5rem;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.github-btn {
    color: var(--text-secondary);
    font-size: 1.4rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.github-btn:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.cta-nav-btn {
    text-decoration: none;
    color: var(--bg-color);
    background-color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.cta-nav-btn:hover {
    background-color: var(--accent);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    transform: translateY(-1px);
}

/* Sections Global Styling */
section {
    padding: 7rem 2rem 5rem 2rem;
    position: relative;
    z-index: 1;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.75rem;
    background: var(--accent-glow);
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Hero Section */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-container {
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 0.45rem 1rem;
    border-radius: 99px;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.hero-title {
    font-size: 4rem;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin-bottom: 3rem;
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 5rem;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 1rem 2.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.55);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.hero-cta-macos {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: not-allowed;
    user-select: none;
}

.soon-badge {
    background: rgba(168, 85, 247, 0.12);
    color: #c4b5fd;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.25rem;
    border: 1px solid rgba(168, 85, 247, 0.25);
    letter-spacing: 0.5px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    max-width: 800px;
    border-top: 1px solid var(--card-border);
    padding-top: 3rem;
}

.metric-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1;
}

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

.divider {
    width: 1px;
    height: 40px;
    background-color: var(--card-border);
}

/* Interactive Simulator */
.simulator-widget {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.simulator-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1rem;
}

.sim-tab {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sim-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.sim-tab.active {
    color: var(--primary);
    background: var(--primary-glow);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.simulator-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
    align-items: stretch;
}

.sim-panel {
    background: rgba(11, 15, 25, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.panel-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audio-timer, .copy-status {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.copy-status.active {
    color: var(--success);
    font-weight: 600;
}

.audio-visualizer-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1.5rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.visualizer-bars {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 40px;
}

.visualizer-bars .bar {
    width: 4px;
    height: 100%;
    background-color: var(--text-muted);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Wave Playing Animation */
.visualizer-bars.playing .bar {
    background-color: var(--accent);
    animation: bounce 1s ease-in-out infinite alternate;
}

.visualizer-bars.playing .bar:nth-child(2) { animation-delay: 0.1s; }
.visualizer-bars.playing .bar:nth-child(3) { animation-delay: 0.25s; }
.visualizer-bars.playing .bar:nth-child(4) { animation-delay: 0.15s; }
.visualizer-bars.playing .bar:nth-child(5) { animation-delay: 0.4s; }
.visualizer-bars.playing .bar:nth-child(6) { animation-delay: 0.2s; }
.visualizer-bars.playing .bar:nth-child(7) { animation-delay: 0.3s; }
.visualizer-bars.playing .bar:nth-child(8) { animation-delay: 0.45s; }
.visualizer-bars.playing .bar:nth-child(9) { animation-delay: 0.1s; }
.visualizer-bars.playing .bar:nth-child(10) { animation-delay: 0.35s; }
.visualizer-bars.playing .bar:nth-child(11) { animation-delay: 0.2s; }
.visualizer-bars.playing .bar:nth-child(12) { animation-delay: 0.4s; }
.visualizer-bars.playing .bar:nth-child(13) { animation-delay: 0.15s; }
.visualizer-bars.playing .bar:nth-child(14) { animation-delay: 0.3s; }
.visualizer-bars.playing .bar:nth-child(15) { animation-delay: 0.25s; }

@keyframes bounce {
    0% { height: 10%; }
    100% { height: 100%; }
}

.spoken-transcript {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
    font-weight: 500;
}

.play-audio-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    padding: 0.85rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.play-audio-btn:hover {
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    border-color: var(--primary);
}

/* Center Pipeline Animation */
.pipeline-connector {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.pipeline-line {
    position: absolute;
    width: 2px;
    height: 80%;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--primary) 50%, var(--success) 100%);
    opacity: 0.2;
    z-index: 0;
}

.pipeline-node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(22, 28, 45, 0.9);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    z-index: 1;
    position: relative;
    transition: var(--transition-smooth);
}

.pipeline-node.active {
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: scale(1.1);
}

.pipeline-node#node-stt.active {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.pipeline-node#node-paste.active {
    border-color: var(--success);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.node-tooltip {
    position: absolute;
    bottom: -22px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    white-space: nowrap;
}

.pipeline-node.active .node-tooltip {
    color: var(--text-primary);
}

/* Output Editor */
.editor-mockup {
    background: #05070c;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    font-family: var(--font-mono);
    min-height: 250px;
    flex-grow: 1;
}

/* Quickstart Guide Inline Classes */
.inline-code {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.highlight-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.editor-content-area {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
    flex-grow: 1;
}

.editor-pasted-text {
    color: var(--text-secondary);
}

.editor-pasted-text.active {
    color: #a5b4fc;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.25rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.05);
    transform: translateY(-3px);
}

.card-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.purple-tint { background: rgba(99, 102, 241, 0.1); color: var(--primary); }
.blue-tint { background: rgba(168, 85, 247, 0.1); color: var(--secondary); }
.cyan-tint { background: rgba(6, 182, 212, 0.1); color: var(--accent); }
.orange-tint { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.pink-tint { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.green-tint { background: rgba(16, 185, 129, 0.1); color: var(--success); }

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* Visual Diagrams Showcase */
.diagrams-section {
    background: rgba(11, 15, 25, 0.4);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.diagrams-container {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    max-width: 950px;
    margin: 0 auto;
}

.diagram-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.diagram-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.08);
}

.diagram-card h3 {
    font-size: 1.4rem;
    font-weight: 750;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.diagram-card h3 i {
    color: var(--accent);
}

.diagram-caption {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.diagram-img-wrapper {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.diagram-img:hover {
    transform: scale(1.008);
}

/* Quickstart Guide */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.step-info {
    flex-grow: 1;
}

.step-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-info p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.inner-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.inner-link:hover {
    text-decoration: underline;
}

.code-editor-box {
    background: #05070c;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow: hidden;
}

.code-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--card-border);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.copy-code-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.copy-code-btn:hover {
    color: var(--text-primary);
}

.code-editor-box pre {
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    overflow-x: auto;
    color: #e2e8f0;
}

/* Footer Section */
.site-footer {
    background: #05070c;
    border-top: 1px solid var(--card-border);
    padding: 5rem 2rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1rem;
}

.footer-left p {
    color: var(--text-secondary);
    max-width: 400px;
    font-size: 0.95rem;
}

.footer-right {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

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

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.github-footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.github-footer-link:hover {
    color: var(--text-primary);
}

/* Speed Comparison Visual */
.speed-section {
    background: rgba(11, 15, 25, 0.4);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.speed-visual-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.speed-column-header {
    margin-bottom: 1.5rem;
}

.speed-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.4rem 1rem;
    border-radius: 99px;
}

.old-label {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.toro-label {
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.speed-bars-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.speed-bar-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.speed-bar-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.speed-bar-track {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    height: 40px;
    overflow: hidden;
    position: relative;
}

.speed-bar {
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.75rem;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: fit-content;
}

.speed-bar-old {
    background: linear-gradient(90deg, rgba(248, 113, 113, 0.25) 0%, rgba(248, 113, 113, 0.45) 100%);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.speed-bar-toro {
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.5) 100%);
    border: 1px solid rgba(6, 182, 212, 0.35);
}

.speed-bar-time {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 0 0.5rem;
}

.speed-bar-old .speed-bar-time {
    color: #fca5a5;
}

.speed-bar-toro .speed-bar-time {
    color: #67e8f9;
}

.speed-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4.5rem;
}

.speed-vs {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    letter-spacing: 2px;
}

.speed-takeaway {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 700px;
    margin: 3.5rem auto 0;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
}

.takeaway-icon {
    font-size: 1.5rem;
    color: var(--success);
    flex-shrink: 0;
}

.speed-takeaway p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.93rem;
    line-height: 1.55;
}

/* Privacy Trust Section */
.privacy-section {
    padding: 2rem 2rem 4rem 2rem;
}

.privacy-strip {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
    background: rgba(22, 28, 45, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.privacy-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.4) 30%, rgba(6, 182, 212, 0.4) 70%, transparent 100%);
}

.privacy-strip:hover {
    border-color: rgba(16, 185, 129, 0.15);
    box-shadow: 0 8px 40px rgba(16, 185, 129, 0.04);
}

.privacy-pillar {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 0.5rem 0;
}

.privacy-icon-ring {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
    transition: var(--transition-smooth);
}

.privacy-pillar:hover .privacy-icon-ring {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
    transform: scale(1.05);
}

.privacy-pillar-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.privacy-pillar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.privacy-pillar-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.privacy-divider-line {
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.08) 70%, transparent 100%);
    margin: 0 2.5rem;
    flex-shrink: 0;
}

/* Responsive Breakpoints */
@media (max-width: 968px) {
    .nav-links { display: none; }
    
    .hero-title { font-size: 3rem; }
    
    .simulator-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pipeline-connector {
        flex-direction: row;
        width: 100%;
        height: 60px;
    }
    
    .pipeline-line {
        width: 80%;
        height: 2px;
        background: linear-gradient(to right, var(--accent) 0%, var(--primary) 50%, var(--success) 100%);
    }
    
    .node-tooltip {
        bottom: -25px;
    }
    
    .architecture-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .speed-visual-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .speed-divider {
        padding-top: 0;
    }

    .privacy-strip {
        flex-direction: column;
        padding: 2rem;
    }

    .privacy-divider-line {
        width: 100%;
        height: 1px;
        margin: 1.5rem 0;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.08) 70%, transparent 100%);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-right {
        justify-content: flex-start;
        gap: 5rem;
    }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.25rem; }
    .hero-metrics { flex-direction: column; gap: 2rem; }
    .divider { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .guide-step { flex-direction: column; gap: 1rem; }
    .footer-right { flex-direction: column; gap: 2rem; }
}
