/* ==========================================
   AI Clarity™ Landing Page - Ultra Minimal SaaS
   ========================================== */

/* CSS Variables - Ultra Minimal Palette */
:root {
    --navy: #0B1F3A;
    --accent-blue: #1F4E79;
    --accent-hover: #163B5E;
    --white: #FFFFFF;
    --off-white: #F7F9FB;
    --border: #E5E7EB;
    --muted: #64748B;
    --red: #94A3B8;
    --icon-red: #64748B;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition-fast: 150ms ease-out;
    --transition-normal: 300ms ease-out;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--navy);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
}

p {
    color: var(--muted);
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section - Increased vertical spacing (min 80px) */
.section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5.5rem 0;
    }
}

.section-title {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.section-title.light {
    color: var(--white);
    text-align: center;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 2.5rem;
}

/* ==========================================
   Navigation - Single Clean Menu
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--navy);
    outline: none;
}

.nav-link.nav-cta {
    padding: 0.5rem 1rem;
    background: var(--accent-blue);
    color: var(--white);
    border-radius: 6px;
    transition: background-color var(--transition-fast);
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta:focus {
    background: var(--accent-hover);
    color: var(--white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.mobile-nav.active {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--navy);
}

.mobile-nav .nav-link:last-child {
    border-bottom: none;
    margin-top: 0.5rem;
    text-align: center;
}

/* ==========================================
   Buttons - Clean Minimal Style
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color var(--transition-normal), transform var(--transition-fast);
}

.btn:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

/* Microcopy */
.microcopy {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 0.875rem;
    font-size: 0.8125rem;
    color: var(--muted);
}

.microcopy.light {
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

.microcopy .separator {
    opacity: 0.5;
}

/* Microcopy Stack - 3 lines under CTA */
.microcopy-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--muted);
}

.microcopy-stack.light {
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   HERO Section
   ========================================== */
.hero-section {
    padding-top: 112px;
    padding-bottom: 5rem;
    background: var(--white);
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 140px;
        padding-bottom: 6rem;
    }
}

.hero-container {
    max-width: 680px;
}

.hero-title {
    margin-bottom: 1.25rem;
    color: var(--navy);
}

.hero-subtitle {
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.7;
}

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

/* ==========================================
   PROBLEM Section
   ========================================== */
.problem-section {
    background: #F8FAFC;
}

.problem-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
    max-width: 360px;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1rem;
    color: var(--navy);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.check-icon.red {
    color: var(--icon-red);
}

.check-icon.green {
    color: var(--accent-blue);
}

.transition-text {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    max-width: 360px;
}

.transition-text p {
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.transition-text p strong {
    color: var(--navy);
    font-weight: 600;
}

/* ==========================================
   TIME Section
   ========================================== */
.time-section {
    background: var(--white);
}

.time-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .time-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.time-card {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
}

.time-card.without {
    border-left: 3px solid var(--icon-red);
}

.time-card.with {
    border-left: 3px solid var(--accent-blue);
    background: var(--white);
}

.card-title {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.time-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.time-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--navy);
}

.icon-x {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--icon-red);
}

.icon-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
}

/* Time Insight */
.time-insight {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    line-height: 1.7;
}

.time-insight strong {
    color: var(--navy);
}

/* Calculator */
.calculator {
    padding: 1.75rem;
    background: var(--navy);
    border-radius: 10px;
    color: var(--white);
}

.calculator-title {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.calculator-input {
    margin-bottom: 1.5rem;
}

.calculator-input label {
    display: block;
    font-size: 0.8125rem;
    margin-bottom: 0.625rem;
    color: rgba(255, 255, 255, 0.7);
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
}

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

.result-item {
    text-align: center;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.result-item.highlight {
    background: var(--accent-blue);
}

.result-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.result-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

.calculator-footer {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* ==========================================
   WHAT YOU GET Section
   ========================================== */
.what-section {
    background: #F8FAFC;
}

.what-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.what-column {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
    .what-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.column-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.what-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.what-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--navy);
}

.bullet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-blue);
    margin-top: 2px;
}

.bullet-icon.red {
    color: var(--icon-red);
}

.not-for {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.not-for span:last-child {
    color: var(--muted);
}

/* ==========================================
   METHOD Section
   ========================================== */
.method-section {
    background: var(--white);
}

.method-subtitle {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    margin-top: -0.5rem;
}

/* Progress Indicator */
.progress-container {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.progress-container.animate {
    opacity: 1;
    transform: translateY(0);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.625rem;
}

.progress-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    transition: color var(--transition-normal);
}

.progress-label.active {
    color: var(--navy);
}

.progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-blue);
    border-radius: 3px;
    transition: width 1.5s ease-out;
}

.progress-container.animate .progress-fill {
    width: 100%;
}

/* Method Cards */
.method-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .method-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .method-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

.method-card {
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color var(--transition-normal);
}

.method-card:hover {
    border-color: var(--accent-blue);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 0.8125rem;
    font-weight: 700;
    background: var(--accent-blue);
    color: var(--white);
    border-radius: 50%;
    margin-bottom: 0.875rem;
}

.method-title {
    font-size: 1rem;
    margin-bottom: 0.375rem;
    color: var(--navy);
}

.method-desc {
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.5;
}

.method-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 2rem;
    font-style: italic;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    background: #F8FAFC;
}

.faq-list {
    max-width: 640px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.125rem 0;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: left;
    color: var(--navy);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-question:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--muted);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-bottom: 1.125rem;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ==========================================
   BUY Section
   ========================================== */
.buy-section {
    background: #F8FAFC;
    text-align: center;
}

.buy-section .section-title {
    text-align: center;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    color: var(--navy);
}

.buy-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.buy-section .btn-primary {
    background: var(--accent-blue);
    color: var(--white);
}

.buy-section .btn-primary:hover {
    background: var(--accent-hover);
}

/* After Purchase */
.after-purchase {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.after-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    max-width: 360px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .steps {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        max-width: none;
    }
}

.step {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--navy);
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 0.6875rem;
    font-weight: 700;
    background: var(--accent-blue);
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: 1.5rem 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

.footer-link {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-link:hover,
.footer-link:focus {
    color: var(--white);
}

.footer-copy {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   Focus States (Accessibility)
   ========================================== */
:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}
