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

:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #141416;
    --bg-card: #1a1a1f;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --success: #22c55e;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-2: linear-gradient(135deg, #0a0a0b 0%, #1a1a2e 100%);
    --border-color: #27272a;
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-cta {
    padding: 0.6rem 1.2rem;
    background: var(--gradient-1);
    border-radius: var(--radius);
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 25px var(--accent-glow);
}

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

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-secondary);
}

/* Supported Tools */
.supported-tools {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.supported-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tool-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: border-color 0.2s, background 0.2s;
}

.tool-badge:hover {
    border-color: var(--accent);
    background: var(--bg-secondary);
}

.tool-icon {
    font-size: 1rem;
    color: var(--accent);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--bg-card);
    border-radius: 40px;
    padding: 12px;
    border: 2px solid var(--border-color);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 100px var(--accent-glow);
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 32px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.card-stack {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swipe-card {
    position: absolute;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    cursor: grab;
    user-select: none;
    touch-action: none;
    transition: box-shadow 0.2s;
}

.swipe-card:active {
    cursor: grabbing;
}

.swipe-card.dragging {
    transition: none;
}

.swipe-card.fly-left {
    animation: flyLeft 0.4s ease-out forwards;
}

.swipe-card.fly-right {
    animation: flyRight 0.4s ease-out forwards;
}

@keyframes flyLeft {
    to {
        transform: translateX(-400px) rotate(-30deg);
        opacity: 0;
    }
}

@keyframes flyRight {
    to {
        transform: translateX(400px) rotate(30deg);
        opacity: 0;
    }
}

.card-label {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--gradient-1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.swipe-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-file {
    font-size: 0.75rem;
    color: var(--accent);
    font-family: monospace;
    margin-bottom: 0.5rem;
}

.card-lines {
    font-size: 0.75rem;
    font-family: monospace;
    margin-top: 0.5rem;
}

.card-lines .additions {
    color: #4ade80;
}

.card-lines .deletions {
    color: #f87171;
}

.card-hint {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    opacity: 0.7;
}

/* Diff View (inside phone) */
.diff-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    z-index: 20;
    padding: 1rem;
}

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

.diff-file {
    font-family: monospace;
    color: var(--accent);
    font-size: 0.7rem;
}

.diff-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.diff-close:hover {
    color: var(--text-primary);
}

.diff-code {
    padding: 0.5rem;
    margin: 0;
    overflow: auto;
    font-size: 0.55rem;
    line-height: 1.4;
    flex: 1;
    background: var(--bg-card);
    border-radius: var(--radius);
}

.diff-add {
    color: #4ade80;
    display: block;
}

.diff-del {
    color: #f87171;
    display: block;
}

.diff-meta {
    color: var(--accent);
    display: block;
    opacity: 0.7;
}

.diff-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.diff-actions .btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
}

.btn-reject {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
    border: 1px solid #f87171 !important;
}

.btn-reject:hover {
    background: rgba(248, 113, 113, 0.3);
}

.btn-approve {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid #4ade80 !important;
}

.btn-approve:hover {
    background: rgba(74, 222, 128, 0.3);
}

.swipe-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.1s;
    pointer-events: none;
}

.swipe-indicator.nope {
    left: 10px;
    color: #f87171;
    border: 3px solid #f87171;
}

.swipe-indicator.like {
    right: 10px;
    color: #4ade80;
    border: 3px solid #4ade80;
}

.swipe-hints {
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    margin-top: 0.5rem;
}

.swipe-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.swipe-left { color: #f87171; }
.swipe-right { color: #4ade80; }

.swipe-result {
    text-align: center;
    height: 24px;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.swipe-result.approved {
    color: #4ade80;
}

.swipe-result.rejected {
    color: #f87171;
}

/* Complete State */
.complete-state {
    text-align: center;
    padding: 1.5rem 1rem;
}

.complete-state .complete-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.complete-state h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.complete-state p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.complete-state .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

.complete-state .btn-small {
    padding: 0.6rem 1rem;
}

/* Social Proof */
.social-proof {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* How It Works */
.how-it-works {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

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

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.feature-example {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 1rem;
    font-size: 0.9rem;
}

.example-label {
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

/* Demo Section */
.demo-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.demo-content {
    max-width: 700px;
    margin: 0 auto;
}

.demo-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.demo-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
}

.benefit-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Waitlist Section */
.waitlist-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--gradient-2);
}

.waitlist-content {
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.waitlist-content > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.waitlist-form {
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.email-input:focus {
    border-color: var(--accent);
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--success);
    border-radius: var(--radius);
    color: var(--success);
    margin-top: 1rem;
}

.success-message.show {
    display: flex;
}

.success-icon {
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.faq-item {
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

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

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer .logo {
    justify-content: center;
    margin-bottom: 1rem;
}

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

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 7rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .supported-tools {
        align-items: center;
    }

    .tool-badges {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
    }
}

@media (max-width: 600px) {
    .nav {
        padding: 1rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .form-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}
