/* ==========================================================================
   DhruvStack - Modern Enterprise Light Theme
   Strictly Zero Neon, Zero Slop, Architectural Corporate Precision
   ========================================================================== */

:root {
    --ds-bg: #FFFFFF;
    --ds-surface: #F8FAFC;
    --ds-surface-card: #FFFFFF;
    --ds-surface-subtle: #F1F5F9;
    --ds-surface-muted: #E2E8F0;
    
    --ds-border: #E2E8F0;
    --ds-border-strong: #CBD5E1;
    --ds-border-focus: #2563EB;
    
    --ds-text: #0F172A;
    --ds-text-heading: #090D16;
    --ds-text-muted: #475569;
    --ds-text-subtle: #64748B;
    
    --ds-primary: #1E40AF;
    --ds-primary-hover: #1D4ED8;
    --ds-primary-soft: #EFF6FF;
    --ds-primary-text: #1E3A8A;
    
    --ds-accent-navy: #0F172A;
    --ds-success: #15803D;
    --ds-success-bg: #F0FDF4;
    --ds-warning: #B45309;
    --ds-warning-bg: #FFFBEB;
    
    --ds-radius-sm: 6px;
    --ds-radius-md: 10px;
    --ds-radius-lg: 16px;
    --ds-radius-xl: 24px;
    
    --ds-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --ds-shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --ds-shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --ds-shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
}

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

img, svg, picture, video, canvas {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--ds-bg);
    color: var(--ds-text);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Standards */
h1, h2, h3, h4, h5, h6 {
    color: var(--ds-text-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

a {
    color: var(--ds-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--ds-primary-hover);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Header & Nav */
.ds-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ds-border);
    transition: all 0.2s ease;
}

.ds-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.ds-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ds-brand img {
    height: 42px;
    width: auto;
    display: block;
}

.ds-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.ds-nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ds-text-muted);
    transition: color 0.15s ease;
    text-decoration: none;
    position: relative;
}

.ds-nav-link:hover {
    color: var(--ds-text-heading);
}

.ds-nav-link.active {
    color: var(--ds-primary);
    font-weight: 700;
}

.ds-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--ds-primary);
    border-radius: 1px;
}

.ds-vector-graphic {
    transition: transform 0.2s ease;
}

.ds-vector-graphic:hover {
    transform: translateY(-2px);
}

.ds-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Mobile Navigation Toggle & Drawer */
.ds-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    color: var(--ds-text);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ds-mobile-toggle:hover {
    background: var(--ds-surface);
    border-color: var(--ds-border-strong);
}

.ds-mobile-toggle .ds-icon-close {
    display: none;
}

.ds-mobile-toggle.active .ds-icon-burger {
    display: none;
}

.ds-mobile-toggle.active .ds-icon-close {
    display: block;
}

.ds-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--ds-border);
    box-shadow: var(--ds-shadow-lg);
    padding: 16px 24px 24px 24px;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ds-mobile-menu.open {
    display: flex !important;
}

.ds-mobile-nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ds-text);
    border-radius: var(--ds-radius-sm);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ds-mobile-nav-link:hover,
.ds-mobile-nav-link.active {
    background-color: var(--ds-surface-subtle);
    color: var(--ds-primary);
}

.ds-mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--ds-border);
}

/* Button UI Components */
.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 10px 20px;
    border-radius: var(--ds-radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    text-decoration: none;
}

.ds-btn-primary {
    background-color: var(--ds-text-heading);
    color: #FFFFFF;
}

.ds-btn-primary:hover {
    background-color: #1E293B;
    color: #FFFFFF;
}

.ds-btn-accent {
    background-color: var(--ds-primary);
    color: #FFFFFF;
}

.ds-btn-accent:hover {
    background-color: var(--ds-primary-hover);
    color: #FFFFFF;
}

.ds-btn-secondary {
    background-color: #FFFFFF;
    color: var(--ds-text);
    border: 1px solid var(--ds-border);
    box-shadow: var(--ds-shadow-xs);
}

.ds-btn-secondary:hover {
    background-color: var(--ds-surface);
    border-color: var(--ds-border-strong);
    color: var(--ds-text-heading);
}

.ds-btn-sm {
    padding: 7px 14px;
    font-size: 0.875rem;
}

/* Badge System */
.ds-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid var(--ds-border);
    background-color: var(--ds-surface);
    color: var(--ds-text-muted);
}

.ds-badge-blue {
    background-color: var(--ds-primary-soft);
    border-color: #BFDBFE;
    color: var(--ds-primary-text);
}

.ds-badge-green {
    background-color: var(--ds-success-bg);
    border-color: #BBF7D0;
    color: var(--ds-success);
}

/* Hero Section */
.ds-hero {
    padding: 56px 0 42px;
    border-bottom: 1px solid var(--ds-border);
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.ds-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.ds-hero-eyebrow {
    margin-bottom: 20px;
}

.ds-hero-title {
    font-size: 3.25rem;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -0.035em;
}

.ds-hero-lead {
    font-size: 1.1875rem;
    color: var(--ds-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 580px;
}

.ds-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.ds-hero-guarantees {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--ds-border);
}

.ds-guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ds-text-muted);
}

.ds-guarantee-item svg {
    color: var(--ds-primary);
    flex-shrink: 0;
}

.ds-hero-media {
    position: relative;
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ds-border);
    box-shadow: var(--ds-shadow-lg);
    background: #FFFFFF;
}

.ds-hero-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Hero 3D Character Showcase Card */
.ds-hero-media-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.6) 100%);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-xl);
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.ds-hero-banner-glow {
    position: absolute;
    width: 85%;
    height: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(13, 148, 136, 0.07) 45%, transparent 70%);
    filter: blur(48px);
    pointer-events: none;
    z-index: 0;
}

.ds-hero-banner-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 16px 30px rgba(15, 23, 42, 0.10));
    transition: transform 0.35s ease;
}

.ds-hero-media-banner:hover .ds-hero-banner-img {
    transform: translateY(-4px) scale(1.01);
}

.ds-hero-floating-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--ds-border);
    border-radius: 9999px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ds-text);
    pointer-events: none;
    letter-spacing: -0.01em;
}

.ds-hero-badge-top {
    top: 16px;
    right: 16px;
}

.ds-hero-badge-bottom {
    bottom: 16px;
    left: 16px;
}

.ds-badge-pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ds-primary);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
    animation: pulseDot 2s ease-in-out infinite;
}

/* Project Plan Infographic Showcase */
.ds-project-plan-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.ds-plan-banner-card {
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-xl);
    overflow: hidden;
    box-shadow: 0 12px 36px -8px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ds-plan-banner-card:hover {
    box-shadow: 0 18px 45px -10px rgba(15, 23, 42, 0.10);
}

.ds-project-plan-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* About Media Showcase & Hero */
.ds-about-media-card,
.ds-about-hero-media {
    position: relative;
    border-radius: var(--ds-radius-xl);
    overflow: hidden;
    border: 1px solid var(--ds-border);
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.09);
    background: #FFFFFF;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ds-about-media-card:hover,
.ds-about-hero-media:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.12);
}

.ds-about-img,
.ds-about-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1374 / 1145;
}

.ds-about-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--ds-border);
    border-radius: 9999px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ds-text);
}

/* Sections */
.ds-section {
    padding: 52px 0;
}

.ds-section-subtle {
    background-color: var(--ds-surface);
    border-top: 1px solid var(--ds-border);
    border-bottom: 1px solid var(--ds-border);
}

.ds-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}

.ds-section-header.text-left {
    text-align: left;
    margin-left: 0;
}

.ds-section-title {
    font-size: 2.25rem;
    margin-top: 12px;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.ds-section-desc {
    font-size: 1.0625rem;
    color: var(--ds-text-muted);
    line-height: 1.6;
}

/* Product Teasers (Aroh & Orva) */
.ds-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.ds-product-card {
    background-color: var(--ds-surface-card);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    box-shadow: var(--ds-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.ds-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ds-shadow-md);
    border-color: var(--ds-border-strong);
}

.ds-product-media {
    position: relative;
    height: 280px;
    background-color: var(--ds-surface-subtle);
    overflow: hidden;
    border-bottom: 1px solid var(--ds-border);
}

.ds-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ds-product-card:hover .ds-product-media img {
    transform: scale(1.02);
}

.ds-product-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ds-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ds-product-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.ds-product-tagline {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ds-primary);
    margin-bottom: 12px;
}

.ds-product-desc {
    font-size: 0.9375rem;
    color: var(--ds-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.ds-product-specs {
    list-style: none;
    border-top: 1px solid var(--ds-border);
    padding-top: 16px;
    margin-bottom: 20px;
}

.ds-product-specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--ds-text-subtle);
    margin-bottom: 8px;
}

.ds-product-specs li svg {
    color: var(--ds-success);
    flex-shrink: 0;
}

/* Custom Solutions for Private Clients */
.ds-solutions-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.ds-solutions-media {
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ds-border);
    box-shadow: var(--ds-shadow-md);
}

.ds-solutions-media img {
    width: 100%;
    height: auto;
    display: block;
}

.ds-solutions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ds-solution-item {
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    padding: 24px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ds-solution-item:hover {
    border-color: var(--ds-border-strong);
    box-shadow: var(--ds-shadow-sm);
}

.ds-solution-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.ds-solution-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--ds-radius-sm);
    background-color: var(--ds-surface-subtle);
    border: 1px solid var(--ds-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ds-primary);
    flex-shrink: 0;
}

.ds-solution-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.ds-solution-desc {
    font-size: 0.875rem;
    color: var(--ds-text-muted);
    padding-left: 48px;
    line-height: 1.55;
}

/* Engineering Methodology / Zero Slop Standards */
.ds-blueprint-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ds-blueprint-card {
    background-color: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    padding: 28px 24px;
    position: relative;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.ds-blueprint-card:hover {
    border-color: var(--ds-border-strong);
    transform: translateY(-2px);
}

.ds-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ds-primary);
    margin-bottom: 14px;
    display: inline-block;
}

.ds-blueprint-title {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.ds-blueprint-text {
    font-size: 0.875rem;
    color: var(--ds-text-muted);
    line-height: 1.55;
}

/* Contact & Quote Form */
.ds-form-section {
    background: #FFFFFF;
    padding: 52px 0;
}

.ds-form-wrapper {
    max-width: 820px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-xl);
    padding: 48px;
    box-shadow: var(--ds-shadow-lg);
}

.ds-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ds-form-col-2 {
    grid-column: span 2;
}

.ds-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ds-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ds-text);
}

.ds-input, .ds-select, .ds-textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--ds-radius-sm);
    border: 1px solid var(--ds-border);
    background-color: #FFFFFF;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--ds-text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ds-input:focus, .ds-select:focus, .ds-textarea:focus {
    outline: none;
    border-color: var(--ds-border-focus);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ds-textarea {
    resize: vertical;
    min-height: 110px;
}

/* Meow Captcha System (4 numbers only) */
.ds-meow-captcha-card {
    background: var(--ds-surface);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ds-meow-badge-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ds-meow-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #FFFFFF;
    box-shadow: var(--ds-shadow-xs);
    flex-shrink: 0;
}

.ds-meow-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-meow-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ds-text-heading);
}

.ds-meow-subtitle {
    font-size: 0.8125rem;
    color: var(--ds-text-muted);
}

.ds-meow-interactive {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ds-meow-display {
    background: #FFFFFF;
    border: 1px dashed var(--ds-border-strong);
    border-radius: var(--ds-radius-sm);
    padding: 8px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--ds-text-heading);
    user-select: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

.ds-meow-refresh-btn {
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    padding: 8px 10px;
    color: var(--ds-text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-meow-refresh-btn:hover {
    background: var(--ds-surface-subtle);
    color: var(--ds-text-heading);
}

.ds-meow-input-wrap {
    width: 145px;
}

.ds-meow-input {
    width: 100%;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 9px 10px;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
}

.ds-meow-input::placeholder {
    letter-spacing: normal;
    font-size: 0.825rem;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ds-text-muted);
}

.ds-form-status {
    padding: 14px 18px;
    border-radius: var(--ds-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    display: none;
}

.ds-form-status.success {
    display: block;
    background: var(--ds-success-bg);
    border: 1px solid #BBF7D0;
    color: var(--ds-success);
}

.ds-form-status.error {
    display: block;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
}

/* Footer */
.ds-footer {
    background-color: #FFFFFF;
    border-top: 1px solid var(--ds-border);
    padding: 44px 0 24px;
}

.ds-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 32px;
}

.ds-footer-brand p {
    font-size: 0.875rem;
    color: var(--ds-text-muted);
    margin-top: 14px;
    max-width: 320px;
    line-height: 1.6;
}

.ds-footer-col h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    color: var(--ds-text-heading);
    margin-bottom: 16px;
}

.ds-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ds-footer-col a {
    font-size: 0.875rem;
    color: var(--ds-text-muted);
    transition: color 0.15s ease;
}

.ds-footer-col a:hover {
    color: var(--ds-text-heading);
}

.ds-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--ds-border);
    font-size: 0.8125rem;
    color: var(--ds-text-subtle);
}

/* Interactive Animations & Micro-Interactions */
@keyframes flowDash {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
}

.ds-flow-path {
    stroke-dasharray: 6 6;
    animation: flowDash 1.2s linear infinite;
}

.ds-flow-path.ds-flow-active {
    animation: flowDash 0.75s linear infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.ds-pulse-dot {
    transform-origin: center;
    animation: pulseDot 2s ease-in-out infinite;
}

/* Enhanced Vector Presentation Card */
.ds-hero-vector-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.ds-hero-vector-card:hover {
    transform: translateY(-3px);
}

.ds-interactive-node {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ds-interactive-node:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Interactive Topology Switcher */
.ds-interactive-topology-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-xl);
    overflow: hidden;
    box-shadow: var(--ds-shadow-lg);
    margin-top: 32px;
}

.ds-topology-controls {
    display: flex;
    background: #F8FAFC;
    border-bottom: 1px solid var(--ds-border);
    padding: 10px 14px;
    gap: 10px;
    overflow-x: auto;
}

.ds-topology-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--ds-radius-md);
    border: 1px solid transparent;
    background: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ds-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ds-topology-btn:hover {
    color: var(--ds-text);
    background: #EDF2F7;
}

.ds-topology-btn.active {
    color: var(--ds-primary-text);
    background: #FFFFFF;
    border-color: var(--ds-border);
    box-shadow: var(--ds-shadow-xs);
}

.ds-topology-viewport {
    position: relative;
    background: #FFFFFF;
}

.ds-topology-panel {
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 24px;
}

.ds-topology-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.ds-topology-caption {
    margin-top: 18px;
    padding: 14px 18px;
    background: #F8FAFC;
    border-radius: var(--ds-radius-md);
    border: 1px solid var(--ds-border);
    font-size: 0.875rem;
    color: var(--ds-text-muted);
    line-height: 1.6;
}

.ds-topology-caption strong {
    color: var(--ds-text);
}

/* Interactive Scope & Pod Estimator */
.ds-estimator-card {
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-xl);
    padding: 36px;
    box-shadow: var(--ds-shadow-lg);
    margin-top: 36px;
}

.ds-estimator-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
}

.ds-estimator-controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ds-estimator-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ds-text);
    margin-bottom: 12px;
}

.ds-estimator-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ds-est-opt-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: var(--ds-radius-md);
    border: 1px solid var(--ds-border);
    background: #F8FAFC;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ds-est-opt-btn:hover {
    border-color: var(--ds-primary);
    background: #EFF6FF;
    transform: translateY(-2px);
}

.ds-est-opt-btn.active {
    border-color: var(--ds-primary);
    background: #EFF6FF;
    box-shadow: 0 0 0 1px var(--ds-primary);
}

.ds-est-opt-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--ds-text);
    margin-bottom: 2px;
}

.ds-est-opt-desc {
    font-size: 0.75rem;
    color: var(--ds-text-muted);
}

.ds-estimator-result {
    background: #F8FAFC;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ds-est-summary-head {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ds-border);
    margin-bottom: 18px;
}

.ds-est-summary-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ds-text);
    margin-bottom: 6px;
}

.ds-est-summary-subtitle {
    font-size: 0.8125rem;
    color: var(--ds-text-muted);
}

.ds-est-team-composition {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.ds-est-team-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-sm);
    font-size: 0.8125rem;
}

.ds-est-team-role {
    font-weight: 600;
    color: var(--ds-text);
}

.ds-est-team-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--ds-primary);
    background: #EFF6FF;
    padding: 2px 8px;
    border-radius: 4px;
}

.ds-est-deliverables {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.8125rem;
    color: var(--ds-text-muted);
}

.ds-est-deliverables li {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Code & Architecture Blueprint Inspector */
.ds-code-window {
    background: #0F172A;
    border-radius: var(--ds-radius-lg);
    overflow: hidden;
    box-shadow: var(--ds-shadow-lg);
    border: 1px solid #334155;
    margin-top: 32px;
}

.ds-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #1E293B;
    border-bottom: 1px solid #334155;
}

.ds-code-dots {
    display: flex;
    gap: 6px;
}

.ds-code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ds-code-tabs {
    display: flex;
    gap: 6px;
}

.ds-code-tab {
    padding: 6px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    border-radius: 4px;
    color: #94A3B8;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ds-code-tab:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
}

.ds-code-tab.active {
    background: #0F172A;
    color: #38BDF8;
    font-weight: 700;
}

.ds-code-body {
    padding: 22px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #E2E8F0;
    overflow-x: auto;
}

.ds-code-panel {
    display: none;
}

.ds-code-panel.active {
    display: block;
}

/* Accordion Component */
.ds-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 860px;
    margin: 0 auto;
}

.ds-accordion-item {
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ds-accordion-item:hover {
    border-color: var(--ds-border-strong);
}

.ds-accordion-item.open {
    border-color: var(--ds-primary);
    box-shadow: var(--ds-shadow-sm);
}

.ds-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: transparent;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ds-text);
    text-align: left;
    cursor: pointer;
}

.ds-accordion-chevron {
    transition: transform 0.25s ease;
    color: var(--ds-text-subtle);
    flex-shrink: 0;
}

.ds-accordion-item.open .ds-accordion-chevron {
    transform: rotate(180deg);
    color: var(--ds-primary);
}

.ds-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 22px;
    font-size: 0.9375rem;
    color: var(--ds-text-muted);
    line-height: 1.65;
}

.ds-accordion-item.open .ds-accordion-content {
    max-height: 300px;
    padding: 0 22px 20px 22px;
}

/* Two-Column Proposal Layout (Form + Graphic) */
.ds-proposal-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: start;
}

.ds-proposal-graphic-wrap {
    position: sticky;
    top: 96px;
}

/* Two-Column Careers Layout (Openings + Culture Graphic) */
.ds-careers-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: start;
}

/* Application Modal */
.ds-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ds-modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.ds-modal-card {
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-xl);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--ds-shadow-lg);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ds-modal-backdrop.active .ds-modal-card {
    transform: translateY(0) scale(1);
}

.ds-modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--ds-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ds-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ds-text-heading);
}

.ds-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--ds-text-subtle);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.ds-modal-close:hover {
    color: var(--ds-text);
    background: #F1F5F9;
}

.ds-modal-body {
    padding: 28px;
}

.ds-hq-card {
    padding: 48px;
}

.ds-portal-card {
    padding: 36px;
}

/* ==========================================================================
   Comprehensive Responsive System (All Screen Sizes)
   ========================================================================== */

/* Desktop Screens (>= 993px) */
@media (min-width: 993px) {
    .ds-mobile-toggle {
        display: none !important;
    }
    .ds-mobile-menu {
        display: none !important;
    }
    .ds-nav {
        display: flex !important;
    }
}

/* Compact Laptops (993px - 1180px) */
@media (max-width: 1180px) and (min-width: 993px) {
    .ds-nav {
        gap: 18px;
    }
    .ds-nav-link {
        font-size: 0.875rem;
    }
}

/* Tablets Landscape & Small Desktops (<= 1024px) */
@media (max-width: 1024px) {
    .ds-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .ds-proposal-grid,
    .ds-careers-grid,
    .ds-estimator-grid,
    .ds-products-grid,
    .ds-solutions-layout,
    .ds-career-layout {
        grid-template-columns: 1fr;
    }
    .ds-proposal-graphic-wrap,
    .ds-apply-sticky-card {
        position: static !important;
    }
    .ds-blueprint-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ds-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

/* Tablets Portrait (<= 992px) */
@media (max-width: 992px) {
    .ds-nav {
        display: none !important;
    }
    .ds-mobile-toggle {
        display: inline-flex !important;
    }
    .ds-hub-link,
    .ds-header-cta {
        display: none !important;
    }
    .ds-career-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ds-solutions-layout > div[style*="order: 2"] {
        order: 1 !important;
    }
    .ds-solutions-layout > div[style*="order: 1"] {
        order: 2 !important;
    }
    .ds-hq-card {
        padding: 32px;
    }
}

/* Mobile Devices & Small Tablets (<= 768px) */
@media (max-width: 768px) {
    .ds-hero-title {
        font-size: clamp(1.85rem, 6vw, 2.35rem);
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .ds-section-title {
        font-size: clamp(1.5rem, 5vw, 1.85rem);
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .ds-section-desc {
        font-size: 0.9375rem;
    }
    .ds-hero-lead {
        font-size: 1rem;
    }
    .ds-hero-ctas .ds-btn {
        width: 100%;
        justify-content: center;
    }
    .ds-form-grid {
        grid-template-columns: 1fr;
    }
    .ds-form-col-2 {
        grid-column: span 1;
    }
    .ds-form-wrapper {
        padding: 24px;
    }
    .ds-portal-card {
        padding: 24px;
    }
    .ds-input, .ds-select, .ds-textarea {
        font-size: 16px; /* Prevents auto-zoom on iOS safari */
    }
    .ds-footer-col a {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        padding: 6px 0;
    }
    .ds-blueprint-grid {
        grid-template-columns: 1fr;
    }
    .ds-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .ds-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .ds-hero-floating-badge {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    .ds-hero-badge-top {
        top: 10px;
        right: 10px;
    }
    .ds-hero-badge-bottom {
        bottom: 10px;
        left: 10px;
    }
    .ds-hero-banner-img,
    .ds-about-img,
    .ds-about-hero-img {
        max-height: 340px;
    }
    .ds-code-header > div:last-child {
        display: none;
    }
    .ds-code-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .ds-code-body {
        padding: 16px;
        font-size: 0.75rem;
    }
    .ds-modal-card {
        max-width: 100%;
        margin: 12px;
    }
    .ds-modal-body {
        padding: 20px;
    }
    pre, code, .ds-code-panel {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .ds-topology-controls {
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile Phones (<= 540px) */
@media (max-width: 540px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .ds-hero {
        padding: 36px 0 28px;
    }
    .ds-hero-title {
        font-size: clamp(1.65rem, 7vw, 2rem);
    }
    .ds-hero-lead {
        font-size: 0.9375rem;
    }
    .ds-hero-guarantees {
        flex-direction: column;
        gap: 10px;
    }
    .ds-guarantee-item {
        font-size: 0.8125rem;
    }
    .ds-estimator-options {
        grid-template-columns: 1fr;
    }
    .ds-estimator-card {
        padding: 20px 14px;
        border-radius: var(--ds-radius-lg);
    }
    .ds-estimator-result {
        padding: 18px 14px;
    }
    .ds-form-wrapper {
        padding: 18px 14px;
        border-radius: var(--ds-radius-lg);
    }
    .ds-portal-card {
        padding: 20px 14px;
        border-radius: var(--ds-radius-lg);
    }
    .ds-hq-card {
        padding: 20px 14px;
        border-radius: var(--ds-radius-lg);
    }
    .ds-job-card {
        padding: 20px 16px;
    }
    .ds-apply-sticky-card {
        padding: 20px 16px;
    }
    .ds-meow-captcha-card {
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .ds-meow-interactive {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }
    .ds-meow-input-wrap {
        flex: 1;
        min-width: 100px;
    }
    .ds-hero-banner-img,
    .ds-about-img,
    .ds-about-hero-img {
        max-height: 250px;
    }
    .ds-hero-media-banner,
    .ds-about-hero-media,
    .ds-about-media-card,
    .ds-plan-banner-card {
        border-radius: var(--ds-radius-lg);
        padding: 12px;
    }
    .ds-modal-header {
        padding: 16px;
    }
    .ds-modal-body {
        padding: 16px;
    }
    .ds-btn {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
    .ds-accordion-trigger {
        padding: 14px 16px;
        font-size: 0.9375rem;
    }
    .ds-accordion-content {
        padding: 0 16px 14px 16px;
    }
    .ds-accordion-item.open .ds-accordion-content {
        padding: 0 16px 16px 16px;
    }
}

/* Small Screens (<= 380px, e.g. iPhone SE) */
@media (max-width: 380px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .ds-brand img {
        height: 34px;
    }
    .ds-hero-title {
        font-size: 1.55rem;
    }
    .ds-section-title {
        font-size: 1.35rem;
    }
    .ds-topology-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}

.ds-job-card {
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    padding: 32px;
    box-shadow: var(--ds-shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ds-job-card:hover {
    border-color: #BFDBFE;
    box-shadow: var(--ds-shadow-md);
    transform: translateY(-2px);
}

.ds-skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ds-skill-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    color: #1E40AF;
    border-radius: var(--ds-radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
}

.ds-skill-pill-muted {
    background: #F8FAFC;
    border-color: #E2E8F0;
    color: #475569;
}

.ds-prose {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--ds-text-muted);
}

.ds-prose p {
    margin-bottom: 1rem;
}

.ds-prose p:last-child {
    margin-bottom: 0;
}

.ds-prose ul, .ds-prose ol {
    margin: 1rem 0 1rem 1.25rem;
    padding-left: 0.5rem;
}

.ds-prose li {
    margin-bottom: 0.5rem;
}

.ds-prose strong {
    color: var(--ds-text);
    font-weight: 700;
}

.ds-apply-sticky-card {
    background: #FFFFFF;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    box-shadow: var(--ds-shadow-md);
    padding: 32px;
    position: sticky;
    top: 90px;
}

.ds-file-dropzone {
    border: 2px dashed var(--ds-border);
    border-radius: var(--ds-radius-md);
    padding: 20px;
    text-align: center;
    background: #F8FAFC;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ds-file-dropzone:hover, .ds-file-dropzone.dragover {
    border-color: var(--ds-primary);
    background: #EFF6FF;
}

.ds-file-dropzone input[type="file"] {
    display: none;
}


