/* ==========================================
   DigitalService.Agency — Global Stylesheet
   ========================================== */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
    --bg: #060d18;
    --bg-2: #0a1628;
    --bg-3: #0e1f38;
    --card: rgba(255, 255, 255, 0.035);
    --card-hover: rgba(255, 255, 255, 0.065);
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(79, 124, 255, 0.35);

    --blue: #4f7cff;
    --blue-dark: #3b60d6;
    --cyan: #00c9ff;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --green: #10b981;
    --red: #ef4444;

    --text: #e8edf5;
    --muted: #7a8799;
    --heading: #ffffff;

    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 22px;

    --shadow-glow: 0 0 40px rgba(79, 124, 255, 0.18);
    --shadow-gold: 0 0 30px rgba(245, 158, 11, 0.25);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-h: 72px;
}

/* ── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Background grid pattern ─────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 124, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 124, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* ── Typography ───────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
}

h4 {
    font-size: 1.15rem;
}

p {
    color: var(--text);
}

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

.text-muted {
    color: var(--muted);
}

.text-blue {
    color: var(--blue);
}

.text-gold {
    color: var(--gold);
}

.text-green {
    color: var(--green);
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 60%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Utilities ────────────────────────────────────────────── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.container--wide {
    max-width: 1320px;
}

.container--narrow {
    max-width: 780px;
}

.section {
    padding: 5rem 0;
}

.section--sm {
    padding: 3rem 0;
}

.section--lg {
    padding: 7rem 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(79, 124, 255, 0.1);
    border: 1px solid rgba(79, 124, 255, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.section-title {
    margin-bottom: 0.75rem;
}

.section-sub {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 3rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: opacity var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #e8900a 100%);
    color: #000;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5);
}

.btn-blue {
    background: linear-gradient(135deg, var(--blue) 0%, #3b60d6 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(79, 124, 255, 0.3);
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(79, 124, 255, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: var(--radius);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 13, 24, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    height: var(--nav-h);
    gap: 2rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    white-space: nowrap;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.nav__logo span {
    margin-left: 0.55rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.nav__logo em {
    font-style: normal;
    color: var(--blue);
}

.nav__logo svg {
    flex-shrink: 0;
    display: block;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin-left: auto;
}

.nav__links a {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    transition: var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav__cta {
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    background: none;
    border: none;
}

.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__mobile {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--bg-2);
    padding: 2rem 1.5rem;
    z-index: 999;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
}

.nav__mobile.open {
    display: flex;
}

.nav__mobile a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav__mobile a:hover {
    color: var(--blue);
}

.nav__mobile .btn {
    margin-top: 1rem;
    text-align: center;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 6rem 0 5rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    animation: drift 8s ease-in-out infinite alternate;
}

.hero__orb--1 {
    width: 600px;
    height: 600px;
    background: var(--blue);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.hero__orb--2 {
    width: 500px;
    height: 500px;
    background: var(--cyan);
    top: -100px;
    right: -50px;
    animation-delay: -3s;
}

.hero__orb--3 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    bottom: -150px;
    left: 40%;
    animation-delay: -5s;
    opacity: 0.1;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.08);
    }
}

.hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.6s ease both;
}

.hero__title {
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    animation: fadeUp 0.7s 0.1s ease both;
}

.hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeUp 0.7s 0.2s ease both;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.7s 0.3s ease both;
}

.hero__trust {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    animation: fadeUp 0.7s 0.4s ease both;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.hero__trust-item .icon {
    color: var(--green);
    font-size: 1rem;
}

/* ── Stat counters ────────────────────────────────────────── */
.stats {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
}

.stats__item {
    text-align: center;
    padding: 1.5rem;
    border-right: 1px solid var(--border);
}

.stats__item:last-child {
    border-right: none;
}

.stats__number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 0.25rem;
}

.stats__number span {
    color: var(--blue);
}

.stats__label {
    font-size: 0.82rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.05), rgba(0, 201, 255, 0.05));
    transition: opacity var(--transition);
}

.card:hover {
    border-color: rgba(79, 124, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.card:hover::before {
    opacity: 1;
}

.card--gold:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: var(--shadow-gold), var(--shadow-card);
}

/* ── Service Cards ────────────────────────────────────────── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.service-card__title {
    margin-bottom: 0.5rem;
}

.service-card__desc {
    color: var(--muted);
    font-size: 0.92rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card__price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}

.service-card__price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--muted);
}

/* ── Pricing Table ────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    position: relative;
    transition: var(--transition);
}

.pricing-card--featured {
    border-color: var(--blue);
    background: rgba(79, 124, 255, 0.07);
    box-shadow: var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.pricing-card__price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-card__price sup {
    font-size: 1.4rem;
    font-weight: 600;
    vertical-align: top;
    margin-top: 0.4rem;
}

.pricing-card__period {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    display: block;
}

.pricing-card__desc {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--text);
}

.pricing-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* ── Video Placeholder ────────────────────────────────────── */
.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--bg-3);
    border: 2px dashed rgba(79, 124, 255, 0.3);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.video-placeholder:hover {
    border-color: var(--blue);
    background: rgba(79, 124, 255, 0.05);
}

.video-placeholder iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

.video-play {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 0 30px rgba(79, 124, 255, 0.5);
    transition: var(--transition);
}

.video-placeholder:hover .video-play {
    transform: scale(1.08);
}

.video-label {
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
    padding: 0 1rem;
}

.video-tag {
    font-size: 0.7rem;
    color: rgba(79, 124, 255, 0.6);
    font-family: monospace;
    letter-spacing: 0.05em;
}

/* ── Proof image cursor ─────────────────────────────────── */
.video-placeholder img {
    cursor: zoom-in;
}

.video-placeholder img[data-no-lightbox] {
    cursor: pointer;
}

/* ── Lightbox ────────────────────────────────────────────── */
.dsa-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(6, 13, 24, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: zoom-out;
    animation: lbFadeIn 0.18s ease;
}

@keyframes lbFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.dsa-lightbox img {
    width: 98vw;
    height: 96vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
    cursor: zoom-out;
    display: block;
}

.dsa-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s;
    background: none;
    border: none;
    padding: 0;
}

.dsa-lightbox__close:hover {
    color: #fff;
}

/* ── Case Study / Proof ───────────────────────────────────── */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.proof-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.proof-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.proof-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(79, 124, 255, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}

.proof-stat {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 0.25rem;
}

.proof-stat span {
    color: var(--cyan);
}

/* ── Testimonials / Video Section ────────────────────────── */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.video-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-3);
    border: 1px solid var(--border);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Review/Testimonial text cards ───────────────────────── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.review-card:hover {
    border-color: rgba(79, 124, 255, 0.25);
    transform: translateY(-3px);
}

.review-stars {
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.review-author {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Feature / Why-Us list ───────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: rgba(79, 124, 255, 0.25);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 124, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner__phone {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gold);
    display: block;
    margin: 1rem 0;
    letter-spacing: -0.01em;
}

.cta-banner__hours {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

/* ── Form Styles ─────────────────────────────────────────── */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
}

.form-group label .req {
    color: var(--blue);
    margin-left: 2px;
}

.form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    width: 100%;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--blue);
    background: rgba(79, 124, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.12);
}

.form-control::placeholder {
    color: var(--muted);
}

.form-control option {
    background: var(--bg-2);
    color: var(--text);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--muted);
    cursor: pointer;
    margin-bottom: 1.25rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--blue);
    cursor: pointer;
    margin-top: 0.15rem;
}

.form-check span {
    flex: 1;
    line-height: 1.6;
}

.form-check a {
    color: var(--blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ── Accordion ───────────────────────────────────────────── */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.open {
    border-color: rgba(79, 124, 255, 0.3);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    background: none;
    border: none;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.accordion-header:hover {
    color: var(--blue);
}

.accordion-arrow {
    font-size: 0.75rem;
    color: var(--muted);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.accordion-item.open .accordion-arrow {
    transform: rotate(180deg);
    color: var(--blue);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.open .accordion-body {
    max-height: 500px;
}

.accordion-content {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ── Portfolio Items ─────────────────────────────────────── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: block;
    text-decoration: none;
}

.portfolio-item:hover {
    border-color: rgba(79, 124, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.portfolio-item__img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: var(--bg-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.portfolio-item__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.portfolio-item__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #fff;
}

.portfolio-item__desc {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.portfolio-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(79, 124, 255, 0.1);
    color: var(--blue);
    border: 1px solid rgba(79, 124, 255, 0.2);
    letter-spacing: 0.04em;
}

.tag--gold {
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold);
    border-color: rgba(245, 158, 11, 0.2);
}

.tag--green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
    border-color: rgba(16, 185, 129, 0.2);
}

/* ── Alert / Callout ─────────────────────────────────────── */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.alert--info {
    background: rgba(79, 124, 255, 0.08);
    border: 1px solid rgba(79, 124, 255, 0.25);
    color: var(--text);
}

.alert--success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--text);
}

.alert--warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--text);
}

/* ── Steps / Process ─────────────────────────────────────── */
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue), var(--cyan));
    opacity: 0.3;
}

.step {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 0;
}

.step__num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step__content h4 {
    margin-bottom: 0.25rem;
}

.step__content p {
    font-size: 0.88rem;
    color: var(--muted);
}

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 1rem 0;
    max-width: 280px;
    line-height: 1.7;
}

.footer__brand .nav__logo {
    margin-bottom: 0;
}

.footer__phone {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer__col h5 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.1rem;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer__links a {
    font-size: 0.88rem;
    color: var(--muted);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--text);
}

.footer__bottom {
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--muted);
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal a {
    font-size: 0.8rem;
    color: var(--muted);
    transition: var(--transition);
}

.footer__legal a:hover {
    color: var(--text);
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(79, 124, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(79, 124, 255, 0.5);
    }
}

.animate-fade-up {
    animation: fadeUp 0.65s ease both;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Platform Logos / Icons ──────────────────────────────── */
.platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
    transition: var(--transition);
    white-space: nowrap;
}

.platform-badge:hover {
    border-color: rgba(79, 124, 255, 0.4);
    color: var(--text);
    transform: scale(1.04);
}

.platform-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
}

/* ── Dividers ─────────────────────────────────────────────── */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 2rem 0;
}

/* ── Page-specific: Legal ─────────────────────────────────── */
.legal-content {
    max-width: 780px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.5rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {

    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .hero__trust {
        gap: 1.25rem;
    }

    .stats__item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .stats__item:last-child {
        border-bottom: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Terms Modal ─────────────────────────────────────────── */
.dsa-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    animation: fadeIn 0.2s ease;
}

.dsa-modal {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 720px;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    animation: fadeUp 0.25s ease both;
}

.dsa-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.dsa-modal__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.dsa-modal__close {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.dsa-modal__close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.dsa-modal__body {
    overflow-y: auto;
    padding: 1.75rem;
    flex: 1;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.8;
}

.dsa-modal__body h2 {
    font-size: 1rem;
    color: #fff;
    margin: 1.75rem 0 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.dsa-modal__body h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.dsa-modal__body ul,
.dsa-modal__body ol {
    padding-left: 1.4rem;
    margin-bottom: 0.75rem;
}

.dsa-modal__body li {
    margin-bottom: 0.3rem;
}

.dsa-modal__body strong {
    color: var(--text);
}

.dsa-modal__footer {
    padding: 1rem 1.75rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-dark);
}