/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #111827;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 16px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: #111827;
    text-decoration: none;
}

.logo-icon {
    transition: transform 0.3s ease;
}

.nav-brand:hover .logo-icon {
    transform: rotate(15deg);
}

.brand-name {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-pills {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border-radius: 50px;
    padding: 6px;
    gap: 4px;
}

.nav-pill {
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-pill:hover {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.btn-secondary {
    padding: 8px 16px;
    border-radius: 24px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-secondary:hover {
    color: #111827;
    background: #f9fafb;
    border-color: #e5e7eb;
}

.btn-primary {
    padding: 8px 16px;
    border-radius: 24px;
    text-decoration: none;
    color: #ffffff;
    background: #111827;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary:hover {
    background: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 50px;
    color: #0f766e;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #111827;
    margin-bottom: 24px;
}

.title-accent {
    color: #0D9488;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 24px;
    text-decoration: none;
    color: #ffffff;
    background: #111827;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary-large:hover {
    background: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 24px;
    text-decoration: none;
    color: #6b7280;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.2s ease;
}

.btn-secondary-large:hover {
    color: #111827;
    background: #ffffff;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid #f3f4f6;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 4px;
}

/* Radar Visualization */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.radar-container {
    position: relative;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(13, 148, 136, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    overflow: visible;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.radar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(13, 148, 136, 0.04) 0%, rgba(13, 148, 136, 0.02) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(1px);
    z-index: -1;
}

#radar-chart {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.08));
    overflow: visible;
}

/* Node Logos */
.node-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
}

.node-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.center-logo img {
    width: 80%;
    height: 80%;
}

/* Rollup Nodes */
.rollup-node {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.8);
}

.rollup-node.loaded {
    opacity: 1;
    transform: scale(1);
}

.rollup-node:hover {
    transform: scale(1.05);
}

.rollup-node circle {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rollup-node:hover circle {
    stroke: #0D9488;
    stroke-width: 3;
    filter: drop-shadow(0 8px 24px rgba(13, 148, 136, 0.25));
}

.rollup-label {
    fill: #374151;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.rollup-node:hover .rollup-label {
    opacity: 1;
    fill: #111827;
    font-weight: 700;
}

/* Connection Lines */
.connection-line {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-dasharray: 0;
}

.rollup-node:hover .connection-line {
    opacity: 1 !important;
    stroke-width: 3;
    stroke: #0D9488;
    stroke-dasharray: 5,5;
    animation: dash 2s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -10;
    }
}

/* Center Node */
.center-node circle {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.center-node:hover circle {
    stroke: #0D9488;
    stroke-width: 4;
    filter: drop-shadow(0 12px 32px rgba(13, 148, 136, 0.3));
}

/* Rollup Info Cards */
.rollup-info-cards {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    min-width: 220px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-header img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    padding: 4px;
    border: 1px solid #e5e7eb;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.card-header span {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.card-stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-item .stat-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-item .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-10px);
    }
}

/* Pulse Animation Enhancement */
.pulse-rings circle {
    filter: drop-shadow(0 0 12px rgba(13, 148, 136, 0.5));
}

/* Radar Rings Enhancement */
.radar-rings circle {
    stroke-dasharray: 2,4;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Interactive Hover States */
.radar-container:hover .scan-line line {
    opacity: 0.7;
}

.radar-container:hover .pulse-rings circle {
    filter: drop-shadow(0 0 16px rgba(13, 148, 136, 0.7));
}

/* Scan Line */
.scan-line line {
    filter: drop-shadow(0 0 8px rgba(13, 148, 136, 0.6));
    opacity: 0.4;
}

/* Rollups Carousel Section */
.rollups-carousel-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    border-top: 1px solid #f3f4f6;
    overflow: hidden;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: #0D9488;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    mask: linear-gradient(90deg, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%
    );
}

.rollups-carousel {
    display: flex;
    gap: 24px;
    animation: slide 45s linear infinite;
    width: fit-content;
}

.rollups-carousel:hover {
    animation-play-state: paused;
}

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

/* Rollup Cards */
.rollup-card {
    flex-shrink: 0;
    width: 180px;
    height: 220px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.rollup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.03) 0%, rgba(13, 148, 136, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.rollup-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #0D9488;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(13, 148, 136, 0.1);
}

.rollup-card:hover::before {
    opacity: 1;
}

.card-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.rollup-card:hover .card-logo {
    transform: scale(1.1);
    border-color: #0D9488;
    background: #f0fdfa;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.15);
}

.card-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: filter 0.4s ease;
}

.rollup-card:hover .card-logo img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.card-name {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.rollup-card:hover .card-name {
    color: #0D9488;
}

.card-type {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    padding: 4px 12px;
    background: #f3f4f6;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.rollup-card:hover .card-type {
    background: #ccfbf1;
    color: #0f766e;
}

/* Metrics Hover Card */
.metrics-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: 24px;
    padding: 32px;
    min-width: 320px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(13, 148, 136, 0.08);
    z-index: 1000;
    animation: metricsSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes metricsSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translateY(0);
    }
}

.metrics-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.metrics-header img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    padding: 6px;
}

.metrics-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.metrics-info span {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.metric-item {
    text-align: center;
    padding: 16px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: #f0fdfa;
    border-color: #ccfbf1;
    transform: translateY(-2px);
}

.metric-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.01em;
}

.metric-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #059669;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.last-updated {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

/* API Terminal Demo Section */
.api-demo-section {
    padding: 100px 0;
    background: #0f172a;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.api-demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(13, 148, 136, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.api-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.api-demo-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.api-demo-section .section-subtitle {
    color: #0D9488;
}

.api-demo-section .section-title {
    color: #ffffff;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Terminal Demo */
.terminal-demo {
    background: #1e293b;
    border-radius: 16px;
    border: 1px solid #334155;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
}

.terminal-header {
    background: #334155;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #475569;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.control-dot.red {
    background: #ef4444;
}

.control-dot.yellow {
    background: #f59e0b;
}

.control-dot.green {
    background: #10b981;
}

.control-dot:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px currentColor;
}

.terminal-title {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #0D9488;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

.terminal-content {
    padding: 24px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    min-height: 200px;
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.prompt {
    color: #0D9488;
    font-weight: 600;
    margin-right: 8px;
    user-select: none;
}

.command {
    color: #e2e8f0;
    font-weight: 500;
}

.cursor {
    color: #0D9488;
    animation: blink 1s infinite;
    font-weight: bold;
}

.cursor-blink {
    color: #0D9488;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-response {
    margin: 16px 0;
    animation: slideInResponse 0.5s ease-out;
}

@keyframes slideInResponse {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #475569;
}

.status-code {
    color: #10b981;
    font-weight: 600;
    font-size: 13px;
}

.response-time {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

.json-response {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 16px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    overflow-x: auto;
    color: #e2e8f0;
}

/* JSON Syntax Highlighting */
.json-key {
    color: #0D9488;
    font-weight: 500;
}

.json-string {
    color: #fbbf24;
}

.json-number {
    color: #60a5fa;
}

.json-boolean {
    color: #a78bfa;
    font-weight: 500;
}

/* API Features */
.api-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    padding: 24px;
    background: #0f172a;
    border-top: 1px solid #334155;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(13, 148, 136, 0.05);
    border: 1px solid rgba(13, 148, 136, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(13, 148, 136, 0.08);
    border-color: rgba(13, 148, 136, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0D9488;
}

.feature-text h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* API CTA */
.api-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.api-btn {
    background: #0D9488 !important;
    color: #ffffff !important;
}

.api-btn:hover {
    background: #0f766e !important;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .radar-container {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-center {
        display: none;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container {
        padding: 0 16px;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .radar-container {
        width: 400px;
        height: 400px;
    }
    
    .hero-visual {
        padding: 20px;
    }
    
    .rollup-info-cards {
        position: static;
        margin-top: 20px;
    }
    
    .info-card {
        margin: 0 auto;
    }

    /* Carousel Mobile Styles */
    .rollups-carousel-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .rollup-card {
        width: 160px;
        height: 200px;
        padding: 20px;
    }
    
    .card-logo {
        width: 70px;
        height: 70px;
    }
    
    .card-logo img {
        width: 45px;
        height: 45px;
    }
    
    .metrics-card {
        min-width: 280px;
        padding: 24px;
        margin: 0 16px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .carousel-wrapper {
        margin: 0 -16px;
        padding: 0 16px;
    }

    /* API Section Mobile Styles */
    .api-demo-section {
        padding: 60px 0;
    }
    
    .terminal-header {
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .terminal-controls {
        align-self: flex-start;
    }
    
    .terminal-content {
        padding: 16px;
        font-size: 13px;
    }
    
    .api-features {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    
    .api-cta {
        flex-direction: column;
    }
    
    .api-cta .btn-primary-large,
    .api-cta .btn-secondary-large {
        width: 100%;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

.radar-container {
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Enhanced Responsive Overrides */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-content {
        margin: 0 auto;
        text-align: center;
    }
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .radar-container {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    .nav-container {
        padding: 0 16px;
    }
    .nav-actions {
        gap: 8px;
        flex-wrap: nowrap;
    }
    .btn-secondary,
    .btn-primary {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 20px;
        white-space: nowrap;
    }

    .hero {
        padding: 96px 0 64px;
    }
    .hero-container {
        gap: 36px;
        padding: 0 16px;
    }
    .hero-title {
        font-size: 40px;
    }
    .hero-description {
        font-size: 18px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .hero-actions .btn-primary-large,
    .hero-actions .btn-secondary-large {
        width: 100%;
        max-width: 380px;
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
    .stat-number {
        font-size: 28px;
    }

    .radar-container {
        width: 420px;
        height: 420px;
    }

    .section-header {
        padding: 0 8px;
    }
    .rollups-carousel-section {
        padding: 72px 0;
    }
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 36px;
    }
    .hero-description {
        font-size: 16px;
        max-width: 520px;
    }
    .radar-container {
        width: 360px;
        height: 360px;
    }
    .rollups-carousel {
        gap: 16px;
    }
    .rollup-card {
        width: 150px;
        height: 190px;
        padding: 16px;
    }
    .card-name {
        font-size: 16px;
    }
    .card-type {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 6px;
    }
    .btn-primary {
        padding: 6px 10px;
        font-size: 12px;
    }
    .btn-secondary {
        padding: 6px 10px;
        font-size: 12px;
    }
    /* Keep primary CTA visible if space is tight */
    .nav-actions .btn-secondary {
        display: none;
    }

    .hero {
        padding-top: 92px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-description {
        font-size: 15px;
    }

    .hero-actions .btn-primary-large,
    .hero-actions .btn-secondary-large {
        max-width: 320px;
    }

    .radar-container {
        width: 300px;
        height: 300px;
    }

    .metrics-card {
        width: calc(100% - 32px);
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 24px;
    }
}

@media (max-width: 380px) {
    .radar-container {
        width: 260px;
        height: 260px;
    }
    .hero-actions .btn-primary-large,
    .hero-actions .btn-secondary-large {
        max-width: 260px;
    }
}

/* Footer */
.site-footer {
    background: #0b1220;
    color: #cbd5e1;
    border-top: 1px solid #0f1b33;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px 24px;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    margin-bottom: 16px;
}

.footer-tagline {
    color: #94a3b8;
    max-width: 520px;
    font-size: 14px;
    line-height: 1.7;
}

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

.footer-column h4 {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin: 10px 0;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #0D9488;
}

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

.social-link {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(13, 148, 136, 0.06);
    border: 1px solid rgba(13, 148, 136, 0.12);
    transition: all 0.2s ease;
}

.social-link:hover {
    color: #0D9488;
    background: rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.24);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.12);
}

.footer-bottom {
    border-top: 1px solid #0f1b33;
    margin-top: 24px;
    background: #0a101c;
}

.footer-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-bottom p {
    color: #64748b;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: #0D9488;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: left;
    }
    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 40px 16px 16px;
    }
    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-bottom-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom-container {
        align-items: center;
        text-align: center;
    }
}