:root {
    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-soft: #eef3fb;
    --text: #0d1b2a;
    --muted: #5d6b82;
    --primary: #1957ff;
    --primary-dark: #0b35aa;
    --accent: #13c6a3;
    --accent-soft: #dffcf6;
    --border: rgba(13, 27, 42, 0.1);
    --shadow: 0 24px 70px rgba(11, 53, 170, 0.12);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    color: var(--muted);
    margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 1rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.65rem, 6vw, 5.7rem);
}

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

h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 900px;
    text-align: center;
}

.section-padding {
    padding: 96px 0;
}

.muted-bg {
    background: linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
}

.skip-link {
    position: absolute;
    top: -80px;
    left: 16px;
    padding: 12px 16px;
    background: var(--text);
    color: #fff;
    z-index: 999;
    border-radius: 12px;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 249, 252, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 15px;
    box-shadow: 0 12px 32px rgba(25, 87, 255, 0.24);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text small {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.78rem;
}

.primary-nav ul,
.site-footer ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.primary-nav a {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.94rem;
    transition: 220ms ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item a {
    background: #fff;
    color: var(--text);
    box-shadow: 0 10px 24px rgba(13, 27, 42, 0.08);
}

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.header-cta,
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 18px 42px rgba(25, 87, 255, 0.25);
}

.btn-secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--border);
}

.btn-light {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 18px 42px rgba(255, 255, 255, 0.18);
}

.btn:hover,
.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 55px rgba(25, 87, 255, 0.32);
}

.full-width {
    width: 100%;
}

.menu-toggle {
    display: none;
    border: 0;
    background: #fff;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(13, 27, 42, 0.08);
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    margin: 4px auto;
    border-radius: 4px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-section {
    position: relative;
    padding: 104px 0 72px;
    overflow: hidden;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.55;
    pointer-events: none;
}

.hero-section::before {
    width: 380px;
    height: 380px;
    background: rgba(25, 87, 255, 0.15);
    top: 0;
    left: -140px;
}

.hero-section::after {
    width: 440px;
    height: 440px;
    background: rgba(19, 198, 163, 0.16);
    right: -120px;
    bottom: -100px;
}

.hero-grid,
.split-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
    gap: 60px;
    align-items: center;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.28rem);
    max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 99px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-row span,
.keyword-chip {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 500px;
}

.glass-panel,
.service-card,
.stat-card,
.testimonial-card,
.process-card,
.value-card,
.package-card,
.experience-card,
.contact-panel,
.contact-info,
.post-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.dashboard-main {
    position: absolute;
    inset: 54px 28px 34px;
    padding: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(237, 244, 255, 0.76));
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 99px;
    background: #cbd5e1;
}

.chart-line {
    height: 210px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 15% 70%, rgba(19, 198, 163, 0.4), transparent 9%),
        radial-gradient(circle at 45% 45%, rgba(25, 87, 255, 0.36), transparent 10%),
        radial-gradient(circle at 78% 30%, rgba(19, 198, 163, 0.48), transparent 9%),
        linear-gradient(135deg, rgba(25, 87, 255, 0.08), rgba(19, 198, 163, 0.12));
    border: 1px solid rgba(25, 87, 255, 0.08);
    position: relative;
}

.chart-line::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 58%;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: rotate(-12deg);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.metric-grid div {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
}

.metric-grid strong {
    display: block;
    font-size: 1.4rem;
}

.metric-grid span,
.floating-card small,
.floating-card span {
    color: var(--muted);
    font-size: 0.82rem;
}

.floating-card {
    position: absolute;
    z-index: 2;
    width: 190px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 28px 65px rgba(13, 27, 42, 0.13);
    animation: floatSoft 5s ease-in-out infinite;
}

.floating-card strong {
    display: block;
    font-size: 2.1rem;
    letter-spacing: -0.05em;
}

.card-one {
    top: 0;
    left: 0;
}

.card-two {
    right: 0;
    bottom: 0;
    animation-delay: 1s;
}

@keyframes floatSoft {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -12px, 0); }
}

.logos-section {
    padding: 18px 0 56px;
}

.logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 14px 44px rgba(13, 27, 42, 0.06);
}

.logo-strip span {
    color: var(--muted);
}

.logo-strip strong {
    color: var(--text);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 42px;
}

.section-heading p {
    font-size: 1.08rem;
}

.section-heading.narrow,
.narrow .section-heading {
    margin-inline: auto;
}

.service-grid,
.stats-grid,
.testimonial-grid,
.process-grid,
.values-grid,
.post-grid {
    display: grid;
    gap: 22px;
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    padding: 30px;
    min-height: 330px;
    transition: transform 220ms ease, box-shadow 220ms ease, border 220ms ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(25, 87, 255, 0.16);
    border-color: rgba(25, 87, 255, 0.2);
}

.service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 1.7rem;
    background: linear-gradient(135deg, rgba(25, 87, 255, 0.12), rgba(19, 198, 163, 0.12));
    margin-bottom: 20px;
}

.feature-list,
.location-cards,
.contact-methods {
    display: grid;
    gap: 16px;
}

.feature-list div,
.location-cards div,
.contact-methods a,
.contact-methods div {
    display: grid;
    gap: 5px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(13, 27, 42, 0.06);
}

.feature-list strong {
    color: var(--primary);
    font-size: 0.9rem;
}

.feature-list span,
.location-cards span,
.contact-methods span {
    color: var(--muted);
}

.stats-grid {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    padding: 26px;
    text-align: center;
}

.stat-card strong {
    display: block;
    color: var(--primary);
    font-size: 3rem;
    line-height: 1;
    letter-spacing: -0.06em;
}

.stat-card span {
    color: var(--muted);
    font-weight: 700;
}

.testimonial-grid,
.values-grid {
    grid-template-columns: repeat(3, 1fr);
}

.testimonial-card,
.value-card,
.process-card,
.post-card-body {
    padding: 28px;
}

.testimonial-card p {
    font-size: 1.05rem;
    color: var(--text);
}

.testimonial-card span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.inner-hero {
    padding: 104px 0 82px;
    background:
        radial-gradient(circle at 20% 20%, rgba(25, 87, 255, 0.12), transparent 34%),
        radial-gradient(circle at 85% 0%, rgba(19, 198, 163, 0.12), transparent 28%),
        linear-gradient(180deg, #fff, var(--bg));
}

.inner-hero p {
    font-size: 1.15rem;
}

.experience-card,
.package-card,
.contact-panel,
.contact-info {
    padding: 34px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--muted);
    font-weight: 700;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: #08735f;
    border-radius: 50%;
    font-size: 0.78rem;
}

.process-grid {
    grid-template-columns: repeat(4, 1fr);
}

.process-card span {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 900;
}

.contact-grid {
    align-items: start;
}

.webx-contact-form {
    display: grid;
    gap: 18px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.webx-contact-form label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-weight: 800;
}

.webx-contact-form input,
.webx-contact-form textarea,
.webx-contact-form select {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
    outline: none;
    transition: border 180ms ease, box-shadow 180ms ease;
}

.webx-contact-form input:focus,
.webx-contact-form textarea:focus,
.webx-contact-form select:focus {
    border-color: rgba(25, 87, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(25, 87, 255, 0.12);
}

.form-alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

.form-success {
    background: #e9fbf7;
    color: #075f51;
}

.form-error {
    background: #fff1f2;
    color: #a0182d;
}

.text-link {
    color: var(--primary);
    font-weight: 900;
}

.footer-cta {
    padding: 64px 0;
    background: var(--text);
    color: #fff;
}

.footer-cta p,
.footer-cta .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.footer-cta .eyebrow::before {
    background: var(--accent);
}

.footer-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.footer-cta-inner div {
    max-width: 760px;
}

.site-footer {
    padding: 64px 0 24px;
    background: #07111f;
    color: #fff;
}

.site-footer p,
.site-footer a,
.site-footer li {
    color: rgba(255, 255, 255, 0.74);
}

.site-footer h3,
.footer-brand {
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 34px;
}

.site-footer ul {
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.post-grid {
    grid-template-columns: repeat(3, 1fr);
}

.post-card {
    overflow: hidden;
}

.post-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.content-area {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 42px;
    box-shadow: var(--shadow);
}

.reveal {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
    transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: absolute;
        top: 80px;
        left: 20px;
        right: 20px;
        display: none;
        padding: 16px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 22px;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        flex-direction: column;
    }

    .primary-nav a {
        width: 100%;
    }

    .header-cta {
        display: none;
    }

    .hero-grid,
    .split-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }

    .service-grid,
    .testimonial-grid,
    .values-grid,
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section-padding,
    .hero-section,
    .inner-hero {
        padding: 66px 0;
    }

    .hero-actions,
    .trust-row {
        flex-direction: column;
    }

    .btn,
    .trust-row span {
        width: 100%;
    }

    .hero-visual {
        min-height: 360px;
    }

    .dashboard-main {
        inset: 36px 0 20px;
    }

    .floating-card {
        width: 160px;
        padding: 14px;
    }

    .card-one {
        left: 0;
    }

    .card-two {
        right: 0;
    }

    .service-grid,
    .testimonial-grid,
    .values-grid,
    .post-grid,
    .stats-grid,
    .process-grid,
    .field-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
