/* 1. Reset and Variables */
:root {
    --bg-dark: #050505;
    --bg-dark-secondary: #0d0d0f;
    --text-light: #ffffff;
    --text-muted: #a1a1aa;
    
    --primary: #ffd000;
    --primary-rgb: 255, 208, 0;
    --secondary: #ffaa00;
    --secondary-rgb: 255, 170, 0;
    --accent: #fff5cc;
    --accent-rgb: 255, 245, 204;

    --gradient-primary: linear-gradient(135deg, #ffd000, #ffaa00);
    --gradient-dark: linear-gradient(180deg, var(--bg-dark), var(--bg-dark-secondary));
    
    --glass-bg: rgba(13, 13, 15, 0.75);
    --glass-border: rgba(255, 208, 0, 0.08);
    --glass-border-hover: rgba(255, 208, 0, 0.3);
    --glass-glow: rgba(255, 208, 0, 0.06);

    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-title: 'Sora', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 208, 0, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 208, 0, 0.5);
}

/* Scroll Progress Bar */
#scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1000;
    background: rgba(255,255,255,0.03);
}
#scroll-progress-bar {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px rgba(255, 208, 0, 0.8);
}

/* Selection */
::selection {
    background: rgba(255, 208, 0, 0.25);
    color: #000;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Content Container Wrapper */
main {
    position: relative;
    z-index: 2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.section-dark {
    background-color: rgba(13, 13, 15, 0.4);
    backdrop-filter: blur(10px);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
}

.text-glow {
    text-shadow: 0 0 40px rgba(255, 208, 0, 0.25);
}

/* Glassmorphism Panel styles */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--glass-glow);
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: 0 8px 25px rgba(255, 208, 0, 0.2), inset 0 2px 2px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 208, 0, 0.45), inset 0 2px 2px rgba(255, 255, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 208, 0, 0.2);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    transform: scale(0.5);
    opacity: 0;
    transition: var(--transition);
}
.btn-glow:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================
   2. Header & Navigation
   ========================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 900;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

#main-header.scrolled {
    height: 70px;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.045em;
    text-transform: lowercase;
    color: var(--text-light);
}
.yellow-text {
    color: #ffd000;
}

.logo-glow {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-primary);
    filter: blur(15px);
    opacity: 0;
    transition: var(--transition);
    left: -10px;
}
.logo-link:hover .logo-glow {
    opacity: 0.6;
}

/* Menu links */
#nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

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

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

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background: var(--text-light);
    border-radius: 4px;
    transition: var(--transition);
}

/* Mobile overlay open state */
#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 850;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#mobile-menu-overlay.active {
    left: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.mobile-link:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.mobile-cta {
    margin-top: 20px;
    padding: 16px 40px;
}


/* ==========================================
   3. Hero Section
   ========================================== */
#hero {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    z-index: 5;
    position: relative;
}

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

.badge-container {
    margin-bottom: 24px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: inline-block;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-canvas-container {
    width: 100%;
    height: 500px;
    position: relative;
}

#interactive-3d-model {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    position: relative;
    cursor: grab;
    overflow: hidden;
}

#interactive-3d-model:active {
    cursor: grabbing;
}

.canvas-instructions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 18, 21, 0.6);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.scroll-arrow {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--text-muted);
    border-right: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-8px) rotate(45deg);
    }
    60% {
        transform: translateY(-4px) rotate(45deg);
    }
}


/* ==========================================
   4. Section Header styling
   ========================================== */
.section-header {
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

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

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}


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

.service-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--text-light);
    transition: var(--transition);
}

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

.service-card:hover .service-icon-wrapper {
    background: var(--gradient-primary);
    color: #000;
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.service-card-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    width: 100%;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.75rem;
}


/* ==========================================
   6. 3D Interactive Sandbox Section
   ========================================== */
.sandbox-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.sandbox-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

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

.stat-num {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sandbox-controls {
    padding: 30px;
}

.sandbox-controls h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.sandbox-controls p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.control-row {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.control-row label {
    font-size: 0.85rem;
    font-weight: 600;
}

.control-row input[type="range"] {
    -webkit-appearance: none;
    width: 60%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.1);
    outline: none;
}

.control-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.control-row input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.control-row select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    cursor: none !important;
    font-family: var(--font-sans);
    transition: var(--transition-fast);
    max-width: 60%;
}

.control-row select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
}

.control-row select option {
    background-color: var(--bg-dark-secondary);
    color: #fff;
}

.control-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    height: 22px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
}

.control-row input[type="checkbox"]:checked {
    background: var(--primary);
}

.control-row input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: var(--transition-fast);
}

.control-row input[type="checkbox"]:checked::after {
    left: 25px;
}

.sandbox-canvas-wrapper {
    height: 520px;
    width: 100%;
}

#sandbox-3d-scene {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: grab;
}

#sandbox-3d-scene:active {
    cursor: grabbing;
}


/* ==========================================
   7. Process Section (Timeline)
   ========================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 2px;
    background: rgba(255,255,255,0.06);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-dot {
    position: absolute;
    left: 21px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 4px solid var(--primary);
    box-shadow: 0 0 10px rgba(255, 208, 0, 0.8);
    z-index: 5;
}

.timeline-item:nth-child(even) .timeline-dot {
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.8);
}

.timeline-content {
    padding: 30px 40px;
}

.timeline-step {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.15;
    position: absolute;
    right: 40px;
    top: 25px;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


/* ==========================================
   8. Dynamic Value Calculator
   ========================================== */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calc-currency-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

#currency-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    font-family: var(--font-sans);
    cursor: none !important;
    transition: var(--transition-fast);
}

#currency-select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
}

#currency-select option {
    background-color: var(--bg-dark-secondary);
    color: #fff;
}

.calc-options {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

/* Category Toggle Cards styling */
.category-toggle-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.category-toggle-card:hover {
    border-color: rgba(255, 208, 0, 0.4) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-toggle-card.active {
    border-color: var(--primary) !important;
    background: rgba(255, 208, 0, 0.05) !important;
    box-shadow: 0 0 15px rgba(255, 208, 0, 0.15);
}

.category-toggle-card input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.category-toggle-card input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: transparent;
}

.category-toggle-card input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sub-options-group {
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    opacity: 0;
}

.sub-options-group.show {
    opacity: 1;
    transform: translateY(0);
}


.calc-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
}

.calc-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    margin-top: 4px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.calc-option input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: transparent;
}

.calc-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #fff;
    font-size: 0.75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.calc-option label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.calc-option label strong {
    font-size: 0.95rem;
    color: var(--text-light);
}

.calc-option label span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.calc-result-panel {
    padding: 40px;
}

.calc-result-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
    margin-top: 24px;
}

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

.metric-name {
    font-size: 0.95rem;
    font-weight: 600;
}

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

.metric-value {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.metric-progress-outer {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
}

.metric-progress-inner {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-cta-box {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 30px;
    text-align: center;
}

.calc-cta-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}


/* ==========================================
   9. Contact Form
   ========================================== */
.contact-container {
    max-width: 1000px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    margin-top: 60px;
}

.contact-info-panel {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-info-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 12px;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.4rem;
    color: var(--primary);
    background: rgba(255, 208, 0, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-form-panel {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Gated Contact Form Overlay */
.contact-form-gate {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
    padding: 30px;
}

.contact-form-gate.active {
    opacity: 1;
    pointer-events: auto;
}

.contact-form-gate .gate-content {
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.contact-form-gate h3 {
    font-size: 1.5rem;
    font-family: var(--font-title);
    color: #fff;
    margin-bottom: 4px;
}

.contact-form-gate p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

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

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

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    font-family: var(--font-sans);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 14px 18px;
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 10px rgba(255, 208, 0, 0.2);
}

.form-group select option {
    background-color: var(--bg-dark-secondary);
    color: #fff;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ff3333;
}

.error-msg {
    font-size: 0.75rem;
    color: #ff3333;
    display: none;
    margin-top: 4px;
}

.form-group.error .error-msg {
    display: block;
}

/* Form success overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark-secondary);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform: scale(0.9);
}

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

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.success-icon {
    font-size: 3rem;
    animation: successFly 1.5s infinite alternate ease-in-out;
}

@keyframes successFly {
    0% { transform: translateY(0) rotate(0); }
    100% { transform: translateY(-10px) rotate(5deg); }
}


/* ==========================================
   10. Footer Section
   ========================================== */
#main-footer {
    background-color: #050505;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 80px 0 30px 0;
    position: relative;
    z-index: 5;
}

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

.footer-brand .logo-text {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-group h4, 
.footer-newsletter h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 8px;
}

.footer-links-group a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    font-family: var(--font-sans);
    flex-grow: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 12px 16px;
    border-radius: 30px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form .btn {
    padding: 12px 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}


/* ==========================================
   11. Responsive Media Queries
   ========================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-grid, .sandbox-grid, .calc-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .hero-canvas-container {
        height: 400px;
    }
    .sandbox-canvas-wrapper {
        height: 450px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    #nav-menu, .nav-cta-btn {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        padding-left: 50px;
    }
    .timeline-dot {
        left: 11px;
    }
    .timeline-step {
        position: relative;
        right: auto;
        top: auto;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .service-card {
        padding: 30px 20px;
    }
    .sandbox-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* ==========================================
   12. Custom Cursor System
   ========================================== */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    pointer-events: none;
    display: none;
}

@media (pointer: fine) {
    *, *::before, *::after {
        cursor: none !important;
    }
    input:not([type]),
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    textarea,
    select,
    option {
        cursor: auto !important;
    }
    #custom-cursor {
        display: block;
    }
}

/* Hide custom cursor when hovering native text/input/select elements */
body:has(input:not([type]):hover, input[type="text"]:hover, input[type="email"]:hover, input[type="tel"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="url"]:hover, textarea:hover, select:hover) #custom-cursor {
    opacity: 0 !important;
}


.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    z-index: 10000;
}

.cursor-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
    z-index: 9999;
}

/* Hovering active state */
#custom-cursor.hovering .cursor-ring {
    width: 48px;
    height: 48px;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Grabbing active state */
#custom-cursor.grabbing .cursor-ring {
    width: 20px;
    height: 20px;
    border-color: var(--primary) !important;
    background: rgba(255, 208, 0, 0.25) !important;
}

#custom-cursor.grabbing .cursor-dot {
    transform: translate3d(-50%, -50%, 0) scale(0.6);
    background: var(--primary) !important;
}


#custom-cursor.hovering .cursor-dot {
    background: var(--bg-dark);
    transform: translate3d(-50%, -50%, 0) scale(1.5);
}

/* Style 1: Modern Ring */
#custom-cursor.cursor-style-ring.clicked .cursor-ring {
    animation: ringClickAnim 0.3s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}
@keyframes ringClickAnim {
    0% { width: 32px; height: 32px; opacity: 1; border-color: rgba(255,255,255,0.8); }
    100% { width: 56px; height: 56px; opacity: 0; border-color: var(--bg-dark); }
}

/* Style 2: Glowing Dot */
#custom-cursor.cursor-style-spark .cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(255, 208, 0, 0.4);
}
#custom-cursor.cursor-style-spark .cursor-ring {
    display: none;
}
.click-ripple {
    position: fixed;
    border: 2px solid #fff;
    border-radius: 50%;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0);
    animation: rippleAnim 0.4s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    z-index: 9998;
}
@keyframes rippleAnim {
    0% { width: 0; height: 0; opacity: 1; border-color: #ffffff; }
    100% { width: 55px; height: 55px; opacity: 0; border-color: var(--bg-dark); }
}

/* Style 3: Crosshair */
#custom-cursor.cursor-style-crosshair .cursor-dot {
    width: 4px;
    height: 4px;
}
#custom-cursor.cursor-style-crosshair .cursor-ring {
    width: 20px;
    height: 20px;
    border-radius: 0;
    border: none;
    background: transparent;
}
#custom-cursor.cursor-style-crosshair .cursor-ring::before,
#custom-cursor.cursor-style-crosshair .cursor-ring::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}
#custom-cursor.cursor-style-crosshair .cursor-ring::before {
    top: 0; left: 9px; width: 2px; height: 20px;
}
#custom-cursor.cursor-style-crosshair .cursor-ring::after {
    top: 9px; left: 0; width: 20px; height: 2px;
}
#custom-cursor.cursor-style-crosshair.clicked .cursor-ring::before {
    transform: scaleY(0.4) rotate(45deg);
    background: var(--bg-dark);
}
#custom-cursor.cursor-style-crosshair.clicked .cursor-ring::after {
    transform: scaleX(0.4) rotate(45deg);
    background: var(--bg-dark);
}

/* Style 4: Glass Bubble */
#custom-cursor.cursor-style-bubble .cursor-dot {
    width: 4px;
    height: 4px;
}
#custom-cursor.cursor-style-bubble .cursor-ring {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
#custom-cursor.cursor-style-bubble.clicked .cursor-ring {
    animation: bubbleClickAnim 0.3s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}
@keyframes bubbleClickAnim {
    0% { width: 42px; height: 42px; background: rgba(255, 255, 255, 0.05); }
    100% { width: 62px; height: 62px; background: rgba(5, 5, 5, 0.25); border-color: rgba(5, 5, 5, 0.4); }
}

/* Style 5: Cyber Arrow */
#custom-cursor.cursor-style-triangle .cursor-dot {
    display: none;
}
#custom-cursor.cursor-style-triangle .cursor-ring {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 16px solid #fff;
    border-radius: 0;
    background: transparent;
    border-top: none;
    transform: translate3d(-50%, -50%, 0) rotate(-30deg);
    transition: transform 0.1s ease-out;
}
#custom-cursor.cursor-style-triangle.clicked .cursor-ring {
    transform: translate3d(-50%, -50%, 0) rotate(330deg) scale(0.6);
    border-bottom-color: var(--bg-dark);
}

/* Picker Widget floating style */
#cursor-picker-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9990;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    pointer-events: auto;
}

#cursor-picker-widget label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

#cursor-style-select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 12px;
    border-radius: 6px;
    color: #fff;
    font-size: 0.78rem;
    outline: none;
    cursor: none !important;
}

#cursor-style-select:focus {
    border-color: var(--secondary);
}

#cursor-style-select option {
    background: var(--bg-dark-secondary);
    color: #fff;
}

/* ==========================================
   13. FAQ & Blogs Sections
   ========================================== */
/* FAQ Accordion Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}
.faq-item[open] {
    border-color: var(--glass-border-hover);
    background: rgba(255, 255, 255, 0.02);
}
.faq-item summary {
    padding: 24px 30px;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition-fast);
}
.faq-item[open] summary::after { content: '−'; color: var(--secondary); }
.faq-content {
    padding: 0 30px 24px 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
/* Blogs Grid Layout */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.blog-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}
.blog-meta {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.blog-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #fff;
}
.blog-intro {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}
.blog-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}
.blog-card:hover .blog-read-more {
    color: var(--primary);
    transform: translateX(4px);
}

/* ==========================================
   14. Detailed Services Page Styles
   ========================================== */
.services-page-main {
    position: relative;
    z-index: 2;
}

.services-hero-section {
    padding: 160px 0 80px 0;
    position: relative;
    z-index: 5;
}

.services-main-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.services-main-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.services-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.services-details-section {
    padding: 60px 0 100px 0;
    position: relative;
    z-index: 5;
}

.services-details-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-detail-node {
    padding: 50px;
    transition: var(--transition);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    align-items: center;
}

.service-detail-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.detail-number {
    font-family: var(--font-title);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 12px;
}

.detail-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: #fff;
}

.detail-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.detail-checklist {
    list-style: none;
    width: 100%;
}

.detail-checklist li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-left: 24px;
    color: var(--text-light);
}

.detail-checklist li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.85rem;
}

.service-detail-specs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.specs-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 208, 0, 0.04);
    padding: 24px;
    border-radius: 12px;
    transition: var(--transition);
}

.service-detail-node:hover .specs-box {
    border-color: var(--glass-border-hover);
    background: rgba(255, 255, 255, 0.04);
}

.specs-box h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 10px;
}

.specs-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.services-back-cta-section {
    background: rgba(13, 13, 15, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.02);
    text-align: center;
}

.services-back-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.services-back-cta-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Services Responsive Media Queries */
@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .services-hero-section {
        padding: 130px 0 60px 0;
    }
    .services-main-title {
        font-size: 2.8rem;
    }
    .service-detail-node {
        padding: 35px 24px;
    }
    .detail-title {
        font-size: 1.8rem;
    }
    .services-back-cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-main-title {
        font-size: 2.2rem;
    }
    .services-hero-actions, .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .services-hero-actions .btn, .cta-actions .btn {
        width: 100%;
    }
    .detail-checklist li {
        font-size: 0.88rem;
    }
}

.service-learn-more {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-learn-more:hover {
    color: #fff;
    transform: translateX(4px);
}

/* ==========================================
   15. Authentication & Client Dashboard Pages
   ========================================== */
.login-page-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px 20px;
    position: relative;
    z-index: 5;
}

.login-container {
    width: 100%;
    max-width: 460px;
}

.auth-card {
    padding: 40px;
    border-radius: 20px;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
}

.auth-tab {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 12px;
    color: var(--text-muted);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    cursor: none !important;
    position: relative;
    transition: var(--transition-fast);
}

.auth-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.auth-tab.active {
    color: #fff;
}

.auth-tab.active::after {
    transform: scaleX(1);
}

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

.auth-form.active {
    display: flex;
}

.auth-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 20px;
    display: none;
}

.auth-alert.active {
    display: block;
}

.auth-alert.error {
    background: rgba(255, 51, 51, 0.08);
    border: 1px solid rgba(255, 51, 51, 0.2);
    color: #ff5555;
}

.auth-alert.success {
    background: rgba(255, 208, 0, 0.08);
    border: 1px solid rgba(255, 208, 0, 0.2);
    color: var(--primary);
}

/* Dashboard Specific Styles */
.nav-separator {
    font-size: 0.85rem;
    user-select: none;
}

@media (max-width: 768px) {
    .dashboard-grid-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Social Login Buttons */
.social-auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0 16px 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-auth-divider::before,
.social-auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.social-auth-divider span {
    padding: 0 12px;
}

.social-auth-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 8px;
}

.btn-social {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    border-radius: 8px;
    padding: 11px 16px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-family: inherit;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.08);
    transform: translateY(-2px);
    color: #fff;
}

.social-icon {
    flex-shrink: 0;
}

/* ==========================================
   16. Detailed Blog Article Page Styles
   ========================================== */
.blog-post-page-main {
    position: relative;
    z-index: 2;
}

.blog-post-content-section {
    padding: 160px 0 80px 0;
    position: relative;
    z-index: 5;
}

.blog-post-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 30px;
    margin-bottom: 45px;
    text-align: left;
}

.blog-post-meta-details {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-post-main-title {
    font-size: 2.6rem;
    margin-top: 10px;
    margin-bottom: 16px;
    line-height: 1.3;
    color: #fff;
    font-family: var(--font-title);
}

.blog-post-main-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.blog-post-author-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 8px 16px;
    border-radius: 30px;
}

.author-avatar {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #0d0d0f;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.author-name {
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 500;
}

.blog-post-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
}

.blog-post-body p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

.blog-post-body h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 16px;
}

.blog-post-body h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-top: 30px;
    margin-bottom: 12px;
}

.blog-post-body ul, .blog-post-body ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.blog-post-body li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-callout {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 30px 0;
}

.blog-callout p {
    margin-bottom: 0 !important;
    font-style: italic;
    color: #eee !important;
}

.blog-code-block {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    color: #f8f8f2;
    margin-bottom: 24px;
}

.blog-back-btn-row {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .blog-post-content-section {
        padding: 120px 0 60px 0;
    }
    .blog-post-body {
        padding: 40px 20px;
    }
    .blog-post-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    .blog-post-main-title {
        font-size: 2rem;
    }
    .blog-post-body p {
        font-size: 1rem;
    }
}

/* Express Priority Modal Styles */
.modal-overlay.active {
    opacity: 1 !important;
}
.modal-overlay.active .modal-content {
    transform: scale(1) !important;
}

/* Express Priority Delivery Visuals */
.express-lightning,
.express-active-time {
    color: #00f3ff !important;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.6) !important;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255, 208, 0, 0.4);
    }
    100% {
        transform: scale(1.15);
        text-shadow: 0 0 15px rgba(255, 208, 0, 0.9), 0 0 25px rgba(255, 208, 0, 0.6);
    }
}

/* Mobile responsive overrides & optimizations */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0 !important;
    }
}

@media (max-width: 600px) {
    .calc-categories-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 90% !important;
        padding: 30px 20px !important;
    }
    .hero-canvas-container,
    .sandbox-canvas-wrapper {
        height: 320px !important;
    }
}

