:root {
    /* Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #161616;

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #52525b;

    --accent-primary: #3b82f6;
    /* Electric Blue */
    --accent-glow: rgba(59, 130, 246, 0.5);

    --border-color: #27272a;

    /* Spacing */
    --container-padding: 2rem;
    --max-width: 1200px;

    /* Transitions */
    --transition-base: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-base);
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    /* Increased from 1.25rem */
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a:not(.btn) {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-list a:not(.btn):hover {
    color: var(--text-primary);
}

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
}

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

.hero-content {
    max-width: 1000px;
    /* Increased from 800px */
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 800px;
    /* Increased from 600px */
    margin-left: auto;
    margin-right: auto;
}

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

.hero-background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Services Section */
.services-section {
    background-color: var(--bg-secondary);
}

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

.service-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

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

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

/* Why Us Section */
.value-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    /* Slight contrast */
}

.value-container {
    max-width: 900px;
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    /* Increased gap */
}

.value-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.icon-box {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.value-text {
    padding-top: 0.5rem;
    /* Optical alignment with icon center */
}

.value-text strong {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.value-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    background-color: var(--bg-primary);
    /* Mask connector line */
    padding: 1rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-tertiary);
    /* Faded background text style */
    -webkit-text-stroke: 1px var(--accent-primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
}

.step-connector {
    flex-grow: 1;
    height: 2px;
    background-color: var(--border-color);
    margin-top: 2rem;
    /* Align with number center roughly */
    position: relative;
    top: -10px;
    display: none;
    /* Hidden on mobile */
}

/* Results Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.author strong {
    display: block;
    color: var(--text-primary);
}

.author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.faq-item {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-base);
}

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

.plus-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

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

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 200px;
    /* Arbitrary limit for transition */
}

.faq-item.active .plus-icon {
    transform: rotate(45deg);
    color: var(--accent-primary);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
}

.contact-card {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-card>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
}

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

.footer-brand p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

/* Responsive */
@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        text-align: left;
    }

    .footer-brand {
        text-align: left;
    }
}

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

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

    .nav-list {
        display: none;
        /* In a real app, implementing mobile menu toggle */
    }

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

    .nav-list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem;
        gap: 1.5rem;
        animation: slideDown 0.3s ease forwards;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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