:root {
    --bg-dark: #030303;
    --bg-card: rgba(255, 255, 255, 0.015);
    --bg-card-hover: rgba(255, 255, 255, 0.035);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.35);
    
    --primary: #ffffff;       /* Pure White */
    --primary-glow: rgba(255, 255, 255, 0.2);
    --secondary: #d4d4d8;     /* Silver Gray */
    --secondary-glow: rgba(212, 212, 216, 0.15);
    --accent: #52525b;        /* Zinc Charcoal */
    --accent-glow: rgba(82, 82, 91, 0.1);
    
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    
    --radius-sm: 4px; /* Sharper borders for a raw aesthetic */
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-glow: 0 0 40px rgba(255, 255, 255, 0.05);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: clip;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

::selection {
    background: rgba(255, 255, 255, 0.9);
    color: #050505;
}

.scroll-progress {
    position: fixed;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    z-index: 2000;
    background: linear-gradient(90deg, #71717a, #ffffff);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.cursor-aura {
    position: fixed;
    top: 0;
    left: 0;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 40%, transparent 72%);
    transform: translate3d(-50%, -50%, 0);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    mix-blend-mode: screen;
}

body.cursor-active .cursor-aura {
    opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #18181b;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

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

button, input, textarea, select {
    font-family: inherit;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
}

/* Utility Classes & Effects */
.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 30%, #a1a1aa 70%, #52525b 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 7s ease-in-out infinite;
}

.gradient-text-alt {
    background: linear-gradient(135deg, var(--text-primary) 0%, #d4d4d8 50%, #27272a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.glass-interactive {
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-interactive::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(260px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.09), transparent 58%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.glass-interactive:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.glass-interactive:hover::before {
    opacity: 1;
}

/* Logo utility */
.logo-img {
    height: 36px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.hero-logo-img {
    max-width: 320px;
    height: auto;
    animation: floatItem 6s infinite ease-in-out;
    opacity: 0.95;
}

/* Background Blobs (Sophisticated white glow clouds) */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.04;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -150px;
    left: -150px;
    animation-duration: 25s;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: #e4e4e7;
    bottom: -150px;
    right: -100px;
    animation-duration: 20s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #27272a;
    top: 40%;
    left: 60%;
    animation-duration: 30s;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 50% 50%, transparent 50%, var(--bg-dark) 100%),
        linear-gradient(rgba(255, 255, 255, 0.008) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
    background-size: 100% 100%, 80px 80px, 80px 80px;
    pointer-events: none;
}

/* Animations Keyframes */
@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.05); }
}

@keyframes floatItem {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(24px); filter: blur(8px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes orbitPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.96) rotate(0deg); opacity: 0.35; }
    50% { transform: translate(-50%, -50%) scale(1.04) rotate(180deg); opacity: 0.7; }
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
    scroll-margin-top: 100px;
}

section.reveal {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}

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

.section-subtitle {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    border-left: 2px solid var(--primary);
    padding-left: 10px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 38px;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm); /* Sharper */
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: -120%;
    left: -45%;
    width: 34%;
    height: 340%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: rotate(24deg);
    transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.btn:hover::after {
    left: 125%;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
    background: #f4f4f5;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-icon-only {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}
.btn-icon-only:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition-normal);
}

header.scrolled {
    padding: 16px 0;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.04em;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition-normal);
}
.nav-link:hover {
    color: var(--text-primary);
}
.nav-link:hover::after {
    width: 100%;
}

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

.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 60px;
}

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

body.is-ready .hero-content > * {
    animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.is-ready .hero-content > *:nth-child(2) { animation-delay: 0.08s; }
body.is-ready .hero-content > *:nth-child(3) { animation-delay: 0.16s; }
body.is-ready .hero-content > *:nth-child(4) { animation-delay: 0.24s; }
body.is-ready .hero-content > *:nth-child(5) { animation-delay: 0.32s; }

.hero-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 58px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    width: 100%;
}

.stat-item h3 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 13px;
    color: var(--text-secondary);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 420px;
    transition: transform 0.12s linear;
}

.hero-mockup-wrapper::before,
.hero-mockup-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
}

.hero-mockup-wrapper::before {
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: repeating-radial-gradient(circle, transparent 0 46px, rgba(255, 255, 255, 0.025) 47px 48px);
    animation: orbitPulse 16s linear infinite;
}

.hero-mockup-wrapper::after {
    width: 270px;
    height: 270px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 67%);
    filter: blur(12px);
}

.hero-logo-img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 24px 50px rgba(255, 255, 255, 0.12));
}

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

.service-card {
    padding: 36px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.service-title {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
    font-size: 14px;
}

.service-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.service-price span {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

/* Interactive Quote Builder Section */
.calculator-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.calculator-main {
    padding: 44px;
    border-right: 1px solid var(--border-color);
}

.calculator-sidebar {
    padding: 44px;
    background: rgba(255, 255, 255, 0.005);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Wizard Steps styling */
.calc-step {
    display: none;
    animation: fadeIn 0.35s ease;
}

.calc-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
}

.step-dot {
    flex-grow: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.step-dot.active {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.step-dot.completed {
    background: #71717a;
}

.step-title {
    font-size: 24px;
    margin-bottom: 8px;
}

.step-subtitle {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 14px;
}

/* Card selections in wizard */
.card-selector-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.selector-card {
    padding: 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.selector-card.selected {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.03);
}

.selector-card-icon {
    font-size: 22px;
    color: var(--text-secondary);
}
.selector-card.selected .selector-card-icon {
    color: var(--primary);
}

.selector-card-title {
    font-size: 16px;
    font-weight: 600;
}

.selector-card-desc {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Page Slider Step */
.slider-container {
    padding: 20px 0;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    margin-bottom: 24px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
}

.slider-val-display {
    text-align: center;
    font-size: 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 12px;
}

/* Checklist Step */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.checkbox-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.checkbox-card.selected {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.02);
}

.checkbox-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.checkbox-card.selected .checkbox-custom {
    border-color: var(--primary);
    background: var(--primary);
}

.checkbox-custom i {
    font-size: 10px;
    color: black;
    display: none;
}

.checkbox-card.selected .checkbox-custom i {
    display: block;
}

.checkbox-info {
    display: flex;
    flex-direction: column;
}
.checkbox-title {
    font-weight: 600;
    font-size: 14px;
}
.checkbox-desc {
    color: var(--text-secondary);
    font-size: 12px;
}

.checkbox-price {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 13px;
}

/* User Form Step */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    width: 100%;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.02);
}

.form-group textarea {
    height: 90px;
    resize: none;
}

/* Calculator Navigation buttons */
.calc-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 36px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* Sidebar Real-time Summary */
.sidebar-title {
    font-size: 18px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.summary-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.summary-item .label {
    color: var(--text-secondary);
}

.summary-item .val {
    font-weight: 600;
    max-width: 160px;
    text-align: right;
}

.summary-addons-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 10px;
    border-left: 1px solid var(--primary);
    margin-top: 4px;
}

.summary-addon-tag {
    font-size: 11px;
    color: var(--text-secondary);
}

.sidebar-total {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
}

.total-lbl {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.total-price-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-currency {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-secondary);
}

.total-price-val {
    font-size: 42px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
}

.portfolio-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
    z-index: 1;
}

.portfolio-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(3, 3, 3, 0.98) 0%, rgba(3, 3, 3, 0.5) 50%, transparent 100%);
    z-index: 2;
}

.portfolio-info {
    position: relative;
    z-index: 3;
    padding: 28px;
    transform: translateY(12px);
    transition: var(--transition-normal);
}

.portfolio-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.portfolio-card-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.portfolio-card-desc {
    color: var(--text-secondary);
    font-size: 13px;
    opacity: 0;
    transition: var(--transition-normal);
    height: 0;
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.portfolio-card:hover .portfolio-img-overlay {
    transform: scale(1.05);
}

.portfolio-card:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-card:hover .portfolio-card-desc {
    opacity: 1;
    height: auto;
    margin-top: 6px;
}

/* Technology Stack Visualizer */
.tech-orbit-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tech-item {
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.tech-icon {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.tech-item:hover .tech-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.tech-name {
    font-size: 13px;
    font-weight: 600;
}

/* Left Tech Info Display Box */
.tech-details {
    padding: 36px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tech-details-title {
    font-size: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-details-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.tech-meter {
    background: rgba(255, 255, 255, 0.05);
    height: 4px;
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    margin-top: 8px;
}

.tech-meter-bar {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    height: 100%;
    width: 0;
    transition: width 1s ease-out;
}

/* Testimonial Slider */
.testimonials-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

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

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
}

.quote-icon {
    font-size: 40px;
    color: var(--text-secondary);
    opacity: 0.15;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    background-size: cover;
    background-position: center;
}

.author-name {
    font-weight: 700;
    font-size: 15px;
}

.author-company {
    font-size: 12px;
    color: var(--text-secondary);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

/* Conversational Contact Assistant */
.assistant-card {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.075), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.assistant-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
    pointer-events: none;
}

.assistant-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.64);
    backdrop-filter: blur(18px);
}

.assistant-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.assistant-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.assistant-avatar img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.assistant-status-dot {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f4f4f5;
    border: 3px solid #090909;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
}

.assistant-identity h3 {
    font-size: 15px;
    margin-bottom: 3px;
}

.assistant-status {
    color: var(--text-secondary);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.assistant-status > span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d4d4d8;
    animation: statusPulse 2s ease-in-out infinite;
}

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

.assistant-header-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: var(--text-secondary);
    padding: 8px 11px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.025);
}

.assistant-header-badge svg {
    width: 14px;
    height: 14px;
}

.assistant-conversation {
    min-height: 390px;
    max-height: 520px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 34px 32px 24px;
    position: relative;
    z-index: 1;
    scroll-behavior: smooth;
}

.message-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: messageArrival 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.message-row.user-message {
    flex-direction: row-reverse;
}

@keyframes messageArrival {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.message-avatar {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-color);
}

.message-avatar svg {
    width: 15px;
    height: 15px;
}

.message-content {
    max-width: min(620px, 82%);
}

.user-message .message-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.message-author {
    display: block;
    margin: 0 0 6px 4px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.message-bubble {
    padding: 14px 17px;
    border-radius: 6px 18px 18px 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.075);
    color: #d4d4d8;
    font-size: 14px;
    line-height: 1.65;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.message-bubble strong {
    color: var(--text-primary);
}

.user-message .message-bubble {
    border-radius: 18px 6px 18px 18px;
    background: #f4f4f5;
    color: #09090b;
    border-color: #f4f4f5;
}

.assistant-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-left: 44px;
    animation: messageArrival 0.55s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.assistant-quick-actions.is-hidden {
    display: none;
}

.assistant-quick-actions button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.assistant-quick-actions button:hover {
    transform: translateY(-2px);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.07);
}

.assistant-quick-actions button.quick-action-primary {
    color: #080808;
    background: #f4f4f5;
    border-color: #f4f4f5;
}

.assistant-quick-actions svg {
    width: 13px;
    height: 13px;
}

.typing-indicator .message-bubble {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 45px;
}

.typing-indicator i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: typingDot 1.1s infinite ease-in-out;
}

.typing-indicator i:nth-child(2) { animation-delay: 0.14s; }
.typing-indicator i:nth-child(3) { animation-delay: 0.28s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.assistant-composer {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 18px 20px 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.76);
    backdrop-filter: blur(20px);
}

.assistant-input-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 15px;
    min-height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.assistant-input-wrap:focus-within {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.025);
}

.assistant-input-wrap svg {
    width: 17px;
    height: 17px;
    color: var(--text-muted);
}

.assistant-input-wrap input {
    width: 100%;
    font-size: 13px;
}

.assistant-input-wrap input::placeholder {
    color: #52525b;
}

.assistant-send {
    min-width: 122px;
    padding: 0 18px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f4f4f5;
    color: #09090b;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-normal);
}

.assistant-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.16);
}

.assistant-send svg {
    width: 15px;
    height: 15px;
}

.assistant-success-screen {
    display: none;
    min-height: 500px;
    padding: 58px 24px;
    position: relative;
    z-index: 2;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.08), transparent 45%);
    animation: messageArrival 0.55s ease both;
}

.assistant-success-screen.active {
    display: flex;
}

.assistant-success-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 22px;
    color: #050505;
    background: #f4f4f5;
    box-shadow: 0 0 45px rgba(255, 255, 255, 0.2);
}

.assistant-success-icon svg {
    width: 30px;
    height: 30px;
}

.assistant-success-screen h3 {
    max-width: 540px;
    font-size: 30px;
    margin: 6px auto 14px;
}

.assistant-success-screen p {
    max-width: 520px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 28px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #080808;
    background: #f4f4f5;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.9);
    transition: var(--transition-normal);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.03);
}

.back-to-top svg {
    width: 17px;
    height: 17px;
}

/* Footer styling */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    background: rgba(2, 2, 2, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-desc {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 320px;
    font-size: 14px;
}

.footer-column h4 {
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 13px;
}
.footer-links a:hover {
    color: var(--primary);
}

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

/* Success Modal for simulated Quote Submission */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

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

.modal-content {
    max-width: 600px;
    width: 90%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: var(--transition-normal);
}

.modal.active .modal-content {
    transform: scale(1);
}

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

.modal-close {
    cursor: pointer;
    font-size: 20px;
    color: var(--text-secondary);
}
.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Invoice details inside modal */
.invoice-box {
    padding: 20px;
    background: rgba(255, 255, 255, 0.005);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-top: 16px;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.invoice-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.invoice-tbl {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.invoice-tbl th, .invoice-tbl td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.invoice-tbl th {
    color: var(--text-secondary);
    font-size: 11px;
    text-transform: uppercase;
}

.invoice-tbl td {
    font-size: 13px;
}

.invoice-tbl tr.total-row td {
    border-top: 1px solid var(--primary);
    border-bottom: none;
    font-weight: 700;
    font-size: 16px;
    padding-top: 16px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 40px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-desc {
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-box {
        grid-template-columns: 1fr;
    }
    
    .calculator-main {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-orbit-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 40px !important; }
    h2 { font-size: 28px !important; }
    
    section { padding: 60px 0; }

    .hero-stats {
        gap: 12px;
        justify-content: space-between;
    }

    .stat-item {
        flex: 1;
        min-width: 0;
    }

    .stat-item h3 {
        font-size: 22px;
        white-space: nowrap;
    }

    .stat-item p {
        font-size: 10px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .card-selector-grid {
        grid-template-columns: 1fr;
    }

    .calculator-main,
    .calculator-sidebar {
        min-width: 0;
        padding: 28px 22px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .assistant-header {
        align-items: flex-start;
    }

    .assistant-header-badge {
        display: none;
    }

    .assistant-conversation {
        min-height: 420px;
        padding: 28px 18px 22px;
    }

    .assistant-quick-actions {
        padding-left: 0;
    }

    .assistant-composer {
        grid-template-columns: 1fr 52px;
        padding: 14px;
    }

    .assistant-send {
        min-width: 52px;
        padding: 0;
    }

    .assistant-send span {
        display: none;
    }

    .message-content {
        max-width: 86%;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }
}

/* Scroll Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(42px) scale(0.985);
    filter: blur(7px);
    transition:
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

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

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
    .cursor-aura {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .reveal-item {
        opacity: 1;
        transform: none;
        filter: none;
    }
}
