/* Global Variables & Reset */
:root {
    --bg-dark: #0f111a;
    --bg-darker: #08090d;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #14b8a6 100%);
    --surface-glass: rgba(255, 255, 255, 0.05);
    --surface-glass-hover: rgba(255, 255, 255, 0.1);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-light: rgba(255, 255, 255, 0.1);
    --blur: 12px;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

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

.grid {
    display: grid;
    gap: 2rem;
}

.flex {
    display: flex;
    gap: 1rem;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 17, 26, 0.8);
    backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: #a855f7;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-header {
    display: none;
    /* Hide on Desktop */
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    text-align: left;
}

.hero-image-container {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--primary-gradient);
    filter: blur(60px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        margin-bottom: 3rem;
    }

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

/* About Section */
.about-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(var(--blur));
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.feature-icon {
    color: #a855f7;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--surface-glass-hover);
    border-color: #6366f1;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Trusted By Section */
.trusted-by {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.01);
}

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(100%);
}

.logo-grid i {
    font-size: 2.5rem;
    transition: var(--transition);
}

.logo-grid i:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: #a855f7;
    transform: scale(1.1);
}

/* Timeline Process */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-content {
    width: 45%;
    background: var(--surface-glass);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: #6366f1;
    transform: translateY(-5px);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 200px;
}

.faq-item.active {
    border-color: #a855f7;
    background: var(--surface-glass-hover);
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-dot {
        left: 20px;
    }
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: #6366f1;
    opacity: 0.5;
    line-height: 1;
}

/* Footer */
footer {
    background: var(--bg-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-light);
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form */
.contact-form {
    background: var(--surface-glass);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(0, 0, 0, 0.4);
}

/* Responsive */
/* Responsive / Mobile Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 2005;
        /* HIGHER than nav-links (2000) and overlay (1500) */
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -100%;
        /* Hidden by default */
        width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        padding: 0;
        text-align: left;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        border-right: 1px solid var(--border-light);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .nav-links.active {
        left: 0;
    }

    /* Mobile Header inside Menu */
    .mobile-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
        background: var(--primary-gradient);
        /* Matches brand, similar to blue reference */
        color: white;
        font-weight: 700;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-header i {
        cursor: pointer;
        font-size: 1.2rem;
    }

    /* List Items */
    .nav-links li:not(.mobile-header) {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links li a {
        display: block;
        padding: 1.25rem 1.5rem;
        font-weight: 600;
        color: var(--text-main);
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .nav-links li a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #a855f7;
        padding-left: 2rem;
    }

    /* Button inside menu */
    .nav-links .btn {
        margin: 1.5rem;
        width: calc(100% - 3rem);
        text-align: center;
        display: block;
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Reduced from 0.8 for transparency */
    backdrop-filter: none;
    /* Explicitly removed */
    -webkit-backdrop-filter: none;
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #6366f1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.popular {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: #a855f7;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
    color: var(--text-main);
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    text-align: left;
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li.disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

.check-icon {
    color: #4ade80;
    font-size: 1.1rem;
}

/* Page Header (for subpages) */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15), transparent 70%);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Checkout Section */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 100vh;
}

.checkout-summary {
    background: var(--bg-darker);
    padding: 4rem;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.checkout-form-section {
    padding: 4rem;
    background: var(--bg-dark);
}

.order-summary-card {
    background: var(--surface-glass);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    margin-top: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.summary-total {
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.back-link {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--text-main);
}

/* Payment Form */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.payment-method-btn.active {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-main);
}

.form-row {
    display: flex;
    gap: 1rem;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-icon-wrapper input {
    padding-left: 3rem;
}

/* Checkout Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.success-modal {
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    max-width: 500px;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .success-modal {
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        order: -1;
        padding: 2rem;
    }

    .checkout-form-section {
        padding: 2rem;
    }
}

/* Checkout Redesign */
.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-dark);
    position: relative;
    /* Override global fixed header */
    z-index: 10;
}

.checkout-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.checkout-logo img {
    height: 32px;
}

.secure-badge {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    max-width: 1200px;
    margin: 3rem auto;
    gap: 3rem;
    padding: 0 2rem;
}

/* Left Column */
.form-section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin: 2rem 0 1rem;
    letter-spacing: 1px;
}

/* Right Column */
.order-summary-box {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.summary-total-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    margin-top: 1rem;
    color: white;
}

.blue-info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
}

.trust-box {
    background: var(--surface-glass);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-item i {
    color: #4ade80;
    /* Green check */
}

.rating-bar {
    background: rgba(255, 150, 50, 0.15);
    color: #fbbf24;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Form Overrides */
.form-control-large {
    padding: 1rem;
    font-size: 1rem;
}

.payment-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.payment-toggle-btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.payment-toggle-btn.active {
    background: white;
    color: black;
}

@media (max-width: 900px) {
    .checkout-body {
        grid-template-columns: 1fr;
    }

    .order-summary-box {
        order: -1;
    }
}