:root {
    --primary: #007AFF;
    --bg: #050505;
    --text: #ffffff;
    --text-muted: #888888;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    background: rgba(5, 5, 5, 0.5);
}

nav .container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    height: 32px;
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-left: 30px;
    transition: opacity 0.2s;
}

.nav-links a:not(.btn):hover {
    opacity: 0.7;
}

/* Hero */
.hero {
    position: relative;
    padding: 200px 0 120px;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

h1 {
    font-size: 84px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(135deg, #007AFF 0%, #AF52DE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 22px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
    background: var(--primary);
    color: white;
}

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

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta-group .btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.caption {
    font-size: 12px;
    color: var(--text-muted);
}

/* Liquid BG */
.liquid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: move 20s infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #007AFF;
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #AF52DE;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #5AC8FA;
    top: 20%;
    right: 20%;
    animation-duration: 15s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.1); }
}

/* Common Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

/* Features */
.features {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 32px;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* How to Use */
.how-to-use {
    padding: 120px 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 122, 255, 0.03));
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.workflow-step {
    position: relative;
}

.step-number {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number::after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background: var(--border);
}

.workflow-step h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.workflow-step p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Footer */
footer {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-logo {
    height: 40px;
    opacity: 0.5;
    margin-bottom: 20px;
    filter: grayscale(1);
}

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

@media (max-width: 900px) {
    h1 { font-size: 54px; }
    .grid, .workflow-grid { grid-template-columns: 1fr; }
    .workflow-grid { gap: 40px; }
}
