/* ============================================================
   SERVICE DETAIL PAGE STYLES
   Matches the Figma design language — light blue-gray background,
   pastel cards, solid colored icons, clean typography
   ============================================================ */

/* ---- HERO (CLINICAL REFACTOR) ---- */
.sd-hero {
    position: relative;
    padding: 120px 0 140px;
    background: #FFFFFF;
    background-image:
        linear-gradient(#f1f5f9 1px, transparent 1px),
        linear-gradient(90deg, #f1f5f9 1px, transparent 1px);
    background-size: 80px 80px;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

.sd-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 50%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 80%);
    pointer-events: none;
}

/* Breadcrumb - High Contrast */
.sd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    /* Solid color for contrast */
    margin-bottom: 32px;
    position: relative;
    z-index: 10;
}

.sd-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sd-breadcrumb a:hover {
    color: #6366f1;
}

.sd-breadcrumb span {
    color: #1e1b4b;
}

.sd-breadcrumb svg {
    color: #cbd5e1;
}

/* Hero Inner Content */
.sd-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sd-hero__badge {
    display: inline-flex;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 24px;
}

.sd-hero__badge span {
    font-family: 'JetBrains Mono', monospace, Arial;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #64748b;
}

.sd-hero__title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    /* Maintains gradient while allowing description to drop below */
}

.sd-hero__desc {
    font-size: 18px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 40px;
    max-width: 580px;
    /* Constrains to roughly 2 lines */
    opacity: 0.9;
}

.sd-hero__actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* --- Action Components --- */
.btn--glass {
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid #e2e8f0;
    color: #1e1b4b;
    font-weight: 600;
    padding: 16px 36px;
    font-size: 0.9375rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--glass:hover {
    background: #FFFFFF;
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* --- Dashboard Component --- */
.sd-code-window--master {
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
    min-height: 380px;
    width: 115%;
    margin-left: -10%;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.12);
}

background: var(--sd-primary, var(--saas-accent-indigo));
color: #FFFFFF !important;
padding: 16px 36px;
font-size: 0.9375rem;
font-weight: 600;
border-radius: 12px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.sd-hero__actions .btn--primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

/* Code Window Visual (CLINICAL REFACTOR) */
.sd-code-window {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    transform: perspective(2000px) rotateY(-10deg) rotateX(5deg);
    transition: all 0.8s var(--saas-ease);
}

.sd-code-window:hover {
    transform: perspective(2000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.sd-code-window__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sd-code-window__title {
    font-size: 0.65rem;
    color: rgba(0, 0, 0, 0.4);
    margin-left: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sd-code-window__body {
    padding: 40px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.8125rem;
    line-height: 1.6;
}

.sd-code-window .code-line {
    color: var(--saas-text-body);
    opacity: 0.8;
    margin-bottom: 4px;
}

.sd-code-window .code-keyword {
    color: var(--saas-accent-indigo);
}

.sd-code-window .code-var {
    color: var(--saas-text-headline);
}

.sd-code-window .code-prop {
    color: var(--saas-text-body);
    opacity: 0.6;
}

.sd-code-window .code-string {
    color: #059669;
}

.sd-code-window .code-bool {
    color: var(--saas-accent-indigo);
}

/* ---- KEY FEATURES (FROSTED BENTO) ---- */
.sd-features {
    background: #F8F9FA;
    padding: 120px 0;
}

.sd-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.sd-feature-card {
    background: rgba(255, 255, 255, 0.8) !important;
    background: #FFFFFF;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 40px;
    padding-top: 48px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.sd-feature-card:hover {
    transform: translateY(-8px);
    border-color: #6366f1;
    box-shadow:
        0 20px 40px -10px rgba(15, 23, 42, 0.08),
        0 0 20px rgba(99, 102, 241, 0.1);
}

.sd-feature-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: 'Fira Code', monospace;
    font-size: 48px;
    font-weight: 600;
    color: #f1f5f9;
    opacity: 0;
    transition: all 0.4s ease;
}

.sd-feature-card:hover::after {
    opacity: 0.5;
    top: 20px;
}

.sd-feature-card:nth-child(1):hover::after {
    content: '01';
}

.sd-feature-card:nth-child(2):hover::after {
    content: '02';
}

.sd-feature-card:nth-child(3):hover::after {
    content: '03';
}

.sd-feature-icon {
    width: 48px;
    height: 48px;
}

.sd-feature-card__icon svg {
    stroke: var(--saas-accent-indigo) !important;
    color: var(--saas-accent-indigo) !important;
}

.sd-feature-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--saas-text-headline);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.sd-feature-card__desc {
    font-size: 0.9375rem;
    color: var(--saas-text-body);
    line-height: 1.6;
    opacity: 0.8;
}

/* ---- TECHNOLOGIES (SEPARATED REGISTRY) ---- */
.sd-technologies {
    padding: 120px 0;
    background-color: #f1f5f9;
    /* Distinct Separation */
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.sd-technologies .section__header {
    text-align: center;
    margin-bottom: 64px;
}

.sd-technologies .section__subtitle {
    margin-left: auto;
    margin-right: auto;
}

.sd-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.sd-tech-card {
    background: #FFFFFF;
    border: 1px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sd-tech-card:hover {
    transform: translateY(-4px);
    border-color: #6366f1;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.1);
}

.sd-tech-card__name {
    font-size: 15px;
    font-weight: 600;
    color: #1e1b4b;
    transition: color 0.3s ease;
}

.sd-tech-card:hover .sd-tech-card__name {
    color: #6366f1;
}

.sd-tech-card__arrow {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.sd-tech-card:hover .sd-tech-card__arrow {
    color: #6366f1;
    transform: translate(2px, -2px);
}

/* Hit area bridge for tech cards */
.sd-tech-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sd-tech-card:hover::after {
    bottom: -10px;
    pointer-events: auto;
}

/* ---- PROCESS STEPS ---- */
.sd-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

/* --- Delivery Engine Assembly Line --- */
.sd-process {
    background-color: #f8fafc;
    position: relative;
    padding: 120px 0;
}

.sd-process__flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    position: relative;
}

/* Horizontal Connector Pipe */
.sd-process__flow::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, #e2e8f0 0%, #6366f1 50%, #e2e8f0 100%);
    z-index: 1;
}

.sd-process-item {
    position: relative;
    z-index: 2;
}

.sd-process-item__inner {
    background: #FFFFFF;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 32px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.sd-process-item:hover .sd-process-item__inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.sd-process-item__number {
    font-family: 'JetBrains Mono', monospace, Arial;
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
    background: #f5f3ff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-bottom: 32px;
    position: relative;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.sd-process-item__title {
    font-size: 20px;
    font-weight: 600;
    color: #1e1b4b;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.sd-process-item__desc {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

/* ---- INTEGRATED ENGINES (LUMINOUS LIGHT SEPARATION) ---- */
.sd-related {
    padding: 120px 0;
    background-color: #f1f5f9;
    /* Distinct Light Separation */
    position: relative;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.sd-related::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
    z-index: 1;
}

.sd-related .section__title {
    color: #1e1b4b;
    background: linear-gradient(135deg, #1e1b4b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sd-related .section__subtitle {
    color: #475569;
}

.sd-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
    position: relative;
    z-index: 10;
}

.sd-related .sd-hero__badge {
    background: #FFFFFF;
    border-color: #e2e8f0;
}

.sd-related .sd-hero__badge span {
    color: #6366f1;
}

.sd-related-card {
    background: #FFFFFF;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 48px 40px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.sd-related-card:hover {
    transform: translateY(-12px);
    border-color: #6366f1;
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.08);
}

/* Badges removed for aesthetic simplification */

.sd-related-card__icon {
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.sd-related-card:hover .sd-related-card__icon {
    background: #6366f1;
    color: #FFFFFF;
    transform: rotate(-5deg);
}

.sd-related-card__title {
    font-size: 20px;
    font-weight: 600;
    color: #1e1b4b;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.sd-related-card__desc {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 32px;
    flex-grow: 1;
}

.sd-related-card__link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: gap 0.3s ease;
}

.sd-related-card:hover .sd-related-card__link {
    gap: 12px;
}

margin-bottom: 32px;
flex-grow: 1;
}

.sd-related-card__link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: gap 0.3s ease;
}

.sd-related-card:hover .sd-related-card__link {
    gap: 16px;
    color: #818cf8;
}

/* ---- CONVERSION HUB (SLIM CLINICAL WHITE) ---- */
.sd-cta,
.sd-cta section,
.sd-cta .container,
.sd-cta-block,
.sd-cta-inner {
    background-color: #FFFFFF !important;
    background-image: none !important;
}

.sd-cta {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.sd-cta__hub {
    background: transparent;
    /* Let outer card handle bg */
    border: none;
    /* Remove inner border */
    border-radius: 0;
    padding: 0;
    /* Let content expand */
    position: relative;
    overflow: visible;
    text-align: center;
    max-width: 100%;
    /* Fully expanded */
    margin: 0 auto;
    box-shadow: none;
    /* Remove inner shadow */
}

.sd-cta__grid-overlay {
    display: none;
    /* Removed for maximum cleanliness */
}

.sd-cta__content {
    position: relative;
    z-index: 5;
}

.sd-cta__title {
    font-size: 32px;
    /* More compact */
    font-weight: 600;
    color: #1e1b4b;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.sd-cta__desc {
    font-size: 16px;
    line-height: 1.5;
    color: #475569;
    max-width: 560px;
    margin: 0 auto 32px;
}

.sd-cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

/* --- Slim High-Impact Button --- */
.btn--impact {
    background: #6366f1;
    color: #FFFFFF;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn--impact:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn--outline-indigo {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #1e1b4b;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn--outline-indigo:hover {
    border-color: #6366f1;
    color: #6366f1;
    background: #f8fafc;
}

.sd-related-card__title {
    font-size: var(--body-size);
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-1);
}

.sd-related-card__desc {
    font-size: var(--btn-font-size);
    color: var(--color-gray-500);
    line-height: 1.6;
    margin-bottom: var(--space-2);
}

.sd-related-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--btn-font-size);
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

.sd-related-card:hover .sd-related-card__link {
    gap: 10px;
}

/* ---- CTA SECTION (MODERN REDESIGN) ---- */
.sd-cta {
    padding: 80px 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.sd-cta .container {
    max-width: 1000px !important;
    background: #0F172A;
    padding: 80px 40px;
    border-radius: 48px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.3);
}

/* Glass-like border glow */
.sd-cta .container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 48px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 40%, transparent 60%, rgba(99, 102, 241, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Animated Background Orbs */
.sd-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.sd-cta-orb--1 {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.2);
    top: -100px;
    right: -50px;
}

.sd-cta-orb--2 {
    width: 250px;
    height: 250px;
    background: rgba(139, 92, 246, 0.15);
    bottom: -80px;
    left: -30px;
}

.sd-cta .animate-on-scroll {
    position: relative;
    z-index: 1;
}

.sd-cta .section__title {
    color: #FFFFFF;
    font-size: var(--font-size-h2);
    font-weight: var(--fw-semibold);
    margin-bottom: 24px;
    letter-spacing: -0.025em;
    line-height: var(--lh-heading);
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sd-cta .section__subtitle {
    color: #94A3B8;
    font-size: 1.125rem;
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
}

.sd-cta .btn--primary {
    background: #FFFFFF;
    color: #0F172A;
    padding: 16px 36px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sd-cta .btn--primary:hover {
    background: #FFFFFF;
    color: var(--color-primary);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.4);
}

.sd-cta .btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sd-cta .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ---- VECTOR SPECIFIC ---- */
.sd-hero--vector {
    background: #fcfdfe;
}

.text-gradient-service--vector {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sd-hero__gradient--vector {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 700px;
    background: radial-gradient(circle at 70% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.sd-hero__visual-card--vector {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- ELITE HERO VISUAL (3D PERSPECTIVE) --- */
.sd-hero__visual {
    position: relative;
    perspective: 1200px;
}

.sd-code-window--master {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    box-shadow:
        0 30px 60px -12px rgba(15, 23, 42, 0.12),
        0 18px 36px -18px rgba(15, 23, 42, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    transform: rotateX(8deg) rotateY(-12deg) rotateZ(2deg);
    /* Elite Isometric Tilt */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 520px;
    margin-left: auto;
    overflow: hidden;
}

.sd-code-window--master:hover {
    transform: rotateX(4deg) rotateY(-6deg) rotateZ(1deg) translateY(-8px);
    box-shadow:
        0 40px 80px -15px rgba(99, 102, 241, 0.15),
        0 0 40px rgba(99, 102, 241, 0.1);
}

/* Radiant Ambient Glow */
.sd-hero__visual::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.sd-code-window__header {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sd-visual-dots {
    display: flex;
    gap: 8px;
}

.sd-visual-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.sd-code-window__title {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: #94a3b8;
    text-transform: lowercase;
}

.sd-code-window__body {
    padding: 32px;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 4px;
}

.code-keyword {
    color: #6366f1;
    font-weight: 600;
}

.code-var {
    color: #1e1b4b;
}

.code-prop {
    color: #475569;
}

.code-string {
    color: #10b981;
}

.sd-visual-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-family: var(--font-mono);
}

.sd-visual-body {
    padding: 30px;
}

.sd-visual-body code {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.7;
    color: #e2e8f0;
}

.c-keyword {
    color: #c678dd;
}

.c-prop {
    color: #61afef;
}

.c-var {
    color: #d19a66;
}

.c-string {
    color: #98c379;
}

.c-bool {
    color: #d19a66;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .sd-breadcrumb {
        display: none !important;
    }

    .sd-hero {
        padding: calc(var(--header-height) + 40px) 0 60px !important;
    }

    .sd-hero__inner {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    .sd-hero__title,
    h1.sd-hero__title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        -webkit-text-fill-color: initial !important;
        background: none !important;
        color: var(--color-gray-900) !important;
    }

    .sd-hero__desc {
        font-size: 0.9375rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .sd-hero__actions {
        justify-content: center !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .sd-hero__actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .section__title,
    h2,
    .sd-features h2,
    .sd-process h2,
    .sd-related h2 {
        font-size: 1.4rem !important;
        line-height: 1.25 !important;
        margin-bottom: 20px !important;
        color: var(--color-gray-900) !important;
    }

    .section__subtitle {
        font-size: 0.9375rem !important;
        margin-bottom: 40px !important;
    }

    h3,
    .sd-feature-card__title,
    .sd-process-item__title,
    .sd-related-card__title {
        font-size: 1.125rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        color: var(--color-gray-900) !important;
    }

    .sd-features__grid,
    .sd-process__flow,
    .sd-related__grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .sd-code-window--master {
        width: 100% !important;
        margin-left: 0 !important;
        transform: none !important;
    }

    .sd-process__flow::before {
        display: none !important;
    }
}

}