/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Color Scheme - aalbahar.com colors */
    --primary-color: #2563eb;      /* Blue accent (from aalbahar.com) */
    --primary-dark: #1e40af;       /* Darker blue (from aalbahar.com) */
    --primary-light: #3b82f6;      /* Lighter blue variant */
    --accent-color: #10b981;       /* Success green */
    --accent-purple: #60a5fa;      /* Changed to blue variant */
    --bg-dark: #0f172a;            /* Dark slate (from aalbahar.com gradient start) */
    --bg-dark-alt: #1e293b;        /* Dark slate alt (from aalbahar.com gradient end) */
    --bg-dark-card: #1e293b;       /* Card background matching gradient */
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --text-light-gray: #71717a;
    --border-dark: #334155;        /* Adjusted for blue theme */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);  /* Blue glow */
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-white);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-alt) 100%);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    margin-top: 1.5rem;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

ul {
    list-style: none;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

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

/* Header Styles - Seamless with page */
header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dark);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: var(--text-gray);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--text-white);
    text-decoration: none;
}

/* Highlighted CTA in Nav */
nav .nav-cta a {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav .nav-cta a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Language Switcher */
.language-switcher a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
}

.language-switcher .current-lang {
    color: var(--text-white);
    font-weight: 600;
}

.language-switcher .separator {
    color: var(--text-light-gray);
}

.language-switcher .other-lang {
    color: var(--text-gray);
}

.language-switcher a:hover {
    background-color: var(--bg-dark-alt);
    text-decoration: none;
}

.language-switcher a:hover .other-lang {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    background: var(--bg-dark);
    padding: 180px 0 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    text-decoration: none;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-dark);
}

.btn-secondary:hover {
    background-color: var(--bg-dark-card);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--text-white);
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Bar */
.trust-bar {
    background: var(--bg-dark-alt);
    padding: 60px 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.trust-bar h4 {
    text-align: center;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light-gray);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2.5rem;
    align-items: center;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.trust-grid > div {
    transition: transform 0.3s ease;
}

.trust-grid > div:hover {
    transform: translateY(-5px);
}

.trust-grid i {
    display: block;
    margin-bottom: 0.5rem;
}

/* Cards */
.card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.card-icon-accent {
    color: var(--accent-color);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.card ul {
    margin-top: 1.5rem;
}

.card li {
    color: var(--text-gray);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.card li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
}

/* Service Cards */
.service-card {
    display: flex;
    flex-direction: column;
}

.price-tag {
    margin-top: auto;
    padding-top: 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    text-align: center;
    display: block;
}

/* Feature List */
.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.05);
}

.feature-check {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.feature-list strong {
    color: var(--text-white);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

/* Commitments List */
.commitments-list {
    margin-top: 2.5rem;
}

.commitments-list li {
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.commitments-list li:hover {
    background: rgba(124, 58, 237, 0.05);
    border-color: var(--primary-color);
}

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

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

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-glow);
}

.process-step h4 {
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.05);
}

.faq-question {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

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

.cta-section .btn-primary:hover {
    background: var(--bg-dark);
    color: white;
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--bg-dark-alt);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-dark);
}

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

footer h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

footer p {
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

footer a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light-gray);
    font-size: 0.875rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.max-width-800 {
    max-width: 800px;
    margin: 0 auto;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-top: 1px solid var(--border-dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 400px;
        border-bottom: 1px solid var(--border-dark);
    }

    nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }

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

    .section {
        padding: 60px 0;
    }

    .card-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

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

    .btn-group {
        flex-direction: column;
    }

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