/* ==========================================================================
   AI BIZNES LAB NETWORK - Landing Page Styles
   ========================================================================== */

/* CSS Custom Properties */
:root {
    --warmth-primary: #C94A2A;
    --warmth-secondary: #E8B48F;
    --warmth-accent: #2A5C4E;
    --warmth-gold: #D4925A;
    --warmth-cream: #FBF7F2;
    --warmth-charcoal: #2C2625;
    --warmth-plum: #6B4C7A;
    --warmth-border: #E5E0DB;

    --shadow-soft: 0 4px 20px rgba(0,0,0,0.03);
    --shadow-medium: 0 8px 32px rgba(0,0,0,0.04);
    --shadow-strong: 0 20px 40px rgba(0,0,0,0.06);

    --ease-organic: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--warmth-cream);
    color: var(--warmth-charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--warmth-charcoal);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; margin-bottom: 12px; }

p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(251, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warmth-charcoal);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--warmth-charcoal);
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--warmth-primary);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn-login,
.btn-register {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-login {
    background: transparent;
    color: var(--warmth-charcoal);
    border: 1px solid var(--warmth-border);
}

.btn-login:hover:not(.disabled) {
    border-color: var(--warmth-primary);
    color: var(--warmth-primary);
}

.btn-register {
    background: var(--warmth-primary);
    color: white;
}

.btn-register:hover:not(.disabled) {
    background: #B54025;
    transform: translateY(-1px);
}

.btn-login.disabled,
.btn-register.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--warmth-charcoal);
    transition: all 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    background: var(--warmth-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3rem !important;
    line-height: 1.1 !important;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--warmth-primary);
}

.hero-subtitle {
    font-size: 1.25rem !important;
    color: #555;
    margin-bottom: 32px;
    max-width: 500px;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--warmth-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.2s;
}

.btn-primary-large:hover {
    background: #B54025;
    transform: translateY(-2px);
}

.btn-primary-large svg {
    width: 20px;
    height: 20px;
}

/* Hero Showcase */
.hero-showcase {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(0,0,0,0.05);
}

.match-card {
    background: var(--warmth-cream);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 16px;
    border-left: 4px solid var(--warmth-primary);
}

.match-card:nth-child(2) {
    border-left-color: var(--warmth-accent);
}

.match-card:nth-child(3) {
    border-left-color: var(--warmth-charcoal);
}

.match-card:last-child {
    margin-bottom: 0;
}

.match-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.match-icon.primary {
    background: rgba(201, 74, 42, 0.1);
    color: var(--warmth-primary);
}

.match-icon.accent {
    background: rgba(42, 92, 78, 0.1);
    color: var(--warmth-accent);
}

.match-icon.dark {
    background: rgba(44, 38, 37, 0.1);
    color: var(--warmth-charcoal);
}

.match-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.match-content p {
    font-size: 0.75rem;
    opacity: 0.7;
    margin: 0;
}

.match-check {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.match-check.primary { background: var(--warmth-primary); }
.match-check.accent { background: var(--warmth-accent); }
.match-check.dark { background: var(--warmth-charcoal); }

/* ==========================================================================
   SECTION TITLE
   ========================================================================== */

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   FEATURE CARDS GRID
   ========================================================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--warmth-cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--warmth-primary);
}

.feature-card.dark .feature-icon {
    background: var(--warmth-charcoal);
    color: white;
}

.feature-card.accent .feature-icon {
    background: var(--warmth-accent);
    color: white;
}

.feature-card.primary .feature-icon {
    background: var(--warmth-primary);
    color: white;
}

/* ==========================================================================
   STEPS TIMELINE
   ========================================================================== */

.steps-section {
    background: #fff;
    padding: 80px 0;
}

.step-timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.step-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--warmth-border);
}

.step-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 56px;
    height: 56px;
    background: var(--warmth-secondary);
    color: var(--warmth-charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    border: 4px solid #fff;
    z-index: 1;
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */

.comparison-wrapper {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin: 40px 0;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--warmth-border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-header {
    background: var(--warmth-charcoal);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.comparison-header.secondary {
    background: #f0f0f0;
    color: var(--warmth-charcoal);
}

.comparison-cell {
    padding: 24px 32px;
    font-size: 1rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comparison-cell.negative {
    background: #fafafa;
    color: #666;
}

.comparison-cell.positive {
    background: #fff;
    color: var(--warmth-charcoal);
    font-weight: 500;
}

.check-icon { color: var(--warmth-primary); flex-shrink: 0; }
.cross-icon { color: #ccc; flex-shrink: 0; }

/* ==========================================================================
   AI MATCH SHOWCASE
   ========================================================================== */

.match-showcase {
    max-width: 720px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(0,0,0,0.03);
}

.match-showcase-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.match-showcase-header .icon {
    width: 40px;
    height: 40px;
    background: var(--warmth-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-showcase-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--warmth-primary);
    margin: 0;
}

.match-quote {
    background: #F5F5F7;
    padding: 32px;
    border-radius: 16px;
    font-style: italic;
    color: #4A4A4A;
    line-height: 1.6;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

/* ==========================================================================
   BETA CTA BOX
   ========================================================================== */

.beta-box {
    background: var(--warmth-primary);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
}

.beta-box h2 {
    color: #fff !important;
    margin-bottom: 16px;
}

.beta-box p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn-white {
    background: #fff;
    color: var(--warmth-primary);
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-white:hover {
    transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--warmth-charcoal);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
    color: #fff;
}

.footer-brand-description {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-section-title {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
}

.footer-credits {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-brand-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-brand-link:hover {
    color: #fff;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
    color: #fff;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 968px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-section {
        min-height: auto;
        padding-top: 120px;
    }

    .hero-left {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-showcase {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .auth-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .section {
        padding: 60px 0;
    }

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-header.secondary {
        display: none;
    }

    .comparison-cell {
        padding: 16px 20px;
    }

    .comparison-cell.negative {
        border-bottom: 1px dashed #eee;
    }

    .step-timeline::before {
        left: 19px;
    }

    .step-item {
        padding-left: 60px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-main {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-credits {
        font-size: 0.8rem;
    }

    .footer-credits span {
        display: block;
        margin-bottom: 4px;
    }

    .footer-credits span:nth-child(2),
    .footer-credits span:nth-child(4) {
        display: none;
    }

    .match-showcase {
        padding: 32px 24px;
    }

    .beta-box {
        padding: 40px 24px;
    }
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--warmth-cream);
    z-index: 999;
    padding: 80px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--warmth-charcoal);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-nav a {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--warmth-border);
}

.mobile-auth {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-auth .btn-login,
.mobile-auth .btn-register {
    width: 100%;
    text-align: center;
}
