/* LeadLasso – Landing Page Theme
   Based on Design/main.css color palette */

:root {
    /* Primary Palette */
    --bg-deep: #05070f;
    --bg-card: #0a0e1a;
    --bg-section: #080c16;
    --accent: #ff6b00;
    --accent-hover: #ff8533;
    --accent-glow: rgba(255, 107, 0, 0.15);
    --accent-glow-strong: rgba(255, 107, 0, 0.3);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #999999;
    --text-dim: #666666;

    /* UI Elements */
    --border: #1a1f2e;
    --border-light: #2a2f3e;
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --radius: 4px;
    --radius-lg: 8px;
    --radius-xl: 16px;

    /* Transition */
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-dim);
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.nav.scrolled {
    background: rgba(5, 7, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

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

.logo {
    color: var(--accent);
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.logo span {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background-color: var(--accent);
    color: white !important;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 107, 0, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255, 107, 0, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255, 107, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 107, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 20%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    background: rgba(255, 107, 0, 0.05);
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--accent), #ff9a44);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 16px 36px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 24px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 107, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ========== SECTIONS COMMON ========== */
section {
    padding: 100px 40px;
    position: relative;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.section-alt {
    background-color: var(--bg-section);
}

/* ========== PROBLEM SECTION ========== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.problem-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ========== APPROACH SECTION ========== */
.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 56px;
}

.approach-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.approach-text p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.approach-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.approach-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: var(--text-secondary);
}

.approach-list .check {
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.approach-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
}

.approach-visual::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), transparent 50%);
    z-index: -1;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.process-step:last-child {
    border-bottom: none;
}

.step-num {
    width: 44px;
    height: 44px;
    background: var(--accent-glow);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.step-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-info p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========== CAPABILITIES SECTION ========== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.capability-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    transition: var(--transition);
    display: flex;
    gap: 20px;
}

.capability-card:hover {
    border-color: rgba(255, 107, 0, 0.2);
    transform: translateY(-2px);
}

.capability-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--accent-glow);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.capability-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.capability-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========== WHY US SECTION ========== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.why-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.why-card:hover {
    border-color: rgba(255, 107, 0, 0.2);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: block;
}

.why-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========== SOCIAL PROOF / LOGOS ========== */
.logos-section {
    padding: 64px 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logos-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.logos-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

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

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    filter: grayscale(100%) brightness(2);
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

.logo-item img {
    max-height: 36px;
    max-width: 140px;
    object-fit: contain;
}

.logo-item .logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 120px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 107, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
    padding: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: var(--text-dim);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 24px;
    }

    .nav-inner {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 24px 64px;
        min-height: auto;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .logos-grid {
        gap: 32px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 320px;
    }
}

/* ========== MOBILE NAV TOGGLE ========== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
}