/* 
=========================================
KAILIX // ARCHITECTURAL TECH MINIMALISM
Core Stylesheet & Design System Design
=========================================
*/

/* --- Design Tokens & Variables --- */
:root {
    --bg-primary: #F5F7FA;         /* Pristine off-white architectural canvas */
    --bg-secondary: rgba(255, 255, 255, 0.75); /* Glass panels */
    --bg-secondary-opaque: #FFFFFF; /* Opaque white panels */
    --text-primary: #0F1216;       /* Solid deep titanium charcoal */
    --text-secondary: #4E565E;     /* Medium titanium gray */
    --text-muted: #8B949E;         /* Light tech gray */
    --accent: #0055FF;             /* Precise architectural blue */
    --accent-rgb: 0, 85, 255;
    --accent-neon: #00D5FF;        /* High-speed highlight cyan */
    --accent-glow: rgba(0, 85, 255, 0.08);
    --grid-line: rgba(15, 18, 22, 0.06); /* Structural blueprint grid lines */
    --grid-line-fine: rgba(15, 18, 22, 0.02);
    --border-color: rgba(15, 18, 22, 0.08);
    --border-color-hover: rgba(0, 85, 255, 0.28);
    
    --border-radius: 4px;          /* Minimalist sharp corners */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', var(--font-sans);
    --font-mono: 'JetBrains Mono', 'DM Mono', monospace;
    
    --transition-speed: 0.35s;
    --easing: cubic-bezier(0.16, 1, 0.3, 1); /* Custom high-end ease-out */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.05);
}

/* --- Global Reset & Architectural Settings --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
}

/* --- Custom Scrollbar Styling --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-left: 1px solid var(--grid-line);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Interactive Canvas Background --- */
#grid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none; /* User clicks through to layout */
    background-color: var(--bg-primary);
}

/* --- Utility Monospace Fonts & Annotations --- */
.monotext {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
}

/* --- Layout Structures --- */
.section {
    position: relative;
    padding: 8rem 2rem;
    border-bottom: 1px solid var(--grid-line);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-header {
    margin-bottom: 4.5rem;
    max-width: 700px;
}

.section-number {
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.5;
}

/* --- Typography Utilities --- */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Header Floating Glassmorphism Navigation --- */
#main-header {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    border: 1px solid var(--grid-line);
    border-radius: var(--border-radius);
    background: rgba(245, 247, 250, 0.75);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    transition: all var(--transition-speed) var(--easing);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.75rem;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: color var(--transition-speed) var(--easing);
}

.logo-link:hover {
    color: var(--accent);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    transition: color var(--transition-speed) var(--easing);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

.nav-link .monotext {
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: color var(--transition-speed) var(--easing);
}

.nav-link:hover .monotext {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.25rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 1px solid var(--text-primary);
    transition: all var(--transition-speed) var(--easing);
}

.cta-button:hover {
    background: transparent;
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s var(--easing);
    border-radius: 1px;
}

/* Hamburger Menu Interactions */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 5rem;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 3rem;
    min-height: calc(100vh - 6rem);
}

.tagline-badge {
    display: inline-flex;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 85, 255, 0.04);
    border: 1px solid rgba(0, 85, 255, 0.12);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.tagline-badge .monotext {
    font-size: 0.7rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Premium Winner Box */
.winner-premium-box {
    margin-top: 2.5rem;
    padding: 2px;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #FFDF00 100%);
    border-radius: var(--border-radius);
    display: inline-block;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
    animation: gold-pulse 3s infinite alternate;
    position: relative;
    max-width: 580px;
}

@keyframes gold-pulse {
    0% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.15); }
    100% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.4); }
}

.google-view-card {
    background: var(--bg-primary);
    padding: 1.5rem 2rem;
    border-radius: calc(var(--border-radius) - 2px);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.golden-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #111;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 1.25rem;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.client-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.client-doc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.client-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

.rating-number {
    font-weight: 700;
    color: var(--text-primary);
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-count {
    color: #8ab4f8; /* Google maps link color */
}

.client-cat {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- Winner Box Reward Styling --- */
.winner-reward {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 215, 0, 0.04);
    border: 1px dashed rgba(255, 215, 0, 0.25);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.winner-reward .reward-label {
    color: #D4AF37 !important;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}

.winner-reward .reward-value {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.dynamic-map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    background: rgba(138, 180, 248, 0.1);
    color: #8ab4f8;
    padding: 0.65rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(138, 180, 248, 0.2);
    transition: all 0.3s ease;
}

.dynamic-map-btn:hover {
    background: rgba(138, 180, 248, 0.2);
    border-color: rgba(138, 180, 248, 0.4);
    transform: translateY(-2px);
}

.hero-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metric-card {
    background: var(--bg-secondary);
    border: 1px solid var(--grid-line);
    border-radius: var(--border-radius);
    padding: 1.5rem 1.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) var(--easing);
}

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

.metric-line-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--accent);
    transition: background var(--transition-speed) var(--easing);
}

.metric-card:hover .metric-line-indicator {
    background: var(--accent-neon);
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.metric-badge-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Scroll Mouse Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    cursor: pointer;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid var(--text-secondary);
    border-radius: 10px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 1.5px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 1.6s infinite var(--easing);
}

@keyframes scroll-anim {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 8px); }
}

.scroll-label {
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* --- Blueprint Cards Styling (Capabilities & Works) --- */
.blueprint-card {
    background: var(--bg-secondary);
    border: 1px solid var(--grid-line);
    border-radius: var(--border-radius);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) var(--easing);
}

.blueprint-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--grid-line-fine) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-fine) 1px, transparent 1px);
    background-size: 15px 15px;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity var(--transition-speed) var(--easing);
}

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

.card-border-glow {
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    pointer-events: none;
    transition: all var(--transition-speed) var(--easing);
}

.blueprint-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
}

.blueprint-card:hover .card-border-glow {
    border-color: rgba(0, 85, 255, 0.22);
    box-shadow: inset 0 0 12px rgba(0, 85, 255, 0.03);
}

/* --- Services (Capabilities) Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.card-tech-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    display: block;
}

.blueprint-card:hover .card-tech-label {
    color: var(--accent);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color var(--transition-speed) var(--easing);
}

.blueprint-card:hover .card-title {
    color: var(--accent);
}

.card-subtext {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    min-height: 4.5rem;
}

.card-divider {
    height: 1px;
    background: var(--grid-line);
    margin-bottom: 1.5rem;
    position: relative;
}

.card-divider::after {
    content: '';
    position: absolute;
    top: -2px;
    right: 0;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
}

.card-metrics-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.card-metrics-list li {
    display: flex;
    justify-content: space-between;
}

.card-metrics-list li span:nth-child(1) {
    color: var(--text-muted);
}

.card-metrics-list li span:nth-child(2) {
    color: var(--text-primary);
    font-weight: 600;
}

.blueprint-tech-lines {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-right: 1.5px solid var(--grid-line);
    border-bottom: 1.5px solid var(--grid-line);
    pointer-events: none;
    transition: all var(--transition-speed) var(--easing);
}

.blueprint-card:hover .blueprint-tech-lines {
    border-color: var(--accent-neon);
    width: 42px;
    height: 42px;
}

/* --- Blueprint Timeline (Process Flow) --- */
.process-flow {
    position: relative;
    padding: 1.5rem 0;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 31px;
    width: 2px;
    height: 100%;
    background: var(--grid-line);
    z-index: 1;
}

.process-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 2.25rem;
    position: relative;
    margin-bottom: 4rem;
    z-index: 2;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-node-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0.5rem;
}

.step-node {
    width: 64px;
    height: 64px;
    background: var(--bg-primary);
    border: 2px solid var(--grid-line);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 1.05rem;
    transition: all var(--transition-speed) var(--easing);
    z-index: 3;
    position: relative;
}

.process-step:hover .step-node {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-secondary-opaque);
    box-shadow: 0 0 15px rgba(0, 85, 255, 0.12);
    transform: scale(1.05);
}

.step-content {
    background: var(--bg-secondary);
    border: 1px solid var(--grid-line);
    border-radius: var(--border-radius);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) var(--easing);
}

.process-step:hover .step-content {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.step-phase-code {
    font-size: 0.7rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-deliverables {
    border-top: 1px dashed var(--grid-line);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.deliverable-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.deliverable-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.deliverable-tag {
    padding: 0.25rem 0.6rem;
    background: rgba(0, 85, 255, 0.02);
    border: 1px solid var(--grid-line);
    border-radius: 2px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.process-step:hover .deliverable-tag {
    border-color: rgba(0, 85, 255, 0.15);
    background: rgba(0, 85, 255, 0.04);
    color: var(--text-primary);
}

/* --- Selected Works Showcase --- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.work-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.work-num {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.work-category {
    font-size: 0.65rem;
    color: var(--accent);
    background: rgba(0, 85, 255, 0.04);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    font-weight: 600;
}

.work-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.work-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.work-metrics-overlay {
    background: rgba(0, 85, 255, 0.02);
    border: 1px solid var(--grid-line);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) var(--easing);
}

.work-card:hover .work-metrics-overlay {
    background: rgba(0, 85, 255, 0.05);
    border-color: rgba(0, 85, 255, 0.18);
}

.overlay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.overlay-metric {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.metric-lbl {
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
}

.text-neon {
    color: var(--accent) !important;
    text-shadow: 0 0 10px rgba(0, 85, 255, 0.05);
}

.work-action {
    margin-top: auto;
    font-size: 0.72rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all var(--transition-speed) var(--easing);
}

.work-card:hover .work-action {
    color: var(--accent);
    transform: translateX(4px);
}

/* --- Cost & Timeline Estimator Section --- */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calculator-card-header {
    border-bottom: 1px solid var(--grid-line);
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.control-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 600;
}

.control-badge {
    background: rgba(0, 85, 255, 0.04);
    border: 1px solid rgba(0, 85, 255, 0.12);
    color: var(--accent);
    padding: 0.2rem 0.55rem;
    border-radius: var(--border-radius);
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-sans);
}

/* Blueprint Custom Slider Track & Thumb */
.blueprint-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--grid-line);
    border-radius: 3px;
    outline: none;
    transition: background var(--transition-speed);
}

.blueprint-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 2px solid var(--bg-secondary-opaque);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 85, 255, 0.25);
    transition: all var(--transition-speed) var(--easing);
}

.blueprint-slider::-webkit-slider-thumb:hover {
    background: var(--accent-neon);
    transform: scale(1.15);
}

.blueprint-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 2px solid var(--bg-secondary-opaque);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 85, 255, 0.25);
    transition: all var(--transition-speed) var(--easing);
}

.blueprint-slider::-moz-range-thumb:hover {
    background: var(--accent-neon);
    transform: scale(1.15);
}

/* Custom Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.blueprint-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-secondary);
    user-select: none;
}

.blueprint-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-box {
    width: 18px;
    height: 18px;
    background: var(--bg-primary);
    border: 1px solid var(--grid-line);
    border-radius: 2px;
    position: relative;
    transition: all var(--transition-speed) var(--easing);
    flex-shrink: 0;
}

.blueprint-checkbox:hover input ~ .checkbox-box {
    border-color: var(--accent);
}

.blueprint-checkbox input:checked ~ .checkbox-box {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(0, 85, 255, 0.2);
}

.checkbox-box::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid var(--bg-secondary-opaque);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.blueprint-checkbox input:checked ~ .checkbox-box::after {
    display: block;
}

.checkbox-label {
    transition: color var(--transition-speed) var(--easing);
}

.blueprint-checkbox input:checked ~ .checkbox-label {
    color: var(--text-primary);
    font-weight: 600;
}

/* Dashboard Output Panel */
.calculator-dashboard {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    height: 100%;
}

.dashboard-title {
    font-size: 0.85rem;
    border-bottom: 1px solid var(--grid-line);
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.dashboard-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dash-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dash-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.dash-val {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.dash-bar-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.dash-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.dash-bar-bg {
    width: 100%;
    height: 6px;
    background: var(--grid-line);
    border-radius: 3px;
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-neon));
    width: 0%;
    border-radius: 3px;
    transition: width 0.5s var(--easing);
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4.5rem;
    align-items: start;
}

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

.contact-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-item .label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.contact-item .value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form-container {
    padding: 2.5rem;
}

.blueprint-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group input, 
.form-group textarea {
    background: var(--bg-primary);
    border: 1px solid var(--grid-line);
    border-radius: var(--border-radius);
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-speed) var(--easing);
    outline: none;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--bg-secondary-opaque);
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.04);
}

.form-submit {
    align-self: flex-start;
    border: 1px solid var(--text-primary);
    padding: 0.85rem 2.5rem;
    margin-top: 1rem;
}

.form-submit:hover {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

/* Feedback message container */
.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    transition: all var(--transition-speed) var(--easing);
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.hidden {
    display: none;
}

/* --- Footer Section --- */
#main-footer {
    background: var(--bg-secondary-opaque);
    border-top: 1px solid var(--grid-line);
    padding: 4.5rem 2rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    color: var(--text-primary);
}

.footer-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    max-width: 450px;
}

.footer-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 1.25rem;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--border-radius);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
    animation: pulse 1.8s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.95); opacity: 0.65; }
    50% { transform: scale(1.1); opacity: 1; }
}

.status-indicator .monotext {
    color: #10B981;
    font-size: 0.7rem;
    font-weight: 600;
}

.footer-metrics {
    display: flex;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-bottom {
    grid-column: span 2;
    border-top: 1px solid var(--grid-line);
    padding-top: 1.75rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Baseline Interactive Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) var(--easing);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--grid-line);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* --- Work Images & Highlights --- */
.work-img-container {
    height: 180px;
    background: var(--bg-primary);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--grid-line);
    margin: -2.25rem -2.25rem 1.5rem -2.25rem;
    width: calc(100% + 4.5rem);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.work-img-container img {
    max-width: 55%;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: all var(--transition-speed) var(--easing);
}

.work-card:hover .work-img-container img {
    opacity: 1;
    transform: scale(1.05);
}

/* Works Section Highlight */
#work.section-highlight {
    background: linear-gradient(180deg, rgba(0, 85, 255, 0.02) 0%, rgba(0, 229, 255, 0.02) 100%);
    box-shadow: inset 0 0 100px rgba(0, 85, 255, 0.05);
    border-top: 1px solid rgba(0, 102, 255, 0.15);
    border-bottom: 1px solid rgba(0, 102, 255, 0.15);
}

.victory-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.5);
    backdrop-filter: blur(8px);
    padding: 0.5rem 0.85rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    z-index: 5;
    animation: neon-pulse 2.5s infinite ease-in-out;
}

@keyframes neon-pulse {
    0% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.4); }
    100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); }
}

.victory-badge .victory-title {
    color: #10B981;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.victory-badge .victory-stat {
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-align: right;
    line-height: 1.3;
}

/* --- Ayurvedic Project Styling --- */
.ayurved-gradient-bg {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.03) 0%, rgba(0, 213, 255, 0.05) 100%) !important;
}

.ayur-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--grid-line);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) var(--easing);
}

.work-card:hover .ayur-logo-wrapper {
    transform: scale(1.05);
    border-color: var(--accent-neon);
    box-shadow: 0 0 15px rgba(0, 213, 255, 0.2);
}

/* --- Build Progress Indicator --- */
.project-progress {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

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

.progress-status {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.started-dot {
    background-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse-dot 1.2s infinite ease-in-out;
}

.delivered-dot {
    background-color: #10B981;
    box-shadow: 0 0 8px #10B981;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.2); }
}

.status-started {
    color: var(--accent) !important;
}

.status-delivered {
    color: #10B981 !important;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: var(--grid-line);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s var(--easing);
    position: relative;
}

/* Progress States & Animations */
.progress-delivered {
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.progress-started {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-neon) 100%);
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.3);
    animation: progress-pulse 2.5s infinite ease-in-out;
}

@keyframes progress-pulse {
    0%, 100% {
        opacity: 0.9;
        box-shadow: 0 0 6px rgba(0, 85, 255, 0.2);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 12px rgba(0, 85, 255, 0.5);
    }
}

.progress-started::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    animation: progress-scan 2s infinite linear;
}

@keyframes progress-scan {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* --- Client Review Box in Work Cards --- */
.client-review-box {
    background: rgba(0, 85, 255, 0.015);
    border-left: 2px solid var(--accent);
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.client-review-box .quote-icon {
    position: absolute;
    top: -5px;
    left: 8px;
    font-size: 2rem;
    color: rgba(0, 85, 255, 0.15);
    font-family: serif;
    line-height: 1;
}

.client-review-box .review-text {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 0.5rem 0.5rem;
}

.client-review-box .review-author {
    font-size: 0.6rem !important;
    color: var(--text-muted) !important;
    margin-left: 0.5rem;
    display: block;
}

/* --- Absolute Responsiveness & Breakpoints --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .works-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-title {
        font-size: 3.4rem;
    }
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }
    
    #main-header {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        background: rgba(245, 247, 250, 0.95);
    }
    
    .header-container {
        padding: 0.85rem 1.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 57px;
        left: 0;
        width: 100%;
        height: calc(100vh - 57px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 3rem;
        transform: translateX(100%);
        transition: transform var(--transition-speed) var(--easing);
        border-top: 1px solid var(--grid-line);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.4rem;
    }
    
    .header-actions .cta-button {
        display: none;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding-top: 5rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        grid-template-columns: 48px 1fr;
        gap: 1.25rem;
    }
    
    .step-node {
        width: 48px;
        height: 48px;
        font-size: 0.95rem;
    }
    
    .timeline-line {
        left: 23px;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-status {
        align-items: flex-start;
    }
    
    .footer-bottom {
        grid-column: span 1;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .blueprint-card {
        padding: 1.75rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
}
