/* ===================================
   ITR Landing Page Styles
   Separate from main app styles
   =================================== */

/* CSS Variables - Landing specific */
:root {
    --landing-bg: #0a0a0b;
    --landing-surface: #141417;
    --landing-surface-hover: #1a1a1f;
    --landing-border: rgba(255, 255, 255, 0.08);
    --landing-text: #ffffff;
    --landing-text-secondary: rgba(255, 255, 255, 0.7);
    --landing-text-muted: rgba(255, 255, 255, 0.5);
    --landing-accent: #10a37f;
    --landing-accent-hover: #0d8c6d;
    --landing-gradient: linear-gradient(135deg, #10a37f 0%, #1a73e8 100%);
    --landing-radius: 12px;
    --landing-radius-lg: 24px;
}

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

/* Base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--landing-bg);
    color: var(--landing-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===================================
   Navigation
   =================================== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 3rem;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--landing-border);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo .logo-img {
    height: 36px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    height: 100%;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--landing-text-secondary);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a:hover {
    color: var(--landing-text);
}

.nav-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.25rem;
    height: 100%;
}



.btn-login {
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--landing-text-secondary);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.btn-login:hover {
    color: var(--landing-text);
}

.btn-signup {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--landing-accent);
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

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

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
}

.gradient-text {
    background: var(--landing-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--landing-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
}

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

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--landing-accent);
    border-radius: var(--landing-radius);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--landing-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 163, 127, 0.3);
}

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

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--landing-surface);
    border-color: var(--landing-text-muted);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mockup-window {
    background: var(--landing-surface);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-lg);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--landing-border);
}

.mockup-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #febc2e;
}

.dot.green {
    background: #28c840;
}

.mockup-content {
    padding: 1.5rem;
}

.mockup-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.mockup-tabs .tab {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--landing-text-muted);
}

.mockup-tabs .tab.active {
    background: var(--landing-accent);
    color: white;
}

.mockup-tasks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mockup-task {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.9rem;
}

.mockup-task .checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--landing-text-muted);
    border-radius: 4px;
}

.mockup-task .checkbox.checked {
    background: var(--landing-accent);
    border-color: var(--landing-accent);
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: 6rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--landing-text-secondary);
}

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

.feature-card {
    padding: 2rem;
    background: var(--landing-surface);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-lg);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--landing-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--landing-text-secondary);
    font-size: 0.95rem;
}

/* ===================================
   How It Works
   =================================== */
.how-it-works {
    padding: 6rem 4rem;
    background: var(--landing-surface);
}

.how-it-works .section-header {
    max-width: 1200px;
    margin: 0 auto 4rem;
    text-align: center;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 0 1 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.step p {
    color: var(--landing-text-secondary);
    text-align: center;
    max-width: 280px;
}

/* ===================================
   AI Platform Section
   =================================== */
.ai-platform {
    padding: 6rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ai-platform .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ai-platform .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ai-platform .section-header p {
    font-size: 1.125rem;
    color: var(--landing-text-secondary);
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ai-feature {
    padding: 2.5rem;
    background: linear-gradient(145deg, var(--landing-surface) 0%, rgba(16, 163, 127, 0.05) 100%);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.ai-feature:hover {
    transform: translateY(-5px);
    border-color: var(--landing-accent);
    box-shadow: 0 20px 40px rgba(16, 163, 127, 0.15);
}

.ai-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.ai-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--landing-text);
}

.ai-feature p {
    color: var(--landing-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 8rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--landing-surface) 0%, var(--landing-bg) 100%);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: var(--landing-text-secondary);
    margin-bottom: 2rem;
}

/* ===================================
   Footer
   =================================== */
.landing-footer {
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 3rem;
    border-top: 1px solid var(--landing-border);
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    height: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 28px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--landing-text-muted);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--landing-text);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--landing-text-muted);
    text-align: right;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        padding: 6rem 2rem 4rem;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .features,
    .how-it-works,
    .cta-section {
        padding: 4rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* ===================================
   Animations
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.landing-nav.scrolled {
    background: rgba(10, 10, 11, 0.95);
    padding: 0.75rem 2rem;
}