:root {
    --dark: #0a0a0a;
    --light: #fafafa;
    --gray: #888;
    --accent: #c9f53c;
    --accent-soft: rgba(201, 245, 60, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-logo .tm {
    font-size: 0.5em;
    vertical-align: super;
    opacity: 0.5;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--accent);
    color: var(--dark) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 245, 60, 0.3);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-tag span:last-child {
    color: var(--gray);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-title .line {
    display: block;
}

.hero-title .accent {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 560px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent);
    color: var(--dark);
    padding: 1.125rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 245, 60, 0.25);
}

.btn-arrow {
    font-size: 1.25rem;
}

.cta-note {
    color: var(--gray);
    font-size: 0.875rem;
}

.marquee-section {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.marquee {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    animation: scroll 25s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--gray);
    font-weight: 500;
}

.marquee-content .sep {
    color: var(--accent);
    opacity: 0.6;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.how-section {
    padding: 8rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    margin-bottom: 4rem;
}

.label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(201, 245, 60, 0.2);
    transform: translateY(-4px);
}

.step-num {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.step-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.statement-section {
    padding: 6rem 4rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.statement {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.statement p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.6;
    color: var(--gray);
    font-weight: 400;
}

.statement .highlight {
    color: var(--light);
}

.features-section {
    padding: 8rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(201, 245, 60, 0.2);
    transform: translateY(-4px);
}

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

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.results-section {
    padding: 8rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.result-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(201, 245, 60, 0.03);
    border: 1px solid rgba(201, 245, 60, 0.15);
    border-radius: 20px;
}

.result-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.result-card p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

.cta-section {
    padding: 8rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(201, 245, 60, 0.03) 100%);
}

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

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-content p {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent);
    color: var(--dark);
    padding: 1.25rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(201, 245, 60, 0.3);
}

.footer {
    padding: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.footer-logo .tm {
    font-size: 0.5em;
    vertical-align: super;
    opacity: 0.5;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--gray);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .steps-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .how-section,
    .features-section,
    .results-section,
    .cta-section {
        padding: 4rem 1.5rem;
    }
    
    .statement-section {
        padding: 4rem 1.5rem;
    }
    
    .footer {
        padding: 2rem 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

.dashboard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.dashboard-header {
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.content-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.content-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(201, 245, 60, 0.2);
    transform: translateY(-2px);
}

.content-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.content-card .meta {
    color: var(--gray);
    font-size: 0.875rem;
}

.content-type {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.form-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    color: var(--light);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
}

.form-hint {
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.btn-submit {
    width: 100%;
    background: var(--accent);
    color: var(--dark);
    border: none;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 245, 60, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    color: var(--gray);
    font-size: 0.9rem;
}

.logout-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.logout-link:hover {
    color: var(--light);
}

.generate-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--accent);
    color: var(--dark);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generate-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(201, 245, 60, 0.3);
}

.onboarding-prompt {
    background: rgba(201, 245, 60, 0.05);
    border: 1px solid rgba(201, 245, 60, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.prompt-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.prompt-content p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.welcome h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.welcome p {
    color: var(--gray);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-overlay.hidden {
    display: none;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-content p {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.loading-content span {
    font-size: 0.9rem;
    color: var(--gray);
}

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

.toast.hidden {
    display: none;
}

.toast.success {
    background: rgba(68, 255, 136, 0.1);
    border: 1px solid #44ff88;
    color: #44ff88;
}

.toast.error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.back-link {
    display: inline-block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--light);
}

.content-view-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 4rem;
}

.content-view-header {
    margin-bottom: 3rem;
}

.content-type-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.content-view-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.content-view-body .content-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.content-view-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.content-view-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light);
}

.headline-preview {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem !important;
    font-weight: 600;
}

.cta-preview {
    padding: 1rem 1.5rem;
    background: var(--accent-soft);
    border-radius: 8px;
    display: inline-block;
}

.error-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.onboarding-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
}

.onboarding-container {
    max-width: 600px;
    width: 100%;
}

.onboarding-header {
    text-align: center;
    margin-bottom: 3rem;
}

.onboarding-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.onboarding-header p {
    color: var(--gray);
}

.onboarding-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
