/*
 * Mokko Landing Page
 * Designer-focused, modern, minimal aesthetic
 */

:root {
    --black: #000;
    --white: #fff;

    /* Dark theme colors (matching main site) */
    --bg-primary: #1C1C1C;
    --bg-secondary: #262626;
    --bg-tertiary: #3F3F3F;

    --text-primary: #FFFFFF;
    --text-secondary: #8C8C8C;
    --text-muted: #6B6B6B;

    --border-color: #3F3F3F;

    --accent: #FF6B35;
    --accent-hover: #FF8052;
    --accent-soft: rgba(255, 107, 53, 0.1);

    --green: #10b981;
    --orange: #FF6B35;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font-display: 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== TYPOGRAPHY ===== */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(36px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -2px; }
h3 { font-size: 24px; letter-spacing: -0.5px; }
h4 { font-size: 18px; }

/* ===== NAVIGATION ===== */

.navbar {
    position: relative;
    background: #1C1C1C;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
}

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

.logo {
    text-decoration: none;
}

.logo img {
    height: 35px;
    width: 110px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--orange);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

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

.cta-btn {
    padding: 12px 24px;
    background: var(--orange);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
    background: #FF8052;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

/* Tablet Navigation */
@media (max-width: 1199px) and (min-width: 768px) {
    .nav-container {
        padding: 20px 30px;
    }

    .nav-menu {
        gap: 30px;
    }

    .nav-menu li a {
        font-size: 15px;
    }
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .nav-container {
        padding: 15px 20px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1C1C1C;
        padding: 20px;
        border-bottom: 1px solid #3F3F3F;
        gap: 20px;
        z-index: 100;
    }
}

/* ===== BUTTONS ===== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    background: var(--accent);
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-primary.full {
    width: 100%;
}

/* ===== HERO ===== */

.hero {
    padding: 80px 0 60px;
    background: var(--bg-primary);
}

.hero .container {
    text-align: center;
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 514px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero-note {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== HERO DEMO ===== */

.hero-demo {
    margin-top: 80px;
    padding: 0 24px;
}

.demo-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.demo-wrapper::before {
    content: '';
    position: absolute;
    top: -65%;
    left: 5%;
    right: 5%;
    bottom: -15%;
    background: radial-gradient(
        ellipse 80% 60% at 50% 50%,
        rgba(255, 107, 53, 0.35) 0%,
        rgba(255, 140, 80, 0.2) 40%,
        transparent 70%
    );
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.demo-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ===== VALUE STRIP ===== */

.value-strip {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.values {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.value {
    text-align: center;
}

.value-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.value-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.value-old {
    color: var(--text-primary);
    text-decoration: line-through;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
}

.value-arrow {
    color: var(--text-muted);
    font-size: 0.6em;
}

.value-new {
    color: var(--accent);
}

/* ===== WORKFLOW SECTION ===== */

.workflow {
    padding: 120px 0;
    background: var(--bg-primary);
}

.section-intro {
    text-align: center;
    margin-bottom: 80px;
}

.section-intro h2 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-intro p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Workflow Cards */
.workflow-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wf-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    min-height: 400px;
    overflow: hidden;
}

.wf-card.reverse {
    flex-direction: row-reverse;
}

.wf-card-content {
    flex: 1;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wf-card-num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.wf-card-content h3 {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.wf-card-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
}

.wf-card-image {
    flex: 1;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wf-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* ===== PHILOSOPHY SECTION ===== */

.philosophy {
    padding: 120px 0;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.phil-main h2 {
    color: var(--text-primary);
    margin-bottom: 24px;
}

.phil-main p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.phil-points {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.phil-point {
    padding-left: 24px;
    border-left: 2px solid var(--border-color);
}

.phil-point h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.phil-point p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== PRICING SECTION ===== */

.pricing {
    padding: 120px 0;
    background: var(--bg-primary);
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    cursor: pointer;
}

.toggle-label.active {
    color: var(--text-primary);
}

.toggle-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 3px 8px;
    border-radius: 100px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--text-primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--accent);
    border-color: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
    background: var(--white);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.price-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.price-features {
    flex: 1;
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.15);
}

.price-tier {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.price-cost {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.price-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -2px;
}

.price-period {
    font-size: 16px;
    color: var(--text-secondary);
}

.price-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    margin-bottom: 24px;
}

.price-features li {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-btn {
    display: block;
    text-align: center;
    padding: 16px 24px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

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

.price-btn.primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== CTA SECTION ===== */

.cta {
    position: relative;
    padding: 140px 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 300%;
    background: radial-gradient(
        ellipse 50% 40% at 50% 50%,
        rgba(255, 107, 53, 0.3) 0%,
        rgba(255, 140, 80, 0.15) 35%,
        transparent 65%
    );
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-content > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 18px;
}

.cta-content .btn-primary {
    padding: 18px 40px;
    font-size: 17px;
}

/* ===== FOOTER ===== */

.footer {
    padding: 32px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-divider {
    color: var(--text-muted);
    margin: 0 4px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
}

.discord-icon {
    width: 18px;
    height: 18px;
}

/* ===== MODAL ===== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: 40px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.modal-body h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ===== SIGNUP FORM ===== */

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-field > label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.field-subtext {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-style: italic;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
}

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

.label-hint {
    font-weight: 400;
    color: var(--text-secondary);
}

/* Microjob Options */
.microjob-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.microjob-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s ease;
}

.microjob-option:hover {
    border-color: var(--text-muted);
}

.microjob-option input {
    display: none;
}

.option-radio {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-top: 1px;
    transition: all 0.15s ease;
    position: relative;
}

.option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    transition: transform 0.15s ease;
}

.microjob-option input:checked + .option-radio {
    border-color: var(--accent);
}

.microjob-option input:checked + .option-radio::after {
    transform: translate(-50%, -50%) scale(1);
}

.microjob-option input:checked ~ .option-text {
    color: var(--text-primary);
}

.option-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
    transition: color 0.15s ease;
}

/* Other input - hidden by default */
.other-input {
    display: none;
    margin-top: 8px;
    margin-left: 30px;
    width: calc(100% - 30px);
}

.other-input.visible {
    display: block;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
    .wf-card {
        flex-direction: column;
        min-height: auto;
    }

    .wf-card.reverse {
        flex-direction: column;
    }

    .wf-card-content {
        padding: 32px 24px;
    }

    .wf-card-content h3 {
        font-size: 24px;
    }

    .wf-card-image {
        min-height: 250px;
        width: 100%;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .values {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-demo {
        margin-top: 48px;
        padding: 0 16px;
    }

    .modal-body {
        padding: 32px 24px;
    }

    .pain-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
