/* ===================================
   CLARITY PAGE - LANDING PAGE STYLES
   =================================== */

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

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-success: #10b981;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-border: #e5e7eb;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    padding: 5rem 0 6rem;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-note {
    font-size: 0.9375rem;
    opacity: 0.85;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1.0625rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Problem Section */
.problem {
    padding: 5rem 0;
    background: var(--color-bg-alt);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.problem-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Solution Section */
.solution {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

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

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.feature p {
    color: var(--color-text-light);
}

/* Demo Section */
.demo {
    padding: 5rem 0;
    background: var(--color-bg-alt);
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.phone-mockup {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: #1f2937;
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 24px;
    overflow-y: auto;
    overflow-x: hidden;
}

.demo-page {
    font-size: 0.75rem;
    line-height: 1.4;
}

.demo-hero {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.demo-hero h1 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.demo-role {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.demo-tagline {
    font-size: 0.8125rem;
    line-height: 1.3;
}

.demo-section {
    padding: 1.5rem 1rem;
}

.demo-section h2 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.demo-card {
    background: var(--color-bg-alt);
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.demo-card h3 {
    font-size: 0.8125rem;
    margin-bottom: 0.25rem;
}

.demo-card p {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.demo-list {
    list-style: none;
    padding: 0;
}

.demo-list li {
    padding: 0.5rem 0;
    font-size: 0.75rem;
}

.demo-cta {
    position: sticky;
    bottom: 0;
    padding: 0.75rem;
    background: white;
    border-top: 1px solid var(--color-border);
}

.demo-whatsapp {
    width: 100%;
    padding: 0.75rem;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.8125rem;
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-success);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.demo-feature strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.demo-feature p {
    color: var(--color-text-light);
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--color-text-light);
}

.step-arrow {
    font-size: 2rem;
    color: var(--color-text-light);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient);
    color: white;
}

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

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* Responsive */
@media (max-width: 768px) {
    .demo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .phone-frame {
        width: 280px;
        height: 560px;
    }

    .step-arrow {
        display: none;
    }

    .hero {
        padding: 3rem 0 4rem;
    }

    .problem,
    .solution,
    .demo,
    .how-it-works {
        padding: 3rem 0;
    }
}