/* 
================================================================
   BizTechGuru - DESIGN SYSTEM & STYLESHEET
   Style: Elegant Tech, Ocean Blue Glow, Premium Glassmorphism
================================================================ 
*/

/* --- Fonts & Base Reset --- */
:root {
    /* Color Palette */
    --hue: 195; /* Ocean Blue Hue */
    --color-primary: hsl(var(--hue), 100%, 50%);       /* Electric Ocean Neon Blue */
    --color-primary-hover: hsl(var(--hue), 100%, 42%);
    --color-primary-glow: hsla(var(--hue), 100%, 50%, 0.2);
    --color-primary-glow-thick: hsla(var(--hue), 100%, 50%, 0.4);
    
    --color-black: hsl(216, 28%, 3%);                 /* Mystical Deep Black */
    --color-black-bg: hsl(216, 28%, 4%);
    --color-black-surface: hsl(216, 24%, 7%);          /* Dark Premium Container Surface */
    --color-black-surface-hover: hsl(216, 24%, 10%);
    
    --color-white: #ffffff;
    --color-text: hsl(216, 12%, 88%);
    --color-text-muted: hsl(216, 12%, 62%);
    
    /* Layout Tokens */
    --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Glassmorphism Defaults */
    --glass-bg: rgba(6, 12, 22, 0.7);
    --glass-border: rgba(0, 210, 255, 0.08);
    --glass-border-hover: rgba(0, 210, 255, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-black-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients & Canvas */
#ocean-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 30%, hsl(216, 28%, 8%) 0%, var(--color-black-bg) 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-black);
}
::-webkit-scrollbar-thumb {
    background: hsl(var(--hue), 60%, 20%);
    border-radius: 4px;
    transition: var(--transition-smooth);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

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

.section {
    padding: 100px 0;
    position: relative;
}

.dark-bg {
    background-color: rgba(3, 7, 13, 0.4);
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}
.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-shadow: 0 0 8px var(--color-primary-glow);
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.text-center { text-align: center; }
.highlight { color: var(--color-primary); }

/* --- Glassmorphism Card Style --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}
.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 8px 32px 0 var(--color-primary-glow);
}

/* --- Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-black);
    border: none;
    box-shadow: 0 4px 20px var(--color-primary-glow-thick);
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--color-primary);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
.btn-outline:hover {
    background-color: var(--color-primary-glow);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 6px;
}
.btn-block {
    display: flex;
    width: 100%;
}

.icon-arrow, .icon-send {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}
.btn:hover .icon-arrow {
    transform: translateX(4px);
}
.btn:hover .icon-send {
    transform: translate(2px, -2px);
}

/* --- Header & Navigation --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 7, 13, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}
#main-header.scrolled {
    background: rgba(3, 7, 13, 0.85);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-white);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}
.nav-link {
    text-decoration: none;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-white);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}
.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    z-index: 1100;
}
.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 180px;
    padding-bottom: 80px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.badge-tech-senior {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.15);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.icon-sparkle {
    width: 14px;
    height: 14px;
    animation: spin 3s linear infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--color-white);
    margin-bottom: 24px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* Hero Visual & Code window */
.hero-visual {
    position: relative;
    width: 100%;
}
.visual-card-wrapper {
    position: relative;
    z-index: 2;
}

.code-window {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(0, 210, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.code-header {
    background: rgba(3, 7, 13, 0.9);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.code-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.code-header .dot.red { background-color: #ff5f56; }
.code-header .dot.yellow { background-color: #ffbd2e; }
.code-header .dot.green { background-color: #27c93f; }
.window-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-left: auto;
}

.code-body {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    background: rgba(3, 7, 13, 0.65);
}
.code-body pre {
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Syntax Coloring */
.keyword { color: #ff79c6; }
.class-name { color: #50fa7b; }
.variable { color: #50fa7b; }
.string { color: #f1fa8c; }
.function-name { color: #8be9fd; }
.comment { color: #6272a4; font-style: italic; }

.glow-orb {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.35;
}
.orb-primary {
    background-color: var(--color-primary);
    top: -20px;
    right: -20px;
    animation: float-slow 8s ease-in-out infinite alternate;
}
.orb-secondary {
    background-color: hsl(260, 100%, 50%);
    bottom: -40px;
    left: -20px;
    animation: float-slow 12s ease-in-out infinite alternate-reverse;
}

/* Stats Bar */
.hero-stats-bar {
    margin-top: 100px;
    background: rgba(6, 12, 22, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 30px 0;
}
.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--color-white), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stat-item-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
}

/* --- Evolution Roadmap --- */
.roadmap-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 20px 0;
}

/* Central glowing continuous pipeline */
.roadmap-track {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    z-index: 1;
}
.roadmap-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--color-primary) 0%, 
        #0066ff 50%, 
        var(--color-primary) 100%);
    box-shadow: 0 0 12px var(--color-primary);
    border-radius: 2px;
}

.roadmap-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    gap: 0;
}

/* Era Card Wrapper */
.roadmap-card-wrapper {
    flex: 0 0 calc(33.333% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Roadmap Glowing Node representing the point in the pipeline */
.roadmap-node {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-black-bg);
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
    transition: var(--transition-smooth);
}
.node-number {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-white);
}
.node-pulse {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 1px solid var(--color-primary-glow-thick);
    animation: node-pulsing 2s infinite ease-in-out;
    opacity: 0.5;
}

@keyframes node-pulsing {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.8; }
}

.roadmap-card-wrapper:hover .roadmap-node {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--color-primary);
    background-color: var(--color-primary);
}
.roadmap-card-wrapper:hover .node-number {
    color: var(--color-black);
}

/* Card Content Area */
.roadmap-card {
    padding: 30px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    position: relative;
    overflow: hidden;
}

.card-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--color-primary-glow) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}
.roadmap-card:hover .card-glow-overlay {
    opacity: 1;
}

.timeline-date {
    display: inline-block;
    align-self: flex-start;
    background: var(--color-primary-glow);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
    line-height: 1.3;
}
.timeline-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.timeline-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    transition: var(--transition-fast);
}
.roadmap-card:hover .badge {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Custom Skill gauge inside card */
.tech-gauge-wrapper {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255,255,255,0.03);
}
.gauge-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.gauge-percent {
    color: var(--color-primary);
}
.gauge-bar {
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}
.gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, #0066ff, var(--color-primary));
    box-shadow: 0 0 8px var(--color-primary-glow-thick);
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-achievement {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: var(--color-text);
}
.icon-check {
    width: 14px;
    height: 14px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Era Connectors */
.roadmap-connector {
    flex: 0 0 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px; /* Matches height of node */
    position: relative;
    z-index: 1;
}
.connector-svg {
    width: 32px;
    height: 32px;
    color: rgba(0, 210, 255, 0.25);
    animation: connector-glow 2s infinite ease-in-out;
}
.arrow-pulse {
    animation: arrow-slide 1.5s infinite linear;
}

@keyframes connector-glow {
    0%, 100% { filter: drop-shadow(0 0 0px transparent); color: rgba(0, 210, 255, 0.25); }
    50% { filter: drop-shadow(0 0 4px var(--color-primary)); color: var(--color-primary); }
}

@keyframes arrow-slide {
    0% { opacity: 0.2; transform: translateX(-2px); }
    50% { opacity: 1; }
    100% { opacity: 0.2; transform: translateX(2px); }
}

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

.service-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background: var(--color-primary-glow);
    border: 1px solid rgba(0, 210, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}
.service-icon {
    width: 28px;
    height: 28px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
}
.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-bullets {
    list-style: none;
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-bullets li {
    position: relative;
    padding-left: 20px;
    color: var(--color-text);
}
.service-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--color-primary);
    color: var(--color-black);
    box-shadow: 0 0 20px var(--color-primary);
    transform: scale(1.05);
}

/* --- Portfolio Showcase --- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-muted);
    padding: 10px 22px;
    border-radius: 100px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--color-primary-glow);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

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

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.project-image-wrapper {
    position: relative;
    height: 240px;
    width: 100%;
    overflow: hidden;
}

/* High-fidelity CSS Placeholders for project visuals */
.project-placeholder-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.wp-project {
    background: linear-gradient(135deg, #03070d 0%, #0066ff 100%);
}
.laravel-project {
    background: linear-gradient(135deg, #03070d 0%, #ff2d20 100%);
}
.landing-project {
    background: linear-gradient(135deg, #03070d 0%, #00f2fe 100%);
}
.tool-project {
    background: linear-gradient(135deg, #03070d 0%, #7f00ff 100%);
}

.project-icon-badge {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    z-index: 2;
    letter-spacing: -2px;
}
.visual-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 60%);
    top: -50%;
    left: -50%;
    animation: spin 20s linear infinite;
    z-index: 1;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 13, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 3;
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-card:hover .project-placeholder-visual {
    transform: scale(1.05);
}

.project-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.project-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.project-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}
.project-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.project-tech span {
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.1);
    color: var(--color-primary);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* --- Estimator (Interactive Tool) --- */
.estimator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 48px;
    border: 1px solid rgba(0, 210, 255, 0.15);
}

.estimator-box-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
}

.input-group {
    margin-bottom: 30px;
}
.input-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 14px;
}

/* Selector buttons */
.select-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.selector-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}
.selector-btn span {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}
.selector-btn small {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}
.selector-btn.active, .selector-btn:hover {
    background: var(--color-primary-glow);
    border-color: var(--color-primary);
}

/* Custom Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.checkbox-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-smooth);
}
.checkbox-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkbox-custom {
    position: relative;
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    flex-shrink: 0;
    transition: var(--transition-fast);
}
.checkbox-card input:checked ~ .checkbox-custom {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary);
}
.checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--color-black);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox-card input:checked ~ .checkbox-custom::after {
    display: block;
}
.checkbox-text {
    font-size: 0.85rem;
    color: var(--color-text);
}
.checkbox-card:hover, .checkbox-card:has(input:checked) {
    border-color: var(--color-primary);
    background-color: rgba(0, 210, 255, 0.02);
}

/* Custom range slider */
.slider-wrapper {
    position: relative;
    padding-top: 10px;
}
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: var(--transition-fast);
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--color-primary);
    transition: var(--transition-fast);
}
.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* Estimator Output Display */
.estimator-output {
    background: rgba(6, 12, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.price-display-wrapper {
    text-align: center;
    margin: 24px 0;
}
.price-currency {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-right: 6px;
}
.price-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-white);
    text-shadow: 0 0 20px var(--color-primary-glow-thick);
}

.output-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.out-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}
.out-stat-label {
    color: var(--color-text-muted);
}
.out-stat-val {
    font-weight: 600;
}

.output-divider {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin-bottom: 24px;
}

.recommendation-box {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--color-primary);
    padding: 16px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin-bottom: 30px;
}
.recommend-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
}
.recommend-text {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
}
.rating-stars {
    color: #ffbd2e;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-quote {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
}
.client-info {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}
.client-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
}
.client-role {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-box-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 30px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}
.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.info-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: var(--color-primary-glow);
    border: 1px solid rgba(0, 210, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}
.info-icon {
    width: 20px;
    height: 20px;
}

.info-details {
    display: flex;
    flex-direction: column;
}
.info-label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-fast);
}
a.info-value:hover {
    color: var(--color-primary);
}

.social-networks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.social-title {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.social-icons {
    display: flex;
    gap: 12px;
}
.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}
.social-icon-btn svg {
    width: 18px;
    height: 18px;
}
.social-icon-btn:hover {
    background-color: var(--color-primary-glow);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 0 10px var(--color-primary-glow);
    transform: translateY(-2px);
}

/* Contact Form Styling */
.contact-form-wrapper {
    padding: 40px;
    border: 1px solid rgba(0, 210, 255, 0.1);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}
.form-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}
.form-label .required {
    color: #ff5f56;
}

.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-white);
    outline: none;
    transition: var(--transition-smooth);
}
.form-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}
.form-input:focus {
    background: rgba(0, 210, 255, 0.02);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238892b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 48px;
    cursor: pointer;
}
select.form-input option {
    background-color: var(--color-black-surface);
    color: var(--color-white);
}

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

/* Form validation error */
.error-msg {
    color: #ff5f56;
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
}
.form-group.has-error .form-input {
    border-color: #ff5f56;
    box-shadow: 0 0 10px rgba(255, 95, 86, 0.15);
}
.form-group.has-error .error-msg {
    display: block;
}

/* AJAX Submit status box */
.form-status {
    padding: 12px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 0.88rem;
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.form-status.sending {
    display: flex;
    background-color: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: var(--color-primary);
}
.form-status.success {
    display: flex;
    background-color: rgba(39, 201, 63, 0.08);
    border: 1px solid rgba(39, 201, 63, 0.2);
    color: #27c93f;
}
.form-status.error {
    display: flex;
    background-color: rgba(255, 95, 86, 0.08);
    border: 1px solid rgba(255, 95, 86, 0.2);
    color: #ff5f56;
}

/* Spinner for sending status */
.form-status.sending .status-icon {
    width: 14px;
    height: 14px;
    border: 2px solid var(--color-primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.form-status.success .status-icon::before {
    content: "✓";
    font-weight: bold;
}
.form-status.error .status-icon::before {
    content: "✕";
    font-weight: bold;
}

/* --- Footer --- */
#main-footer {
    background-color: var(--color-black);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

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

.back-to-top {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.back-to-top svg {
    width: 18px;
    height: 18px;
}
.back-to-top:hover {
    background-color: var(--color-primary-glow);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 0 15px var(--color-primary-glow);
    transform: translateY(-4px);
}

/* --- Keyframe Animations --- */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float-slow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-20px) scale(1.05); }
}

/* Entry Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-slide-up-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.animate-slide-up-delay-more {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.animate-fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal initial states */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .badge-tech-senior, .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        max-width: 550px;
        margin: 0 auto;
    }
    
    /* Roadmap Responsive Styles */
    .roadmap-track {
        left: 20px;
        top: 20px;
        bottom: 20px;
        width: 4px;
        height: auto;
    }
    .roadmap-progress {
        background: linear-gradient(180deg, 
            var(--color-primary) 0%, 
            #0066ff 50%, 
            var(--color-primary) 100%);
    }
    .roadmap-grid {
        flex-direction: column;
        gap: 40px;
        padding-left: 50px;
    }
    .roadmap-card-wrapper {
        align-items: flex-start;
        width: 100%;
        flex: 1 1 100%;
    }
    .roadmap-node {
        position: absolute;
        left: -52px;
        top: 15px;
        margin-bottom: 0;
    }
    .roadmap-card {
        max-width: 100%;
    }
    .hide-mobile {
        display: none !important;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .estimator-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 24px;
    }
    .stat-item-divider {
        display: none;
    }
    
    /* Navigation drawer for mobile */
    .mobile-nav-toggle {
        display: flex;
    }
    
    #navbar {
        position: fixed;
        top: 80px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-black);
        border-top: 1px solid rgba(255,255,255,0.05);
        padding: 40px 24px;
        transition: var(--transition-smooth);
        z-index: 1050;
    }
    #navbar.open {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .nav-link {
        font-size: 1.25rem;
    }
    
    .header-actions .btn-outline {
        display: none; /* Hide top CTA on small screens */
    }
    
    /* Selectors */
    .select-buttons {
        grid-template-columns: 1fr;
    }
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    
    .code-body {
        padding: 16px;
        font-size: 0.78rem;
    }
}
