/* Landing Page Styles - Premium Minimalist Design */

.landing-page {
    min-height: 100vh;
    background: var(--color-background-gradient);
    background-attachment: fixed;
    color: var(--color-text-primary);
    padding: 0;
    position: relative;
    font-family: var(--font-family);
    line-height: var(--line-height-loose);
}

.landing-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Hero Section - Typography First */
.landing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--spacing-3xl) * 2.4) var(--spacing-3xl) calc(var(--spacing-3xl) * 2);
    position: relative;
    z-index: 1;
}

.trust-badges {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    margin-bottom: calc(var(--spacing-3xl) * 1.5);
    flex-wrap: wrap;
}

.badge-item {
    background: transparent;
    padding: 0;
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-regular);
    letter-spacing: var(--letter-spacing-wide);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: var(--spacing-2xl);
    line-height: 1.1;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    letter-spacing: -0.03em;
    max-width: 100%;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: calc(var(--spacing-3xl) * 1.5);
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-weight: var(--font-weight-regular);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
}

/* CTA Group - Refined & Subtle */
.cta-group {
    margin-bottom: 80px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) calc(var(--spacing-3xl) * 1.44);
    background: var(--color-text-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-slow);
    border: none;
    cursor: pointer;
    letter-spacing: var(--letter-spacing-normal);
}

.cta-button.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.05rem;
    padding: var(--spacing-xl) calc(var(--spacing-3xl) * 1.6);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.cta-button.primary:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: var(--border-width) solid rgba(0, 0, 0, 0.1);
}

.cta-button.secondary:hover {
    background: var(--color-bg-tertiary);
    border-color: rgba(0, 0, 0, 0.2);
}

.cta-button.large {
    padding: 22px 48px;
    font-size: 1.1rem;
}

.cta-icon {
    font-size: 1.2rem;
}

.cta-arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

.cta-button:focus-visible {
    outline: 2px solid #4F46E5;
    outline-offset: 3px;
}

.cta-note {
    margin-top: 20px;
    font-size: 0.875rem;
    color: #999;
    font-weight: 400;
}

/* Social Proof Numbers - Minimal */
.social-proof-numbers {
    display: flex;
    gap: 80px;
    justify-content: center;
    margin-top: 72px;
    flex-wrap: wrap;
    padding-top: 56px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.proof-item {
    text-align: center;
}

.proof-item strong {
    display: block;
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.proof-item span {
    font-size: 0.875rem;
    color: #666;
    font-weight: 400;
}

/* Urgency Banner - Subtle */
.urgency-banner {
    background: #f5f5f5;
    padding: 20px 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.urgency-icon {
    font-size: 1.2rem;
}

.urgency-banner span {
    color: #666;
    font-size: 0.9rem;
}

.urgency-banner strong {
    color: #1a1a1a;
    font-weight: 600;
}

.urgency-countdown {
    background: transparent;
    padding: 0;
    font-weight: 500;
    font-size: 0.9rem;
    color: #1a1a1a;
}

/* Analysis Form Section - Clean & Spacious */
.analysis-form-section {
    background: transparent;
    color: #1a1a1a;
    padding: 96px 40px;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.analysis-form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    font-size: 1rem;
    font-weight: 400;
}

.form-progress {
    margin-bottom: 50px;
}

.progress-bar-container {
    height: 2px;
    background: #e5e5e5;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-bar {
    height: 100%;
    background: #1a1a1a;
    width: 20%;
    transition: width 0.4s ease;
    border-radius: 2px;
}

.progress-text {
    text-align: center;
    display: block;
    color: #999;
    font-size: 0.875rem;
    font-weight: 400;
}

/* Multi-step Form - Minimal */
.multi-step-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.form-step input[type="text"],
.form-step input[type="email"],
.form-step select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: #1a1a1a;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-step input:focus,
.form-step select:focus {
    outline: none;
    border-color: #1a1a1a;
    background: #fafafa;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    opacity: 0.4;
}

.input-wrapper input {
    padding-left: 50px;
}

.form-step small {
    display: block;
    margin-top: 12px;
    color: #999;
    font-size: 0.875rem;
    font-weight: 400;
}

/* Checkbox Grid - Refined */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 64px;
}

.checkbox-label:hover {
    border-color: #1a1a1a;
    background: #fafafa;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1.5px solid #1a1a1a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.checkbox-text {
    flex: 1;
    font-weight: 400;
    color: #1a1a1a;
    font-size: 0.95rem;
}

/* Form Actions - Clean */
.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    justify-content: space-between;
}

.btn-back,
.btn-next,
.btn-submit {
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: -0.01em;
}

.btn-back {
    background: transparent;
    color: #666;
    border: 1px solid #e5e5e5;
}

.btn-back:hover {
    background: #fafafa;
    border-color: #ccc;
}

.btn-next {
    background: #1a1a1a;
    color: white;
    margin-left: auto;
}

.btn-next:hover {
    background: #333;
}

.btn-submit {
    background: #1a1a1a;
    color: white;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #333;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 16px 20px;
    border-radius: 6px;
    margin-top: 24px;
    border: 1px solid #fcc;
    font-size: 0.9rem;
}

/* Value Proposition - Gallery Style */
.value-proposition {
    padding: 96px 40px;
    background: white;
}

.value-proposition h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 80px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.value-item {
    background: transparent;
    padding: 0;
    text-align: left;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    opacity: 0.8;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.value-item p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

.cta-center {
    text-align: center;
    margin-top: 60px;
}

/* Social Proof - Editorial Style */
.social-proof-section {
    padding: 96px 40px;
    background: #fafafa;
    color: #1a1a1a;
}

.social-proof-section h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 80px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 100px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 0;
    border-left: 2px solid #1a1a1a;
    box-shadow: none;
}

.stars {
    color: #1a1a1a;
    font-size: 1rem;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: normal;
    margin-bottom: 32px;
    line-height: 1.7;
    color: #333;
    font-size: 1.05rem;
    font-weight: 400;
}

.testimonial-author strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-author span {
    color: #999;
    font-size: 0.875rem;
    font-weight: 400;
}

.company-logos {
    text-align: center;
    margin-top: 100px;
}

.logos-title {
    margin-bottom: 40px;
    color: #999;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.logo-placeholder {
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #ccc;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* How It Works - Minimal */
.how-it-works {
    padding: 96px 40px;
    background: transparent;
    position: relative;
    z-index: 1;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 80px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto 80px;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 32px;
    box-shadow: none;
}

.step-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.step-item p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Final CTA - Refined */
.final-cta-section {
    padding: 96px 40px;
    text-align: center;
    background: #1a1a1a;
    color: white;
}

.final-cta-section h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.final-cta-section p {
    font-size: 1.125rem;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.final-cta-section .cta-button {
    background: white;
    color: #1a1a1a;
}

.final-cta-section .cta-button:hover {
    background: #f5f5f5;
}

/* Sticky CTA - Subtle */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 40px;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    display: none;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sticky-cta.show {
    display: block;
    transform: translateY(0);
}

.sticky-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.sticky-text {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.sticky-button {
    padding: 12px 28px;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.sticky-button:hover {
    background: #333;
}

/* Exit Popup - Refined */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.exit-popup.show {
    display: flex;
}

.exit-popup-content {
    background: white;
    padding: 60px 50px;
    border-radius: 0;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: popIn 0.4s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

@keyframes popIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.exit-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.exit-close:hover {
    color: #1a1a1a;
}

.exit-popup-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.exit-popup-content p {
    color: #666;
    margin-bottom: 32px;
    line-height: 1.7;
    font-size: 1rem;
}

/* Landing Navigation Styles */
.landing-nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 18px 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.landing-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-nav .nav-brand a {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.landing-nav .nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.landing-nav .nav-links a,
.landing-nav .nav-login {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}

.landing-nav .nav-links a:hover,
.landing-nav .nav-login:hover {
    color: #1a1a1a;
}

.landing-nav .nav-toggle {
    display: none;
}

.landing-nav .nav-toggle-bar {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #1a1a1a;
}

/* Responsive - Maintain Elegance */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .cta-button.primary {
        width: 100%;
        padding: 18px;
        font-size: 1rem;
        justify-content: center;
    }
    
    .social-proof-numbers {
        flex-direction: column;
        gap: 40px;
        padding-top: 60px;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .multi-step-form {
        padding: 0;
    }
    
    .value-grid,
    .testimonials-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .sticky-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .sticky-button {
        width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-next,
    .btn-submit {
        width: 100%;
        margin-left: 0;
    }
    
    .landing-header {
        padding: 80px 24px 60px;
    }
    
    .analysis-form-section,
    .value-proposition,
    .social-proof-section,
    .how-it-works,
    .final-cta-section {
        padding: 72px 24px;
    }
    
    .landing-nav {
        padding: 12px 0;
    }
    
    .landing-nav .nav-container {
        padding: 0 24px;
    }
    
    .landing-nav .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 40px;
        height: 40px;
        border-radius: 999px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        background: #ffffff;
        cursor: pointer;
        margin-left: auto;
        padding: 0;
    }
    
    .landing-nav .nav-links {
        position: fixed;
        inset: 64px 0 auto 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px 24px;
        gap: 16px;
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .landing-nav .nav-links.nav-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}
