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

:root {
    --primary: #0A0E27;
    --secondary: #1A1F3A;
    --accent: #4F46E5;
    --accent-light: #6366F1;
    --accent-hover: #4338CA;
    --light: #F8F9FC;
    --gray-100: #F1F5F9;
    --gray-300: #CBD5E1;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    --gradient-hover: linear-gradient(135deg, #818CF8 0%, #6366F1 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary);
    background-color: var(--white);
    font-size: 16px;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 1001;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.8px;
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

nav {
    display: flex;
    gap: 48px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
}

nav a:not(.cta-button) {
    padding: 8px 0;
}

nav a:not(.cta-button):hover {
    color: var(--accent);
}

nav a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

.cta-button {
    background: var(--gradient);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
    background: var(--gradient-hover);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
    background: var(--primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0.97;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(79, 70, 229, 0.2) 0%, transparent 50%);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 48px;
    opacity: 0.94;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-large {
    background: var(--white);
    color: var(--accent);
    padding: 20px 44px;
    font-size: 18px;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.btn-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.7);
    background: var(--white);
    border-color: var(--white);
}

.btn-large svg {
    width: 22px;
    height: 22px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--primary);
}

.section-header p {
    font-size: 20px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--gray-100);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 44px 36px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
}

.service-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(79, 70, 229, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 15px;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    background: var(--white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 56px;
    position: relative;
}

.process-step {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
}

.process-step.animated {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 15px;
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    background: var(--gray-100);
}

.pricing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    background: var(--gradient);
    color: var(--white);
    padding: 20px 40px;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
}

.pricing-details {
    padding: 48px 40px;
}

.pricing-intro {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 36px;
    line-height: 1.7;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 15px;
}

.pricing-features svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-info {
    opacity: 0;
    transform: translateY(40px);
}

.pricing-info.animated {
    opacity: 1;
    transform: translateY(0);
}

.pricing-info h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.pricing-info p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 16px;
}

.pricing-info ul {
    list-style: none;
    margin: 28px 0;
}

.pricing-info ul li {
    padding: 12px 0;
    color: var(--gray-800);
    line-height: 1.7;
    font-size: 15px;
}

.pricing-info strong {
    color: var(--primary);
    font-weight: 700;
}

.pricing-note {
    font-size: 14px;
    color: var(--gray-600);
    font-style: italic;
    margin-top: 24px;
}

/* Request Section */
.request-section {
    padding: 120px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.request-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0.97;
}

.request-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.request-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    color: var(--white);
}

.request-text h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.request-text > p {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 36px;
    opacity: 0.94;
}

.request-benefits {
    list-style: none;
}

.request-benefits li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
}

.request-benefits svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.request-action {
    text-align: center;
}

.form-note {
    margin-top: 20px;
    font-size: 15px;
    opacity: 0.85;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 72px;
    margin-bottom: 56px;
}

.footer-brand p {
    margin-top: 20px;
    opacity: 0.85;
    line-height: 1.8;
    font-size: 15px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    margin-bottom: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    padding: 8px 0;
    opacity: 0.8;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-column a:hover,
.footer-column ul li:hover {
    opacity: 1;
}

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

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-legal a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .section-header h2 {
        font-size: 40px;
    }

    .pricing-content,
    .request-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 32px 24px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: stretch;
    }

    nav.mobile-active {
        right: 0;
    }

    nav a {
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--gray-100);
    }

    nav a:not(.cta-button)::after {
        display: none;
    }

    nav .cta-button {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
        border: none;
    }

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

    .hero {
        padding: 100px 0 80px;
    }

    .hero-content h1 {
        font-size: 36px;
        letter-spacing: -0.8px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        max-width: 280px;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 17px;
    }

    .services,
    .how-it-works,
    .pricing,
    .request-section {
        padding: 80px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .request-text h2 {
        font-size: 36px;
    }

    .request-text > p {
        font-size: 17px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 22px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .service-card,
    .pricing-details {
        padding: 32px 24px;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
}