/* ========================================
   NeuroPraxis Landing Page - Simplified
   ======================================== */

:root {
    --color-primary: #0ea5e9;
    --color-primary-dark: #0284c7;
    --color-primary-light: #38bdf8;
    --color-accent: #06b6d4;
    --color-success: #22c55e;
    --color-danger: #ef4444;

    --color-bg: #0f172a;
    --color-bg-secondary: #1e293b;
    --color-bg-card: rgba(30, 41, 59, 0.6);

    --color-text: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;

    --color-border: rgba(148, 163, 184, 0.1);
    --color-border-light: rgba(148, 163, 184, 0.2);

    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;

    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(14, 165, 233, 0.5);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

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

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.cta-subtext {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

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

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 260px;
    background: #000;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 20px;
    background: #000;
    border-radius: 10px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    border-radius: 28px;
    background: white;
}

.phone-mockup-sm .phone-frame {
    width: 220px;
    padding: 8px;
    border-radius: 30px;
}

.phone-mockup-sm .phone-frame::before {
    width: 55px;
    height: 16px;
    top: 8px;
}

.phone-mockup-sm .phone-screen {
    border-radius: 24px;
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-cta {
        align-items: center;
    }
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
    padding: 100px 0;
    background: var(--color-bg-secondary);
}

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

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.step-text-only {
    display: block;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.step-text-only .step-number {
    margin: 0 auto 16px;
}

.step-reverse {
    direction: rtl;
}

.step-reverse>* {
    direction: ltr;
}

.step-visual {
    display: flex;
    justify-content: center;
}

.step-content {
    max-width: 480px;
}

.step-number {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-light);
    background: rgba(14, 165, 233, 0.15);
    padding: 6px 14px;
    border-radius: var(--border-radius-full);
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.step-content p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.step-content em {
    color: var(--color-primary-light);
    font-style: normal;
}

@media (max-width: 900px) {
    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-reverse {
        direction: ltr;
    }

    .step-visual {
        order: 0;
    }

    .step-content {
        order: 1;
        max-width: 100%;
    }
}

/* ========================================
   Why Us / Comparison
   ======================================== */
.why-us {
    padding: 100px 0;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--color-bg-card);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
}

.comparison-header {
    background: var(--color-bg-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-col {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
}

.comparison-header .comparison-col {
    border-bottom: 1px solid var(--color-border-light);
}

.col-feature {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.col-other {
    color: var(--color-text-secondary);
}

.col-us {
    background: rgba(14, 165, 233, 0.05);
}

.comparison-header .col-us {
    color: var(--color-primary-light);
}

.comparison-row:last-child .comparison-col {
    border-bottom: none;
}

.icon-bad {
    color: var(--color-danger);
    font-weight: 700;
    margin-right: 8px;
}

.icon-good {
    color: var(--color-success);
    font-weight: 700;
    margin-right: 8px;
}

@media (max-width: 700px) {

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-header .col-feature,
    .col-feature {
        display: none;
    }

    .comparison-col {
        padding: 14px 20px;
    }

    .comparison-header .col-other,
    .comparison-header .col-us {
        text-align: center;
        font-size: 1rem;
    }
}

/* ========================================
   Final CTA
   ======================================== */
.final-cta {
    padding: 100px 0;
    background: var(--color-bg-secondary);
    text-align: center;
}

.cta-content {
    max-width: 560px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-content strong {
    color: var(--color-primary-light);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ========================================
   Signup Forms
   ======================================== */
.signup-form {
    max-width: 520px;
    width: 100%;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form-row .form-input {
    flex: 1;
    min-width: 200px;
}

.form-row .form-select {
    flex: 0 0 auto;
    min-width: 180px;
}

.form-row .btn {
    flex: 0 0 100%;
    margin-top: 4px;
}

.form-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius);
    color: var(--color-text);
    outline: none;
    transition: all var(--transition);
}

.form-select {
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius);
    color: var(--color-text);
    outline: none;
    transition: all var(--transition);
    cursor: pointer;
}

.form-select option {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.form-success {
    margin-top: 12px;
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--border-radius);
    color: var(--color-success);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: none;
}

.form-success.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.final-cta .signup-form {
    margin: 0 auto;
}

.final-cta .form-row {
    justify-content: center;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }

    .form-row .form-input,
    .form-row .form-select,
    .form-row .btn {
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
    }

    .form-input {
        width: 100%;
    }

    .signup-form .btn {
        width: 100%;
    }
}