/* ----------------------------------------------------
   NEXORA WEB STUDIOS - DESIGN SYSTEM & STYLESHEET
   ---------------------------------------------------- */

/* --- Central Design System Variables --- */
:root {
    --bg-base: #070709;
    --bg-darker: #040405;
    --bg-card: rgba(13, 13, 20, 0.6);
    --bg-card-hover: rgba(20, 20, 30, 0.85);
    --glass-bg: rgba(8, 8, 12, 0.8);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-focus: rgba(168, 85, 247, 0.4);
    
    /* Accents & HSL Color Palette */
    --primary: #a855f7;       /* Electric Violet */
    --primary-rgb: 168, 85, 247;
    --secondary: #06b6d4;     /* Cyber Teal */
    --secondary-rgb: 6, 182, 212;
    --accent: #ec4899;        /* Neon Pink */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(180deg, #101017 0%, #070709 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    /* Typography */
    --font-title: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Syne', sans-serif;
    
    /* Shadows & Glows */
    --glow-primary: 0 0 25px rgba(168, 85, 247, 0.25);
    --glow-secondary: 0 0 25px rgba(6, 182, 212, 0.25);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    
    /* Animation Speeds */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-smooth);
    --transition-medium: 0.4s var(--ease-smooth);
    --transition-slow: 0.8s var(--ease-smooth);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
    color: #ffffff;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom Styled Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: #1f1f2e;
    border: 2px solid var(--bg-darker);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- Global Typographic Scales --- */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

p {
    color: #a1a1aa;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* --- Utility Classes --- */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: var(--gradient-primary);
}

.text-glow {
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    padding: 6px 16px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 20px;
}

.section-tag.tag-primary {
    color: var(--secondary);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
}

.flex-1 { flex: 1; }
.btn-block { width: 100%; display: flex; justify-content: center; }

/* --- Ambient Glow Blobs Background --- */
.ambient-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.14;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}
.bg-blob-1 {
    top: 5%;
    left: -10%;
    background-color: var(--primary);
    animation: pulseGlow 12s infinite alternate;
}
.bg-blob-2 {
    top: 35%;
    right: -10%;
    background-color: var(--secondary);
    animation: pulseGlow 15s infinite alternate-reverse;
}
.bg-blob-3 {
    bottom: 5%;
    left: 20%;
    background-color: var(--accent);
    animation: pulseGlow 10s infinite alternate;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    z-index: 2;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.12; }
    50% { transform: scale(1.15) translate(3%, 4%); opacity: 0.18; }
    100% { transform: scale(0.9) translate(-2%, -3%); opacity: 0.12; }
}

/* --- Buttons --- */
.btn {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-medium);
    border: none;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.5), var(--glow-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-tertiary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: #ffffff;
}

.btn-icon {
    transition: transform 0.3s var(--ease-smooth);
}
.btn:hover .btn-icon {
    transform: translateX(3px);
}

/* --- Header / Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    background-color: rgba(7, 7, 9, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-medium);
}

.main-header.scrolled {
    background-color: rgba(4, 4, 5, 0.85);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-medium);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.3));
}

.logo-text {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.logo-dot {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-title);
    font-size: 0.925rem;
    font-weight: 500;
    color: #a1a1aa;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-smooth);
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.active::after, .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-medium);
    transform-origin: left center;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 95vh;
    display: flex;
    align-items: center;
    z-index: 10;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.825rem;
    font-weight: 500;
    color: #d4d4d8;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: statusPulse 2s infinite alternate;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #10b981; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    width: 100%;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #71717a;
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
}

/* Hero Graphic / Code Mockup styling */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--card-shadow), inset 0 0 20px rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: border-color 0.4s var(--ease-smooth);
}

.hero-glass-card:hover {
    border-color: var(--glass-border-focus);
}

.card-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 14px 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #eab308; }
.dot-green { background-color: #22c55e; }

.card-address {
    font-family: var(--font-title);
    font-size: 0.75rem;
    color: #71717a;
    background: rgba(255, 255, 255, 0.03);
    padding: 3px 12px;
    border-radius: 4px;
    flex-grow: 1;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.card-body {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #e4e4e7;
}

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

.code-kw { color: #f43f5e; font-weight: bold; }
.code-obj { color: #38bdf8; }
.code-func { color: #a855f7; }
.code-str { color: #10b981; }
.comment { color: #71717a; font-style: italic; }
.indent-1 { padding-left: 20px; }

/* Floating Badges */
.floating-tech {
    position: absolute;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 100px;
    font-family: var(--font-title);
    font-size: 0.825rem;
    font-weight: 600;
    color: #ffffff;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(8px);
    transition: var(--transition-medium);
}

.floating-tech:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.tech-react {
    top: 15%;
    left: -5%;
    border-left: 2px solid var(--secondary);
}
.tech-three {
    bottom: 25%;
    right: -5%;
    border-left: 2px solid var(--accent);
}
.tech-node {
    bottom: -5%;
    left: 20%;
    border-left: 2px solid var(--primary);
}

/* Micro-animations */
.hover-bounce {
    animation: bounceSlow 6s infinite ease-in-out;
}
.hover-bounce.delay-1 { animation-delay: 1.5s; }
.hover-bounce.delay-2 { animation-delay: 3s; }

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

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-glow-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 16px;
    background: radial-gradient(800px circle at 0px 0px, rgba(255,255,255,0.06), transparent 40%);
    transition: opacity 0.5s ease;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--bg-card-hover);
    box-shadow: var(--card-shadow), 0 0 30px rgba(168, 85, 247, 0.05);
}

.service-card:hover .service-glow-edge {
    opacity: 1;
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    transition: var(--transition-medium);
}

.service-icon {
    width: 26px;
    height: 26px;
}

.service-card:hover .service-icon-wrapper {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--glow-primary);
    border-color: transparent;
}

.service-card-title {
    font-size: 1.45rem;
    margin-bottom: 16px;
    font-family: var(--font-title);
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-size: 0.95rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    font-size: 0.875rem;
    color: #d4d4d8;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* --- Estimator Section --- */
.estimator-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: start;
}

.estimator-controls {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--card-shadow);
}

.estimator-group {
    margin-bottom: 40px;
}
.estimator-group:last-child {
    margin-bottom: 0;
}

.group-label {
    display: block;
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

/* 1. Service Type Buttons */
.service-type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.type-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 16px;
    border-radius: 12px;
    color: #a1a1aa;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition-medium);
}

.type-btn-icon {
    font-size: 1.5rem;
}

.type-btn-name {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.type-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.type-btn.active {
    background: rgba(168, 85, 247, 0.08);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: inset 0 0 15px rgba(168, 85, 247, 0.1);
}

/* 2. Execution Tiers */
.tier-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.tier-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
}

.tier-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tier-badge {
    font-family: var(--font-title);
    font-size: 0.725rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--secondary);
    margin-bottom: 12px;
    align-self: flex-start;
}

.tier-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.tier-desc {
    font-size: 0.825rem;
    color: #71717a;
    line-height: 1.5;
}

.tier-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.tier-card.active {
    border-color: var(--secondary);
    background: rgba(6, 182, 212, 0.06);
    box-shadow: inset 0 0 15px rgba(6, 182, 212, 0.05);
}

.tier-card.active .tier-title {
    color: #ffffff;
}

/* 3. Slider */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-value-display {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
    background: rgba(168, 85, 247, 0.1);
    padding: 4px 14px;
    border-radius: 100px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    display: inline-block;
    min-width: 95px; /* Constant size to prevent layout shaking */
    text-align: center;
    font-variant-numeric: tabular-nums; /* Monospaced digits for smooth changes */
}

.slider-container {
    width: 100%;
}

.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #1e1e24;
    outline: none;
    transition: background 0.3s;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    transition: transform 0.1s;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.custom-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    transition: transform 0.1s;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.775rem;
    color: #52525b;
    margin-top: 10px;
    font-weight: 500;
}

/* 4. Feature Checklist */
.features-checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-checkbox-label {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-medium);
}

.feature-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #3f3f46;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.checkbox-custom::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #ffffff;
    font-size: 0.775rem;
    font-weight: bold;
    transition: transform 0.2s var(--ease-smooth);
}

.feature-checkbox-label:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.feature-checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.03);
}

.feature-checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.feature-checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.feature-checkbox-content {
    display: flex;
    flex-direction: column;
}

.feature-name {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.feature-price {
    font-size: 0.8rem;
    color: var(--secondary);
    background: rgba(6, 182, 212, 0.08);
    padding: 1px 8px;
    border-radius: 4px;
    margin-left: 6px;
    font-family: var(--font-title);
}

.feature-sub {
    font-size: 0.8rem;
    color: #71717a;
    margin-top: 4px;
}

/* Live Estimate Output Display */
.estimator-display-wrapper {
    position: sticky;
    top: 110px;
}

.estimator-display-card {
    background: #0d0d14;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.display-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: var(--primary);
    filter: blur(50px);
    opacity: 0.15;
    pointer-events: none;
}

.display-card-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.display-numbers {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.counter-label {
    display: block;
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #71717a;
    margin-bottom: 6px;
}

.counter-value-container {
    display: flex;
    align-items: baseline;
}

.currency-symbol {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-right: 2px;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    font-variant-numeric: tabular-nums; /* Keeps container width stable during count animation */
}

.timeline-value {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    font-variant-numeric: tabular-nums; /* Stable dynamic numbers */
}

.configured-specs {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 32px;
}

.specs-header {
    display: block;
    font-family: var(--font-title);
    font-size: 0.825rem;
    font-weight: 600;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.specs-list li {
    font-size: 0.825rem;
    color: #d4d4d8;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 6px;
}
.specs-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.specs-list li span:last-child {
    font-weight: 600;
    color: #ffffff;
}

.estimator-note {
    display: block;
    text-align: center;
    font-size: 0.775rem;
    color: #52525b;
    margin-top: 16px;
}

/* --- Portfolio Showcase Section --- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    font-family: var(--font-title);
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 10px 24px;
    border-radius: 100px;
    color: #a1a1aa;
    cursor: pointer;
    transition: var(--transition-medium);
}

.filter-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
    background: #ffffff;
    color: var(--bg-base);
    border-color: #ffffff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: 40px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-medium);
}

.portfolio-image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    background: #111116;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 9, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    transition: opacity 0.4s var(--ease-smooth);
}

.portfolio-image-wrapper:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s var(--ease-smooth);
}

.portfolio-image-wrapper:hover .overlay-details {
    transform: translateY(0);
}

.overlay-tech {
    font-family: var(--font-title);
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.overlay-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.overlay-desc {
    font-size: 0.875rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.portfolio-info {
    margin-top: 18px;
    padding: 0 4px;
}

.portfolio-cat {
    font-family: var(--font-title);
    font-size: 0.775rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 6px;
    display: block;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* High Fidelity HTML Vector Graphics Mockups */
.portfolio-graphic {
    width: 80%;
    height: 70%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #09090b;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.mockup-crypto {
    background: radial-gradient(circle at 10% 10%, rgba(168, 85, 247, 0.08), transparent 40%), #09090c;
}

.mockup-chart {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 80%;
    height: 40%;
    background-image: linear-gradient(180deg, rgba(6, 182, 212, 0.15), transparent);
    clip-path: polygon(0 80%, 20% 50%, 40% 65%, 60% 30%, 80% 45%, 100% 10%, 100% 100%, 0 100%);
    border-top: 2px solid var(--secondary);
}

.mockup-nodes {
    position: absolute;
    top: 20%;
    right: 15%;
    display: flex;
    gap: 12px;
}

.mock-node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
}
.n-1 { border-color: var(--primary); box-shadow: 0 0 10px rgba(168,85,247,0.3); }
.n-2 { border-color: var(--accent); }
.n-3 { border-color: var(--secondary); }

.mockup-watch {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #181822, #08080c);
}

.mockup-watch-face {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.06);
    position: relative;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.02);
}

.watch-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 4px;
}

.watch-hand.hours {
    width: 3px;
    height: 26px;
    background: var(--primary);
    transform: rotate(45deg);
}

.watch-hand.minutes {
    width: 2px;
    height: 38px;
    background: var(--secondary);
    transform: rotate(160deg);
}

.mockup-saas {
    display: flex;
    flex-direction: column;
}

.mockup-window {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.window-bar {
    height: 28px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.window-bar span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}
.wb-1 { background-color: #ef4444; }
.wb-2 { background-color: #eab308; }
.wb-3 { background-color: #22c55e; }

.window-body {
    flex-grow: 1;
    padding: 16px;
    display: flex;
    align-items: center;
}

.mockup-bars {
    width: 100%;
    height: 100%;
    background-size: 100% 25px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 12px, transparent 12px);
}

.mockup-phone {
    width: 130px;
    height: 80%;
    background: #09090b;
    border-radius: 20px;
    border: 4px solid rgba(255, 255, 255, 0.08);
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.mockup-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.mockup-phone-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    animation: rotateDash 15s infinite linear;
}

@keyframes rotateDash {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Project Modals --- */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-smooth);
}

.project-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 6, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-content-wrapper {
    position: relative;
    background: #0c0c12;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 100%;
    max-width: 1150px;
    max-height: 90vh;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    z-index: 10;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s var(--ease-smooth);
}

.project-modal.active .modal-content-wrapper {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 20;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-scroll-body {
    padding: 50px;
    overflow-y: auto;
    max-height: 85vh;
}

.modal-header-tag {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 8px;
    display: block;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.modal-meta-box {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.meta-tag {
    font-size: 0.775rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 4px;
    color: #a1a1aa;
}

.modal-description {
    color: #d4d4d8;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-feature-list {
    margin-bottom: 30px;
}

.modal-section-title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.feature-bullets {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.feature-bullets li {
    font-size: 0.875rem;
    color: #a1a1aa;
    position: relative;
    padding-left: 20px;
}

.feature-bullets li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* --- Modal Split & Browser Mockup --- */
.modal-layout-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
}

.modal-details-panel {
    display: flex;
    flex-direction: column;
}

.modal-preview-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 0;
}

.mock-browser {
    background: #06060a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-medium);
}

.mock-browser:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(110, 68, 255, 0.15);
}

.mock-browser-header {
    background: #0d0d15;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-browser-dots {
    display: flex;
    gap: 6px;
}

.mock-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mock-browser-dot.red { background: #ef4444; }
.mock-browser-dot.yellow { background: #f59e0b; }
.mock-browser-dot.green { background: #10b981; }

.mock-browser-address-bar {
    flex-grow: 1;
    background: #050508;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: #a1a1aa;
    font-family: var(--font-title);
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mock-browser-address-bar svg {
    color: #10b981;
    flex-shrink: 0;
}

.mock-browser-body {
    height: 440px;
    background: #08080d;
    position: relative;
    overflow: hidden;
}

.mock-browser-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #ffffff;
}

.mock-browser-graphic {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #0e0e16 0%, #06060a 100%);
    padding: 30px;
    text-align: center;
    color: #a1a1aa;
    position: relative;
}

.mock-graphic-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: float-preview 4s ease-in-out infinite;
}

.mock-graphic-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.mock-graphic-desc {
    font-size: 0.85rem;
    max-width: 280px;
    line-height: 1.5;
}

.mock-graphic-db-mockup {
    width: 100%;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 20px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.mock-db-row {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    width: 100%;
}

.mock-db-row.w-80 { width: 80%; }
.mock-db-row.w-60 { width: 60%; }
.mock-db-row.w-40 { width: 40%; }
.mock-db-row.accent { background: var(--secondary); opacity: 0.4; }

@keyframes float-preview {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
    .modal-layout-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mock-browser-body {
        height: 340px;
    }
}

/* --- Process Section Roadmap --- */
.process-roadmap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.roadmap-track-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-image: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    opacity: 0.2;
    z-index: 1;
}

.roadmap-node {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    z-index: 10;
}

.roadmap-node:nth-child(even) .node-card {
    grid-column: 2;
}

.roadmap-node:nth-child(even) {
    direction: rtl;
}

.roadmap-node:nth-child(even) .node-card * {
    direction: ltr;
}

.node-marker-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.node-marker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #09090c;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.05);
    transition: var(--transition-medium);
}

.roadmap-node:hover .node-marker {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(168, 85, 247, 0.15), var(--glow-primary);
    border-color: #ffffff;
}

.roadmap-node:nth-child(2) .node-marker { border-color: var(--secondary); box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.05); }
.roadmap-node:nth-child(2):hover .node-marker { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0.15), var(--glow-secondary); }

.roadmap-node:nth-child(4) .node-marker { border-color: var(--accent); }

.node-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 36px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--card-shadow);
    transition: var(--transition-medium);
}

.roadmap-node:hover .node-card {
    border-color: rgba(255, 255, 255, 0.1);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.node-phase {
    font-family: var(--font-title);
    font-size: 0.775rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 8px;
    display: block;
}

.node-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.node-text {
    font-size: 0.9rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 20px;
}

.node-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.deliv-tag {
    font-family: var(--font-title);
    font-size: 0.725rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    color: #d4d4d8;
}

/* --- Testimonials Section --- */
.testimonials-slider-container {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    opacity: 0.2;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-content-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-rating {
    margin-bottom: 24px;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
    margin: 0 2px;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.testimonial-quote {
    font-family: var(--font-title);
    font-size: 1.35rem;
    line-height: 1.6;
    color: #e4e4e7;
    font-weight: 500;
    margin-bottom: 30px;
    max-width: 620px;
}

.client-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.05rem;
}

.client-role {
    font-size: 0.825rem;
    color: var(--primary);
    margin-top: 2px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.slider-arrow:hover {
    background: #ffffff;
    color: var(--bg-base);
    border-color: #ffffff;
}

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

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-medium);
}

.slider-dot.active {
    width: 24px;
    border-radius: 100px;
    background: var(--primary);
    box-shadow: var(--glow-primary);
}

/* --- FAQ Section Accordion --- */
.faq-accordion-container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-medium);
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 30px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    outline: none;
}

.faq-question {
    font-family: var(--font-title);
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    transition: var(--transition-fast);
}

.faq-toggle-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.faq-toggle-icon::before, .faq-toggle-icon::after {
    content: "";
    position: absolute;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.faq-toggle-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-toggle-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.faq-item:has(button[aria-expanded="true"]) {
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: inset 0 0 15px rgba(168, 85, 247, 0.02);
}

.faq-item:has(button[aria-expanded="true"]) .faq-question {
    color: var(--primary);
}

.faq-item button[aria-expanded="true"] .faq-toggle-icon::after {
    transform: translateX(-50%) rotate(90deg) scale(0);
}

.faq-item button[aria-expanded="true"] .faq-toggle-icon::before {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer-wrapper {
    height: 0;
    overflow: hidden;
    transition: height 0.4s var(--ease-smooth);
}

.faq-answer {
    padding: 0 30px 24px 30px;
    font-size: 0.95rem;
    color: #a1a1aa;
    line-height: 1.6;
}

/* --- Contact & Lead Capture Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.text-left {
    text-align: left;
    margin-left: 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.method-icon {
    width: 20px;
    height: 20px;
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.775rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.method-link {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
}
a.method-link:hover {
    color: var(--secondary);
}

.trust-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
}

.trust-header {
    display: block;
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 600;
    color: #52525b;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

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

.trust-logo {
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: 6px;
    color: #71717a;
}

/* Form Styles */
.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: var(--card-shadow);
}

.form-glow {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: var(--secondary);
    filter: blur(80px);
    opacity: 0.1;
    pointer-events: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-label {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: #a1a1aa;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-input, .form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 14px 18px;
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-medium);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--glass-border-focus);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #0d0d14; /* Solid dark background to avoid browser transparent fallback bugs */
    color: #ffffff;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.custom-select option {
    background-color: #0d0d14; /* Match option background to dark theme */
    color: #ffffff; /* Explicit white text for readability */
}

.form-textarea {
    resize: none;
}

/* Error States */
.form-input.invalid, .form-textarea.invalid {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.02);
}

.error-msg {
    color: #ef4444;
    font-size: 0.775rem;
    margin-top: 6px;
    font-weight: 500;
    display: none;
}

.form-input.invalid + .error-msg, .form-textarea.invalid + .error-msg {
    display: block;
}

/* Draft Autosave badge */
.draft-autosave-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.775rem;
    color: #71717a;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition-medium);
}

.draft-autosave-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}

.draft-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    animation: autosavePulse 1.5s infinite;
}

@keyframes autosavePulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* Estimator Status Banner */
.saved-estimate-status {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 10px;
    padding: 14px 20px;
    display: none; /* Injected by JS */
    align-items: center;
    gap: 14px;
    animation: slideDown 0.4s var(--ease-smooth);
}

@keyframes slideDown {
    from { transform: translateY(-15px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.status-icon {
    font-size: 1.35rem;
}

.status-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.status-title {
    font-family: var(--font-title);
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
}

.status-desc {
    font-size: 0.775rem;
    color: #a1a1aa;
    margin-top: 2px;
}

.btn-clear-estimate {
    background: transparent;
    border: none;
    color: #71717a;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-clear-estimate:hover {
    color: #ffffff;
}

/* Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d0d14;
    border-radius: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.98);
    transition: var(--transition-medium);
}

.form-success-overlay.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 360px;
}

.success-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid #22c55e;
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.success-icon {
    width: 24px;
    height: 24px;
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    margin-bottom: 12px;
}

.success-text {
    font-size: 0.9rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Error Overlay variant */
.form-error-overlay {
    background: #0d0d14;
}

.error-icon-box {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2) !important;
}

/* --- Footer --- */
.main-footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px 40px 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.25fr 0.6fr 0.6fr 1.25fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-desc {
    font-size: 0.875rem;
    color: #71717a;
    line-height: 1.6;
    margin-top: 20px;
    max-width: 300px;
}

.footer-links-title {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.875rem;
    color: #71717a;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-status-panel {
    display: flex;
    flex-direction: column;
}

.status-indicator-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 10px 16px;
    border-radius: 8px;
    align-self: flex-start;
    margin-bottom: 16px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: statusPulse 2s infinite alternate;
}

.status-label-value {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    color: #d4d4d8;
}

.status-active {
    color: #22c55e;
}

.uptime-label {
    font-size: 0.775rem;
    color: #52525b;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.8rem;
    color: #52525b;
}

.footer-socials {
    display: flex;
    gap: 24px;
}

.social-link {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    color: #52525b;
}

.social-link:hover {
    color: #ffffff;
}

/* --- Scroll Reveal Framework Styles --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --- Responsive Media Adjustments --- */
@media (max-width: 1024px) {
    html { font-size: 15px; }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
        width: 100%;
    }
    .estimator-grid {
        grid-template-columns: 1fr;
    }
    .estimator-display-wrapper {
        position: static;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.25rem; }
    .hero-title { font-size: 2.5rem; }
    
    /* Responsive Header & Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-container {
        padding: 12px 16px; /* Save margin space on mobile */
    }

    .logo-text {
        font-size: 1.225rem; /* Shrink to prevent menu button collision */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #09090d;
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 100px 40px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.15rem;
        display: block;
        width: 100%;
    }
    
    /* Hamburger Active Animation */
    .mobile-menu-toggle.active .bar-1 {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.active .bar-2 {
        opacity: 0;
    }
    .mobile-menu-toggle.active .bar-3 {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .header-cta {
        display: none;
    }

    /* Hide absolute tech badges sticking out of hero visuals to stop overflows */
    .floating-tech {
        display: none !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .roadmap-track-line {
        left: 20px;
    }
    .node-marker-wrapper {
        left: 20px;
    }
    .roadmap-node {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .roadmap-node:nth-child(even) .node-card {
        grid-column: 1;
    }
    .roadmap-node:nth-child(even) {
        direction: ltr;
    }
    .node-card {
        margin-left: 45px;
        padding: 24px;
    }
    .feature-bullets {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content-card {
        padding: 30px 20px;
    }
    .testimonial-quote {
        font-size: 1.15rem;
    }

    .faq-question-btn {
        padding: 18px 20px; /* More narrow padding to avoid clipping on mobile */
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.95rem; /* Stop text clipping for long words */
    }
    .section-title {
        font-size: 1.75rem;
    }
    .logo-text {
        font-size: 1.05rem; /* Safe header fit on small devices */
    }
    .header-container {
        padding: 10px 12px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .stat-divider {
        display: none;
    }
    .node-card {
        margin-left: 20px;
        padding: 16px;
    }
    .roadmap-track-line {
        left: 10px;
    }
    .node-marker-wrapper {
        left: 10px;
    }
    .faq-question {
        font-size: 1rem;
    }
    .contact-form-panel {
        padding: 24px 16px; /* Prevent form overflow */
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .tier-selector {
        grid-template-columns: 1fr;
    }
    .service-type-selector {
        grid-template-columns: 1fr 1fr;
    }
}
