/* ==========================================================================
   ER. SUJEET PANDIT & TECHOMASTER - MASTER DESIGN SYSTEM
   Modern, High-Performance, Glassmorphic Vanilla CSS Engine
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Background Surface Tokens */
    --bg-primary: #06090e;
    --bg-secondary: #0d121d;
    --bg-surface: #121826;
    --bg-surface-elevated: #1a2234;
    --bg-glass: rgba(14, 20, 33, 0.72);
    --bg-glass-card: rgba(18, 26, 43, 0.65);
    --bg-glass-hover: rgba(26, 37, 60, 0.85);

    /* Border & Separator Tokens */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-light: rgba(255, 255, 255, 0.15);
    --border-glow-cyan: rgba(0, 242, 254, 0.35);
    --border-glow-violet: rgba(139, 92, 246, 0.35);

    /* Typography & Hierarchy */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-code: 'JetBrains Mono', 'Fira Code', monospace;

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Radiant Accent Colors */
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-violet: #8b5cf6;
    --accent-purple: #7928ca;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    /* High-Impact Gradient Tokens */
    --gradient-cyan: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-violet: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --gradient-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-amber: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-rose: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
    --gradient-shimmer: linear-gradient(90deg, #00f2fe 0%, #8b5cf6 50%, #00f2fe 100%);

    /* Shadows & Glows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8);
    --shadow-cyan-glow: 0 0 30px rgba(0, 242, 254, 0.25);
    --shadow-violet-glow: 0 0 30px rgba(139, 92, 246, 0.25);

    /* Layout Spacing */
    --container-max-width: 1240px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Transitions & Motion */
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Global Reset & Base Setup --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    color-scheme: dark;
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- Typography Defaults --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #38ef7d;
}

img, svg {
    display: inline-block;
    vertical-align: middle;
}

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

/* --- Container & Layout Helpers --- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

.section {
    padding-top: clamp(4.5rem, 8vw, 7.5rem);
    padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
    position: relative;
    z-index: 1;
}

/* --- Ambient Background Glows & WebGL Canvas --- */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.glow-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, transparent 70%);
}

.glow-2 {
    width: 600px;
    height: 600px;
    top: 40%;
    right: -150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
}

.glow-3 {
    width: 450px;
    height: 450px;
    bottom: 5%;
    left: 10%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
}

.webgl-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

/* --- Glassmorphism Base Styles --- */
.glass-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
}

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

/* --- Gradient & Shimmer Utilities --- */
.gradient-text {
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-shimmer {
    background: linear-gradient(90deg, #00f2fe 0%, #8b5cf6 40%, #00f2fe 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 6s linear infinite;
}

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

.gradient-cyan { background: var(--gradient-cyan); }
.gradient-violet { background: var(--gradient-violet); }
.gradient-blue { background: var(--gradient-blue); }
.gradient-emerald { background: var(--gradient-emerald); }
.gradient-amber { background: var(--gradient-amber); }
.gradient-rose { background: var(--gradient-rose); }

/* --- Section Headers & Badges --- */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: var(--radius-full);
    color: var(--accent-cyan);
    font-family: var(--font-code);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    max-width: 850px;
}

.section-subheading {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 680px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    z-index: 1000;
    background: rgba(6, 9, 14, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: height var(--transition-smooth), background-color var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.navbar.scrolled {
    height: 64px;
    background: rgba(6, 9, 14, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(0, 242, 254, 0.15);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    flex-shrink: 0;
}

.brand-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(0, 242, 254, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-cyan-glow);
    flex-shrink: 0;
}

.brand-code {
    font-family: var(--font-code);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-code);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 1.2vw, 1.35rem);
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    position: relative;
    padding: 6px 4px;
    white-space: nowrap;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-action-btn {
    white-space: nowrap;
}

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

.btn-gradient {
    background: var(--gradient-cyan);
    color: #040d1a;
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.35);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 242, 254, 0.5);
    color: #040d1a;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass-light);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    background: #25d366;
    color: #061e0e;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-primary-sm:hover {
    background: #2ee672;
    transform: translateY(-1px);
    color: #061e0e;
}

.btn-secondary-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary-sm:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-full);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-icon-pill:hover {
    background: rgba(0, 242, 254, 0.18);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* Mobile Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all var(--transition-fast);
}

.nav-toggle:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.3);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth), background-color var(--transition-smooth);
    display: block;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--accent-cyan);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--accent-cyan);
}

/* Mobile Drawer Navigation */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 999;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.3s ease;
}

.mobile-drawer.active {
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 12, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer.active .mobile-drawer-backdrop {
    opacity: 1;
}

.mobile-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: min(380px, 86vw);
    height: 100%;
    background: rgba(10, 14, 22, 0.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-left: 1px solid var(--border-glass-light);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.mobile-drawer.active .mobile-drawer-content {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-brand-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.mobile-drawer-close {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.mobile-drawer-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-label {
    font-family: var(--font-code);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.mobile-nav-link .nav-num {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    opacity: 0.7;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.25);
    color: #fff;
    transform: translateX(4px);
}

.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-glass);
}

.mobile-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.mobile-actions-grid .btn {
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
    gap: 6px;
}

.mobile-wa-btn {
    padding: 0.75rem;
    font-size: 0.88rem;
    text-align: center;
}

.mobile-drawer-footer {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-top: 1px solid var(--border-glass);
}

.mobile-contact-pill {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-code);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 110px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
}

.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 1.75rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--accent-emerald); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #a7f3d0;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.code-bracket {
    font-family: var(--font-code);
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Hero Verified Metrics Grid */
.hero-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.metric-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
    text-align: left;
}

.metric-number-wrapper {
    display: flex;
    align-items: baseline;
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.metric-plus {
    color: var(--accent-cyan);
    font-size: 1.75rem;
    margin-left: 2px;
}

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

/* Scroll Down Indicator */
.scroll-down-btn {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-family: var(--font-code);
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
}

.scroll-down-btn:hover {
    color: var(--accent-cyan);
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel-icon {
    width: 3px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
    animation: mouseScroll 1.8s infinite;
}

@keyframes mouseScroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* ==========================================================================
   DEVELOPER CLI / TERMINAL MODAL
   ========================================================================== */
.terminal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: rgba(4, 7, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.terminal-modal.active {
    display: flex;
    animation: modalFadeIn 0.25s ease forwards;
}

.terminal-container {
    width: 100%;
    max-width: 800px;
    background: #090e17;
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: var(--radius-md);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 242, 254, 0.2);
    overflow: hidden;
    font-family: var(--font-code);
}

.terminal-header {
    background: #0e1524;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.dot-close { background-color: #ff5f56; }
.dot-minimize { background-color: #ffbd2e; }
.dot-maximize { background-color: #27c93f; }

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

.terminal-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--accent-emerald);
    font-weight: 700;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 6px var(--accent-emerald);
}

.terminal-body {
    height: 320px;
    padding: 16px;
    overflow-y: auto;
    font-size: 0.88rem;
    line-height: 1.5;
}

.term-line {
    margin-bottom: 6px;
    white-space: pre-wrap;
    word-break: break-word;
}

.term-line.info-text { color: var(--accent-cyan); }
.term-line.success-text { color: #34d399; font-weight: 600; }
.term-line.warn-text { color: var(--accent-amber); }
.term-line.error-text { color: #f87171; }
.term-highlight { color: #facc15; font-weight: 600; }

.terminal-input-row {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: #0c121e;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.term-prompt {
    color: var(--accent-cyan);
    font-weight: 600;
    margin-right: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.terminal-input {
    flex: 1;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.terminal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px;
    background: #090e17;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.term-chip {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.term-chip:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* ==========================================================================
   ABOUT & LEADERSHIP SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: start;
}

.about-bio-card {
    padding: clamp(1.75rem, 4vw, 2.5rem);
}

.bio-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.avatar-emblem {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #00f2fe, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.35);
    flex-shrink: 0;
}

.avatar-initials {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #06090e;
}

.bio-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.bio-role {
    font-size: 0.92rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.bio-company {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: var(--font-code);
}

.bio-body p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.bio-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.highlight-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.highlight-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

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

.locations-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.75rem;
}

.location-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-pillars-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pillar-card {
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.pillar-number {
    font-family: var(--font-code);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
}

.pillar-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.pillar-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0;
}

.agency-badge-banner {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-color: rgba(0, 242, 254, 0.2);
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.05), rgba(139, 92, 246, 0.05));
}

.agency-badge-icon {
    font-size: 2rem;
}

.agency-badge-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.agency-badge-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION (TECHOMASTER CAPABILITIES)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}

.service-card {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #040d1a;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
}

.service-desc {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
}

.service-points li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 18px;
}

.service-points li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

.service-link {
    font-size: 0.92rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-cyan);
    margin-top: auto;
}

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

/* ==========================================================================
   TECH STACK & PROFICIENCY MATRIX
   ========================================================================== */
.stack-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2.5rem;
}

.stack-tab {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.stack-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.stack-tab.active {
    background: var(--gradient-cyan);
    border-color: transparent;
    color: #040d1a;
    box-shadow: 0 4px 14px rgba(0, 242, 254, 0.35);
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.stack-card {
    padding: 1.35rem 1.25rem;
}

.stack-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}

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

.stack-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.stack-level {
    font-family: var(--font-code);
    font-size: 0.72rem;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.stack-bar-wrapper {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.stack-bar {
    height: 100%;
    background: var(--gradient-cyan);
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

.stack-details {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-code);
}

/* ==========================================================================
   PORTFOLIO & CASE STUDIES SHOWCASE
   ========================================================================== */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2.75rem;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--gradient-cyan);
    border-color: transparent;
    color: #040d1a;
    box-shadow: 0 4px 14px rgba(0, 242, 254, 0.35);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.project-media {
    height: 180px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-glass);
}

.project-mockup-graphic {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth);
}

.project-card:hover .project-mockup-graphic {
    transform: scale(1.04);
}

.gradient-violet-mesh { background: linear-gradient(135deg, #1e1035, #3b145a); }
.gradient-emerald-mesh { background: linear-gradient(135deg, #09261a, #0e4b33); }
.gradient-cyan-mesh { background: linear-gradient(135deg, #092537, #0e4b6b); }
.gradient-amber-mesh { background: linear-gradient(135deg, #2b1d09, #553912); }
.gradient-rose-mesh { background: linear-gradient(135deg, #2f0d19, #5c182f); }
.gradient-blue-mesh { background: linear-gradient(135deg, #0f1c3f, #1b3577); }

.mockup-code-symbol {
    font-family: var(--font-code);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
}

.project-overlay-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-code);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    background: rgba(6, 9, 14, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--accent-cyan);
    z-index: 2;
}

.project-body {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.5rem;
}

.tag {
    font-family: var(--font-code);
    font-size: 0.75rem;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
}

.project-stat-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-emerald);
}

.btn-text-action {
    background: transparent;
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-text-action:hover {
    color: #fff;
    transform: translateX(3px);
}

/* ==========================================================================
   INTERACTIVE PROJECT SCOPE ESTIMATOR
   ========================================================================== */
.estimator-wrapper {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.1);
}

.estimator-config-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.step-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-cyan);
    color: #06090e;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.calc-pill {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
}

.calc-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.calc-pill.active {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.checkbox-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.addon-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.addon-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.07);
}

.addon-check {
    accent-color: var(--accent-cyan);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Result Panel */
.estimator-result-panel {
    background: rgba(6, 9, 14, 0.85);
    border: 1px solid var(--border-glass-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.result-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.currency-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 2px;
}

.curr-btn {
    padding: 3px 10px;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 4px;
}

.curr-btn.active {
    background: var(--accent-cyan);
    color: #06090e;
}

.result-price-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 242, 254, 0.04);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.price-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.price-value {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 0.35rem;
}

.time-value {
    font-size: 0.88rem;
    color: var(--accent-emerald);
    font-weight: 600;
}

.scope-summary-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.75rem;
}

.scope-item {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   TESTIMONIALS & SOCIAL PROOF
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.testimonial-card {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
}

.test-rating {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    letter-spacing: 2px;
}

.test-quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    flex: 1;
    font-style: italic;
}

.test-author-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-glass);
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #06090e;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.author-role {
    font-size: 0.82rem;
    color: var(--accent-cyan);
}

.author-org {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACT & BOOKING HUB
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

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

.info-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #040d1a;
    flex-shrink: 0;
}

.info-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.info-link {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.info-sublink, .info-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

.ecosystem-box {
    padding: 1.75rem;
}

.ecosystem-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.social-pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-pill {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.social-pill:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Contact Form Container */
.contact-form-container {
    padding: clamp(1.75rem, 4vw, 2.5rem);
}

.form-header {
    margin-bottom: 1.75rem;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

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

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

.form-input {
    background: rgba(6, 9, 14, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
}

.form-error-msg {
    font-size: 0.78rem;
    color: #f87171;
    min-height: 16px;
}

/* ==========================================================================
   MODALS (PROJECT DETAIL & RESUME)
   ========================================================================== */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.custom-modal.active {
    display: flex;
    animation: modalFadeIn 0.25s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

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

.modal-dialog {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 850px;
    max-height: 90vh;
    overflow-y: auto;
    background: #0b111c;
    border-color: rgba(0, 242, 254, 0.3);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(255, 95, 86, 0.8);
    color: #fff;
}

/* Resume Modal Layout */
.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 1.75rem;
    gap: 1rem;
}

.resume-title-block h2 {
    font-size: 1.85rem;
    margin-bottom: 0.25rem;
}

.resume-subtitle {
    font-size: 0.95rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.resume-contact-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: var(--font-code);
}

.resume-section {
    margin-bottom: 1.75rem;
}

.resume-section h3 {
    font-size: 1.2rem;
    color: var(--accent-cyan);
    margin-bottom: 0.85rem;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
}

.resume-skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 0.88rem;
}

.resume-exp-item {
    margin-bottom: 1.25rem;
}

.exp-title-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.exp-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: var(--font-code);
}

.resume-exp-item ul {
    padding-left: 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.resume-exp-item li {
    margin-bottom: 4px;
}

/* ==========================================================================
   TOAST NOTIFICATION ENGINE
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 300px;
    max-width: 420px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: #0f172a;
    border: 1px solid var(--border-glass-light);
    color: var(--text-primary);
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.success {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.toast.error {
    border-color: rgba(244, 63, 94, 0.5);
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.25);
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #04070c;
    border-top: 1px solid var(--border-glass);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand-name {
    font-size: 1.35rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.footer-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-family: var(--font-code);
    color: var(--accent-emerald);
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-full);
}

.footer-links-col h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

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

.footer-links-col a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--transition-fast);
}

.footer-links-col a:hover {
    color: var(--accent-cyan);
}

.footer-bottom-row {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-sub-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.back-to-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.back-to-top-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
/* Compact Desktop Viewport (1081px - 1260px) */
@media (max-width: 1260px) and (min-width: 1081px) {
    .nav-links {
        gap: 0.65rem;
    }
    .nav-link {
        font-size: 0.84rem;
        padding: 5px 2px;
    }
    #openTerminalBtn .nav-btn-text,
    #openResumeBtn .nav-btn-text {
        display: none;
    }
}

/* Tablet / Medium Screens (<= 1080px) */
@media (max-width: 1080px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .estimator-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Small Tablet / Large Mobile (<= 768px) */
@media (max-width: 768px) {
    #openResumeBtn {
        display: none;
    }
    #openTerminalBtn .nav-btn-text,
    .btn-primary-sm .nav-btn-text {
        display: none;
    }
    .btn-primary-sm {
        padding: 7px 10px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Phones (<= 540px) */
@media (max-width: 540px) {
    .navbar {
        height: 64px;
    }
    .hero-section {
        padding-top: 90px;
    }
    .brand-tagline {
        display: none;
    }
    .brand-badge {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    .brand-name {
        font-size: 0.95rem;
    }
    .nav-actions {
        gap: 0.35rem;
    }
    .btn-icon-pill {
        padding: 6px 8px;
    }
    .btn-primary-sm {
        padding: 6px 8px;
    }
    .nav-toggle {
        width: 34px;
        height: 34px;
    }
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        width: 100%;
    }
    .hero-metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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