
body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    margin: 0;
    padding: 0;
    background: radial-gradient(1200px 800px at 20% -10%, rgba(59,130,246,0.08), transparent),
                radial-gradient(1000px 700px at 120% 20%, rgba(16,185,129,0.07), transparent),
                #0b1220;
    color: #e5e7eb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Theme variables */
:root {
    --bg: #0b1220;
    --text: #e5e7eb;
    --muted: #d1d5db;
    --card: rgba(31,41,55,0.9);
    --card-border: rgba(255,255,255,0.12);
    --header-bg: rgba(11, 18, 32, 0.6);
    --header-border: rgba(255,255,255,0.08);
    --logo-tile: rgba(255,255,255,0.92);
}

html[data-theme="light"] {
    --bg: #f8fafc;
    --text: #0f172a;
    --muted: #475569;
    --card: #ffffff;
    --card-border: rgba(15,23,42,0.08);
    --header-bg: rgba(255,255,255,0.75);
    --header-border: rgba(15,23,42,0.08);
    --logo-tile: #ffffff;
}

/* Theme toggle button */
.theme-toggle {
    margin-left: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(17,24,39,0.7);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Light theme overrides */
html[data-theme="light"] body {
    background: #f8fafc;
    color: #0f172a;
}

html[data-theme="light"] header {
    background: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(15,23,42,0.08);
}

html[data-theme="light"] header nav a {
    color: #0f172a;
}

html[data-theme="light"] .theme-toggle {
    border-color: rgba(15,23,42,0.08);
    background: #ffffff;
    color: #0f172a;
}

html[data-theme="light"] .expertise,
html[data-theme="light"] .logos,
html[data-theme="light"] .work-with-us {
    background: linear-gradient(180deg, rgba(15,23,42,0.03), rgba(255,255,255,0));
}

html[data-theme="light"] .why-us,
html[data-theme="light"] .testimonials {
    background: #f1f5f9;
}

html[data-theme="light"] .step,
html[data-theme="light"] .testimonial {
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

html[data-theme="light"] .testimonial p {
    color: #475569;
}

html[data-theme="light"] .logo-grid img {
    background: #ffffff;
    border-color: rgba(15,23,42,0.08);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

html[data-theme="light"] footer {
    background: rgba(15,23,42,0.03);
    color: #475569;
    border-top-color: rgba(15,23,42,0.08);
}

/* Dark theme tweaks: slightly lighter cards */
html[data-theme="dark"] .step,
html[data-theme="dark"] .testimonial {
    background: rgba(31,41,55,0.85);
    border-color: rgba(255,255,255,0.12);
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 32px;
    backdrop-filter: saturate(160%) blur(10px);
    background: rgba(11, 18, 32, 0.6);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #22c55e, #93c5fd);
    z-index: 60;
}

header img {
    height: 44px;
}

header nav a {
    text-decoration: none;
    color: #e5e7eb;
    margin-left: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color .2s ease;
}

header nav a:hover {
    color: #93c5fd;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    background: #111827;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 100;
}

.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 20px;
}

.container p {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    position: relative;
    background-image: linear-gradient(rgba(2, 6, 23, 0.65), rgba(2, 6, 23, 0.8)), url('../images/business-meeting.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 120px 0 140px 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(800px 300px at 50% 10%, rgba(255,255,255,0.08), transparent);
}

.hero h1 {
    font-family: Poppins, Inter, ui-sans-serif, system-ui;
    font-weight: 700;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 0 rgba(0,0,0,0.3);
}

.hero h1 span {
    background: linear-gradient(90deg, #93c5fd, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    margin: 0 auto 28px auto;
    max-width: 860px;
    color: #e5e7eb;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 14px 22px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    margin-top: 28px;
    box-shadow: 0 6px 20px rgba(34,197,94,0.28);
    transform: translateY(0);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(34,197,94,0.35);
    filter: brightness(1.05);
}

.expertise, .why-us, .logos, .testimonials, .work-with-us {
    padding: 72px 0;
    text-align: center;
}

.expertise {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.why-us {
    background: rgba(255,255,255,0.02);
}

.logos {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.testimonials {
    background: rgba(255,255,255,0.02);
}

.work-with-us {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.expertise h2, .why-us h2, .logos h2, .testimonials h2, .work-with-us h2 {
    font-family: Poppins, Inter, ui-sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.expertise h2::after, .why-us h2::after, .logos h2::after, .testimonials h2::after, .work-with-us h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin: 10px auto 0 auto;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #93c5fd);
}

.expertise h3 {
    color: #9ca3af;
    font-weight: 600;
    margin-top: 8px;
}

.expertise-steps, .logo-grid, .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.step, .testimonial {
    box-sizing: border-box;
    padding: 22px;
    background: rgba(17,24,39,0.7);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-align: left;
}

.step {
    transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.35);
}

.step img {
    width: 48px;
    height: 48px;
    padding: 8px;
    background: linear-gradient(180deg, #ffffff, #f3f4f6);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transition: transform .15s ease, box-shadow .2s ease;
}

.step:hover img {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

.step h4 {
    margin-top: 10px;
}

.video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    margin: 0 0 14px 0;
}

.video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.logo-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 28px;
}

.logo-grid img {
    height: 42px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px 14px;
    filter: none;
    opacity: 1;
    transition: box-shadow .2s ease, transform .2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.logo-grid img:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.testimonial .author {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.testimonial .author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin-right: 12px;
}

.testimonial p {
    color: #d1d5db;
}

footer {
    background: rgba(17,24,39,0.8);
    color: #9ca3af;
    text-align: center;
    padding: 22px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

footer a {
    color: #e5e7eb;
    text-decoration: none;
}

.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(17,24,39,0.8);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 10px 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 60;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(18px) scale(0.995);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.08s;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .expertise-steps, .logo-grid, .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .logo-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    header {
        padding: 12px 16px;
    }

    .hero {
        padding: 88px 0 96px 0;
    }

    .expertise-steps, .logo-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .logo-grid img {
        height: 36px;
    }
}

/* Offset for sticky header when using anchor links */
.expertise, .why-us, .logos, .testimonials, .work-with-us {
    scroll-margin-top: 84px;
}
