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

:root {
    --purple: #7C3AED;
    --purple-dark: #6D28D9;
    --purple-deeper: #5B21B6;
    --purple-light: #EDE9FE;
    --purple-glow: rgba(124, 58, 237, 0.15);
    --gradient: linear-gradient(135deg, #7C3AED 0%, #a855f7 50%, #7C3AED 100%);
    --gradient-subtle: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #f5f3ff 100%);
    --dark: #1a1a1a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-purple: 0 8px 30px rgba(124, 58, 237, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 28px;
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(124, 58, 237, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
    padding: 12px 28px;
}

.btn-dark:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
}

.btn-outline:hover {
    background: var(--purple);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
}

.arrow {
    font-size: 17px;
    transition: transform 0.3s;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* ===== Navbar ===== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 100;
    padding: 0 24px;
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
    color: var(--gray-900);
}

.logo img {
    height: 34px;
    width: auto;
}

.logo span {
    font-weight: 900;
}

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

.nav-links a:not(.btn) {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple);
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-links a:not(.btn):hover {
    color: var(--purple);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* ===== Language Switcher ===== */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1.5px solid var(--gray-200);
    border-radius: 50px;
    padding: 6px 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.lang-btn svg {
    flex-shrink: 0;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    min-width: 140px;
    z-index: 200;
}

.lang-dropdown.open {
    display: block;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.lang-option:hover {
    background: var(--gray-50);
}

.lang-option.active {
    color: var(--purple);
    font-weight: 600;
}

.mobile-lang {
    align-self: flex-start;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
}

.mobile-menu.open {
    display: flex;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    background-image: url('assets/AdobeStock_450287136 copy.jpeg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.75) 0%, rgba(91, 33, 182, 0.55) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    color: var(--purple);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
    background: var(--purple-light);
    padding: 6px 14px;
    border-radius: 50px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--white);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-heading-2 {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-title .purple {
    color: var(--purple);
}

.purple {
    color: var(--purple);
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 32px;
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.75;
}

/* ===== Services ===== */
.services {
    padding: 56px 0;
    background: var(--gradient-subtle);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.15), transparent);
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.15), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(124, 58, 237, 0.15);
}

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

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.service-desc {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.check {
    width: 20px;
    height: 20px;
    color: var(--purple);
    flex-shrink: 0;
    background: var(--purple-light);
    border-radius: 50%;
    padding: 3px;
}

/* ===== Why Lead Code ===== */
.why-lead-code {
    padding: 56px 0;
    background: var(--white);
}

.why-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--purple);
    border-radius: var(--radius-lg);
    padding: 22px 28px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.why-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--purple-dark);
}

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

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

/* ===== How It Works ===== */
.how-it-works {
    padding: 56px 0;
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.how-it-works .section-title {
    color: var(--white);
}

.how-it-works .section-title .purple {
    color: #a855f7;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.step-card {
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    background: rgba(124, 58, 237, 0.2);
    box-shadow: 0 16px 48px rgba(124, 58, 237, 0.2);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    box-shadow: var(--shadow-purple);
}

.step-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 10px;
}

.step-card p:last-child {
    margin-bottom: 0;
}

/* ===== CTA Banner ===== */
.cta-banner {
    padding: 48px 0;
    background: var(--gray-900);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    position: relative;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    margin-bottom: 24px;
    position: relative;
}

.btn-white {
    background: var(--white);
    color: var(--purple);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ===== Contact ===== */
.contact {
    padding: 56px 0;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.contact-info p {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.75;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    font-family: inherit;
    font-size: 15px;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    outline: none;
    transition: all 0.2s;
    background: var(--gray-50);
    color: var(--gray-900);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px var(--purple-glow);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    padding: 36px 0 20px;
    color: var(--white);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer .logo {
    color: var(--white);
}

.footer .logo img {
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-links a:not(.btn) {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:not(.btn):hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 56px 0 48px;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 32px;
    }

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

    .who-we-are,
    .services,
    .why-lead-code,
    .how-it-works,
    .contact {
        padding: 40px 0;
    }

    .who-we-are-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .who-we-are-image {
        order: -1;
    }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-banner h2 {
        font-size: 24px;
    }
}
