/* Style Guide and Core CSS variables */
:root {
    --bg-dark: #06070a;
    --bg-card: rgba(13, 16, 24, 0.7);
    --bg-card-hover: rgba(22, 28, 41, 0.85);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(0, 240, 255, 0.25);
    
    /* Neon gradients and accents */
    --neon-blue: #00f0ff;
    --neon-blue-rgb: 0, 240, 255;
    --neon-purple: #8a2be2;
    --neon-purple-rgb: 138, 43, 226;
    --neon-mint: #00ff87;
    
    /* Typography colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Particle Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0c0f17 0%, #06070a 100%);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Utilities */
.section-padding {
    padding: 8rem 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav Menu Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(6, 7, 10, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    height: 70px;
    background: rgba(6, 7, 10, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-polygon-bg {
    fill: rgba(0, 240, 255, 0.06);
    stroke: var(--neon-blue);
    stroke-width: 3;
}

.logo-polygon-fg {
    fill: none;
    stroke: var(--neon-purple);
    stroke-width: 3;
}

.logo-line {
    stroke: var(--neon-blue);
    stroke-width: 2.5;
    stroke-dasharray: 4;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transition: var(--transition-smooth);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Button UI system */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.45);
}

.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(--text-secondary);
    transform: translateY(-2px);
}

.btn-nav-cta {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
}

.btn-nav-cta:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
    background: rgba(13, 16, 24, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-small:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-full {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: pulse-glow 8s infinite alternate;
}

.hero-glow-2 {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.12) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: pulse-glow 10s infinite alternate-reverse;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-mint);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-mint);
    animation: pulse-ring 2s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 680px;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    z-index: 1;
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 1.5rem;
    z-index: 10;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    color: var(--neon-blue);
}

/* Sections Base Styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--neon-blue);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.section-description {
    color: var(--text-secondary);
    font-weight: 300;
}

/* Glassmorphism card styles & dynamic effects */
.service-card, .portfolio-item, .tech-card, .contact-card-form, .receipt-card, .market-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
}

/* Glow Border & Background Effect on Cards */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100px 100px, rgba(var(--neon-blue-rgb), 0.1) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

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

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--neon-blue-rgb), 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(var(--neon-blue-rgb), 0.05);
}

/* Markets Served Section Grid */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.market-card {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
}

.market-card:hover {
    border-color: rgba(var(--neon-blue-rgb), 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.market-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    transition: var(--transition-smooth);
}

.market-card:hover .market-icon {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.market-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
}

.market-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    font-size: 1.8rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.service-summary {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.service-features li svg {
    width: 16px;
    height: 16px;
    color: var(--neon-blue);
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(0, 240, 255, 0.08);
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    cursor: pointer;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    border-color: rgba(var(--neon-purple-rgb), 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.portfolio-image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background: #090a0f;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    opacity: 0.85;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.04);
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 7, 10, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex-grow: 1;
}

.portfolio-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-info h3 {
    font-size: 1.3rem;
}

.portfolio-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
    flex-grow: 1;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
    margin-top: 0.5rem;
}

.portfolio-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.portfolio-meta svg {
    width: 14px;
    height: 14px;
}

/* Estimator Section */
.estimator-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
    z-index: 10;
    position: relative;
}

.estimator-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.2rem;
}

.panel-title svg {
    color: var(--neon-blue);
    width: 22px;
    height: 22px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.input-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Custom User Entry Rate Input field */
.rate-input-container {
    position: relative;
    width: 180px;
    display: flex;
    align-items: center;
}

.rate-currency-prefix {
    position: absolute;
    left: 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--neon-blue);
    font-size: 1.1rem;
    pointer-events: none;
}

.rate-number-input {
    padding-left: 2.2rem !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--neon-blue);
    background: rgba(6, 7, 10, 0.6);
}

/* Hide spin-buttons in chrome/safari */
.rate-number-input::-webkit-outer-spin-button,
.rate-number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Discipline grid */
.discipline-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.discipline-btn {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
}

.discipline-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.discipline-btn span {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
}

.rate-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.discipline-btn:hover {
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
}

.discipline-btn.active {
    border-color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.04);
    color: var(--text-primary);
}

.discipline-btn.active svg {
    color: var(--neon-blue);
}

.discipline-btn.active .rate-tag {
    color: var(--neon-blue);
}

/* Custom Styled Select */
.form-select {
    background: rgba(13, 16, 24, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
}

.form-select:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

/* Checkbox Grid UI */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    position: relative;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: var(--transition-smooth);
}

.checkbox-container:hover {
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

.checkbox-container input:checked ~ .checkbox-custom {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.checkbox-container input:checked ~ .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 4px;
    height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container.active-card {
    border-color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.02);
}

.checkbox-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.checkbox-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

.checkbox-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Range Slider Styling */
.timeline-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-value {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    margin: 1.5rem 0 0.5rem 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Outputs Panel styling */
.outputs-panel {
    background: linear-gradient(185deg, rgba(16, 20, 31, 0.9) 0%, rgba(9, 11, 17, 0.9) 100%);
    border: 1px solid var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.04);
}

.outputs-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.cost-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 0;
    background: rgba(0, 240, 255, 0.02);
    border: 1px dashed rgba(0, 240, 255, 0.15);
    border-radius: 10px;
}

.cost-digit-wrapper {
    display: flex;
    align-items: flex-start;
}

.cost-digit-wrapper .currency {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-top: 0.3rem;
    margin-right: 0.2rem;
}

.cost-number {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -1px;
    text-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
}

.cost-disclaimer {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.8rem;
}

.breakdown-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.8rem;
}

.breakdown-row.highlight {
    border-bottom: none;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 6px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.breakdown-row.highlight .breakdown-val {
    color: var(--neon-mint);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.breakdown-val {
    color: var(--text-primary);
    font-weight: 600;
}

/* Technology Stack Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.tech-card {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
    cursor: pointer;
}

.tech-card:hover {
    border-color: rgba(var(--neon-blue-rgb), 0.35);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transform: translateY(-3px);
}

.tech-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-icon-wrapper {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.tech-card h4 {
    font-size: 1.2rem;
}

.tech-use {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.5;
    flex-grow: 1;
}

.tech-category-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.tag-mech { background: rgba(0, 240, 255, 0.1); color: var(--neon-blue); }
.tag-civil { background: rgba(138, 43, 226, 0.15); color: #c084fc; }
.tag-elec { background: rgba(0, 255, 135, 0.1); color: var(--neon-mint); }
.tag-robo { background: rgba(255, 107, 107, 0.1); color: #ff6b6b; }

/* Contact Section Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    z-index: 10;
    position: relative;
    align-items: stretch;
}

.contact-card-form {
    padding: 3.5rem 3rem;
}

.contact-form-title {
    font-size: 1.6rem;
    margin-bottom: 2.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

/* Floating Label Form elements */
.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-input, .form-input-area, .form-input-select {
    width: 100%;
    background: rgba(6, 7, 10, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-smooth);
}

.form-input-area {
    min-height: 120px;
    resize: vertical;
}

.form-input-select {
    padding: 1rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    -webkit-appearance: none;
}

/* Float logic */
.floating-group {
    position: relative;
}

.floating-label {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    transition: 0.25s ease all;
    background-color: transparent;
    padding: 0 0.2rem;
}

.form-input-area ~ .floating-label {
    top: 1.5rem;
    transform: none;
}

.form-input:focus ~ .floating-label,
.form-input:not(:placeholder-shown) ~ .floating-label,
.form-input-area:focus ~ .floating-label,
.form-input-area:not(:placeholder-shown) ~ .floating-label {
    top: -8px;
    left: 0.8rem;
    transform: scale(0.8);
    background: #090b11;
    color: var(--neon-blue);
}

.form-input:focus, .form-input-area:focus, .form-input-select:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
    background: rgba(6, 7, 10, 0.8);
}

.static-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Validation Feedback */
.validation-message {
    font-size: 0.75rem;
    color: #ff6b6b;
    position: absolute;
    bottom: -1.4rem;
    left: 0.2rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.form-group.error .form-input, .form-group.error .form-input-area {
    border-color: #ff6b6b;
}

.form-group.error .validation-message {
    opacity: 1;
}

/* Contact Info panel side & Live proposal receipt */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-details {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-details h3 {
    font-size: 1.4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.info-item svg {
    color: var(--neon-blue);
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
}

.info-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Simulated dynamic receipt styling */
.receipt-card {
    border: 1px solid var(--neon-mint);
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 135, 0.05);
    background: linear-gradient(180deg, rgba(8, 20, 16, 0.9) 0%, rgba(5, 7, 10, 0.95) 100%);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    animation: fade-in-up 0.5s ease forwards;
}

.receipt-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 255, 135, 0.15) 0%, transparent 70%);
    filter: blur(15px);
    pointer-events: none;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: var(--neon-mint);
}

.success-icon {
    width: 22px;
    height: 22px;
    color: var(--neon-mint);
}

.receipt-id {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
}

.receipt-body h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.receipt-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.receipt-divider {
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    margin: 1.2rem 0;
}

.receipt-meta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.receipt-row span {
    color: var(--text-secondary);
}

.receipt-row strong {
    color: var(--text-primary);
}

.receipt-note {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
}

/* Footer Section */
.footer {
    background: #040508;
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
}

.brand-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

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

.footer-column h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.footer-column a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--neon-blue);
}

.footer-column p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 2rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}

.footer-legal a {
    transition: var(--transition-smooth);
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

/* Modal Popup Window Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 8, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-container {
    background: var(--bg-dark);
    border: 1px solid var(--border-hover);
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    z-index: 10;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.05);
}

.modal.active .modal-container {
    transform: translateY(0);
}

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

.modal-close:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
    transform: rotate(90deg);
}

/* Modal Content Layout */
.modal-body {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal-header-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
}

.modal-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neon-blue);
    text-transform: uppercase;
}

.modal-grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
}

.modal-media-wrapper {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: #090a0f;
    aspect-ratio: 16/11;
}

.modal-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-spec-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.modal-spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.6rem;
}

.modal-spec-row span {
    color: var(--text-secondary);
}

.modal-spec-row strong {
    color: var(--text-primary);
}

.modal-text-block {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.modal-text-block h4 {
    font-size: 1.1rem;
    border-left: 2px solid var(--neon-purple);
    padding-left: 0.8rem;
}

.modal-text-block p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-canvas-box {
    margin-top: 1rem;
    background: rgba(6, 7, 10, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.modal-canvas-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon-mint);
    align-self: flex-start;
}

#modal-chart-canvas {
    width: 100%;
    height: 150px;
    background: transparent;
}

/* Animations */
@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 135, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 135, 0); }
}

@keyframes bounce-anim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

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

.bounce-anim {
    animation: bounce-anim 2s infinite;
}

/* Custom Scrollbar for Modal and Page */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .estimator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
    
    .nav-menu {
        display: none; /* Mobile menu toggled by JS classes */
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .discipline-selector {
        grid-template-columns: 1fr;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .modal-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Active mobile nav menu overlay */
    .header.nav-active .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #090b11;
        padding: 3rem;
        gap: 2rem;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }
}
