:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #0ea5e9;
    --accent: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #6366f1 0%, #0ea5e9 50%, #10b981 100%);
}

body.light-mode {
    --dark: #f8fafc;
    --dark-light: #ffffff;
    --gray: #475569;
    --light: #0f172a;
    --white: #0f172a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.28);
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.12);
}

.logo {
    width: 240px;
    height: 58px;
    padding: 0.45rem 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

body.light-mode .logo {
    background: #ffffff;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-left: auto;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.theme-toggle {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.theme-toggle::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: currentColor;
    box-shadow:
        0 -8px 0 -6px currentColor,
        0 8px 0 -6px currentColor,
        8px 0 0 -6px currentColor,
        -8px 0 0 -6px currentColor,
        6px 6px 0 -6px currentColor,
        -6px -6px 0 -6px currentColor,
        6px -6px 0 -6px currentColor,
        -6px 6px 0 -6px currentColor;
}

body.light-mode .theme-toggle::before {
    background: transparent;
    box-shadow: inset -6px -2px 0 1px currentColor;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.55);
}

body.light-mode .theme-toggle {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.14);
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.light-mode .nav-cta,
body.light-mode .btn:not(.secondary) {
    color: #ffffff;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
}

.btn {
    padding: 0.95rem 1.5rem;
}

.btn.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

body.light-mode .btn.secondary {
    border-color: rgba(15, 23, 42, 0.16);
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}

.service-hero {
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.16), transparent 34%),
        radial-gradient(circle at 78% 70%, rgba(16, 185, 129, 0.12), transparent 28%);
}

.service-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.lead {
    color: var(--gray);
    font-size: 1.18rem;
    max-width: 720px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-panel {
    background: rgba(30, 41, 59, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 2rem;
}

body.light-mode .service-panel,
body.light-mode .feature-card,
body.light-mode .process-card {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.08);
}

.service-panel h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.quick-list,
.check-list {
    list-style: none;
}

.quick-list li,
.check-list li {
    color: var(--gray);
    padding: 0.55rem 0;
}

.quick-list li::before,
.check-list li::before {
    content: ">";
    color: var(--accent);
    font-weight: 800;
    margin-right: 0.7rem;
}

.section {
    padding: 90px 5%;
}

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

.section-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.section-header {
    max-width: 760px;
    margin-bottom: 3rem;
}

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

.section-header p {
    color: var(--gray);
    font-size: 1.08rem;
}

.feature-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature-card,
.process-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.6rem;
}

.feature-card h3,
.process-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
}

.feature-card p,
.process-card p {
    color: var(--gray);
}

.cta-band {
    padding: 80px 5%;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(16, 185, 129, 0.16));
}

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

.cta-band p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.footer {
    background: var(--dark);
    padding: 48px 5% 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer p {
    color: var(--gray);
}

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

.footer-links a {
    color: var(--gray);
    text-decoration: none;
}

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

@media (max-width: 900px) {
    .service-hero-inner,
    .feature-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.85rem 5%;
    }

    .logo {
        width: 190px;
        height: 48px;
        padding: 0.35rem 0.65rem;
    }

    .nav-cta {
        display: none;
    }

    .theme-toggle {
        margin-left: auto;
    }

    .service-hero {
        padding-top: 90px;
    }
}

@media (max-width: 420px) {
    .logo {
        width: 170px;
        height: 44px;
    }
}
