:root {
    --bg-color: #0f172a;
    --surface-color: #1e293b;
    --border-color: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #a855f7;
    --accent-hover: #9333ea;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--surface-color);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-primary) !important;
}

.nav-cta:hover {
    background: #273549;
    border-color: #475569;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 2rem 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.version-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

/* Premium Gradients */
.gradient-text {
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #273549;
    border-color: #475569;
}

/* Mockup Visual */
.hero-visual {
    margin-top: 4rem;
    width: 100%;
    max-width: 900px;
}

.mockup-window {
    background: #0b1120;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    background: #151e2e;
    padding: 0.8rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-body {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.infinite-canvas {
    width: 2000px;
    height: 1000px;
    background: radial-gradient(circle at 50% 50%, #1e293b 1px, transparent 1px);
    background-size: 20px 20px;
    position: absolute;
    top: 0;
    left: 0;
    animation: pan-zoom 35s infinite alternate ease-in-out;
    transform-origin: top left;
}

@keyframes pan-zoom {
    0% { transform: translate(0px, 0px) scale(0.6); }
    25% { transform: translate(-200px, -150px) scale(0.85); }
    50% { transform: translate(-600px, -200px) scale(1); }
    75% { transform: translate(-400px, -350px) scale(0.85); }
    100% { transform: translate(-800px, -200px) scale(0.9); }
}

.app-node {
    position: absolute;
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 200px;
    color: var(--text-primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.app-node .node-header {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-node .node-content {
    padding: 0.8rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.node-port {
    width: 10px;
    height: 10px;
    background: var(--text-secondary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.node-port.out { right: -5px; }
.node-port.in { left: -5px; }

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Features */
.features {
    padding: 4rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

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

/* Feature & Use Case Enhancements */
.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Use Cases Section */
.use-cases {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(30, 41, 59, 0.3) 100%);
    border-top: 1px solid var(--border-color);
}

.use-case-card {
    border-top: 4px solid var(--accent-color);
}

.use-case-card:nth-child(2) {
    border-top-color: #3b82f6;
}

.use-case-card:nth-child(3) {
    border-top-color: #10b981;
}

/* Pricing */
.pricing {
    max-width: 1200px;
    margin: 8rem auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: var(--surface-color);
    border: 1px solid var(--accent-color);
    padding: 3rem;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.1);
}

.pricing-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.pricing-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.full-width {
    display: block;
    width: 100%;
}

/* Footer */
.footer {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 300px; }
    .nav-links { display: none; }
    .app-node { transform: scale(0.8); }
    .canvas-connections { display: none; }
}
