/* ==========================================================================
   NORSEDEVLABS DESIGN SYSTEM
   Theme: Ultra-Premium Glassmorphism, Dark Obsidian Mode, Cyber Neon Accents
   Font Stack: Outfit, Plus Jakarta Sans, Fira Code
   ========================================================================== */

:root {
    /* Color Palette - Matching NorseDevLabs Titanium & Electric Cyan Medallion Logo */
    --bg-dark: #06060c;
    --bg-card: rgba(12, 15, 24, 0.7);
    --bg-card-hover: rgba(18, 24, 38, 0.9);
    
    --accent-primary: #06b6d4;   /* Electric Cyan (Core Logo Glow) */
    --accent-secondary: #38bdf8; /* Nordic Ice Blue */
    --accent-blue: #2563eb;      /* Deep Shield Blue */
    --accent-cyan: #00f2fe;      /* Bright Neon Cyan */
    --accent-silver: #cbd5e1;    /* Brushed Titanium Steel */
    --accent-amber: #f59e0b;     /* Warm Gold */
    --accent-emerald: #10b981;   /* Success Green */
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(6, 182, 212, 0.4);
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Fira Code', monospace;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Custom Fluid Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(6, 182, 212, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: width var(--transition-fast), height var(--transition-fast), border-color var(--transition-fast);
}

body.hovering .cursor-outline {
    width: 54px;
    height: 54px;
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
}

/* Canvas & Ambient Glows */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.glow-primary {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
}

.glow-secondary {
    bottom: 10%;
    right: -100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.glow-cyan {
    top: 40%;
    left: 30%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
}

/* Utility Glassmorphism Classes */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 25px 60px rgba(6, 182, 212, 0.12);
}

/* Typography & Colors */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-text {
    color: var(--accent-cyan);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: padding var(--transition-fast), background var(--transition-fast), backdrop-filter var(--transition-fast);
}

.main-header.scrolled {
    padding: 12px 0;
    background: rgba(6, 6, 12, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(0, 242, 254, 0.25));
    border: 1px solid rgba(0, 242, 254, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.1rem;
    position: relative;
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.4);
}

.logo-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid var(--accent-cyan);
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
    line-height: 1.1;
}

.brand-tagline {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
}

.nav-num {
    font-family: var(--font-mono);
    color: var(--accent-secondary);
    margin-right: 4px;
    font-size: 0.85rem;
}

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

.sound-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 8px 16px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    transition: all var(--transition-fast);
}

.sound-toggle-btn:hover {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
}

.sound-toggle-btn.muted {
    opacity: 0.5;
}

.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle-btn .bar {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    transition: transform var(--transition-fast);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.3);
    margin-bottom: 24px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    letter-spacing: 1.5px;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.underline-glow {
    position: relative;
    display: inline-block;
}

.underline-glow::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-secondary));
    border-radius: 2px;
    box-shadow: 0 0 12px var(--accent-cyan);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 640px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-blue) 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.55);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-glass:hover {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

.btn-dark {
    background: rgba(15, 17, 26, 0.8);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.btn-dark:hover {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Key Stats Bar */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding-top: 28px;
    border-top: 1px solid var(--glass-border);
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px 14px;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    background: rgba(6, 182, 212, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.12);
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.stat-icon {
    font-size: 1rem;
    color: var(--accent-cyan);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 3D Cyber Sphere Visual Container */
.cyber-brain-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-canvas {
    width: 450px;
    height: 450px;
}

.sphere-overlay-badge {
    position: absolute;
    bottom: 20px;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(15, 17, 26, 0.85);
    border: 1px solid var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.interactive-hint {
    position: absolute;
    top: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.scroll-down-btn {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-muted);
    margin-top: 40px;
    transition: color var(--transition-fast);
}

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

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

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    transition: border-color var(--transition-fast);
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

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

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

/* Sections Global */
.section-padding {
    padding: 100px 0;
    position: relative;
}

.section-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Founder Profile Card */
.founder-card {
    padding: 40px;
    margin-bottom: 50px;
    position: relative;
    border: 1px solid var(--glass-border);
}

.founder-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}

.founder-bio h3 {
    font-size: 2rem;
    margin-bottom: 6px;
}

.founder-role {
    font-size: 1.05rem;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    font-weight: 500;
}

.founder-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.founder-skills-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

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

.chip i {
    color: var(--accent-cyan);
}

.founder-quote {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent-cyan);
    padding: 30px;
    border-radius: 0 16px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.quote-icon i {
    font-size: 2rem;
    color: var(--accent-cyan);
    opacity: 0.4;
    margin-bottom: 12px;
}

.founder-quote blockquote {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 20px;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap var(--transition-fast);
}

.link-btn:hover {
    gap: 12px;
}

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

.service-card {
    padding: 36px 28px;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.icon-blue {
    background: rgba(37, 99, 235, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.icon-cyan {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.icon-amber {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.service-list {
    list-style: none;
    margin-top: auto;
}

.service-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li i {
    color: var(--accent-cyan);
    font-size: 0.8rem;
}

/* Teaser Spotlight Box */
.teaser-spotlight-card {
    padding: 48px 36px;
    border: 1px solid rgba(6, 182, 212, 0.25);
    background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.08) 0%, rgba(15, 17, 26, 0.6) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.callout-icon {
    color: var(--accent-cyan);
}

.teaser-benefits {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.teaser-benefit-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.teaser-benefit-item i {
    color: var(--accent-cyan);
}

/* Portfolio Showcase Subpage Styles */
.spotlight-product-card {
    padding: 40px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.spotlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.spotlight-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.1);
    padding: 4px 14px;
    border-radius: 20px;
}

.spotlight-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-emerald);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 40px;
}

.spotlight-info h3 {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.spotlight-subtitle {
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: 20px;
}

.spotlight-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 24px;
}

.usp-box {
    padding: 20px;
    margin-bottom: 24px;
    border-left: 3px solid var(--accent-emerald);
}

.usp-box h4 {
    color: var(--accent-emerald);
    font-size: 1rem;
    margin-bottom: 8px;
}

.usp-box p {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.license-card {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.license-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.license-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-bar {
    display: flex;
    gap: 10px;
}

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

.filter-btn.active, .filter-btn:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

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

.project-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.picon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.12);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.pcategory {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 20px;
}

.ptag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 6px;
    color: var(--accent-cyan);
}

/* Multi-Step Project Estimator Architecture */
.estimator-wrapper {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.estimator-step-view {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.estimator-step-view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Step 1: Category Selection Grid */
.step-view-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.step-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.step-main-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.step-main-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.project-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.category-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px 28px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.06);
    box-shadow: 0 16px 40px rgba(6, 182, 212, 0.15);
}

.category-card-top {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}

.category-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.category-title-group h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.category-title-group p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.category-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 10px;
}

.category-price-hint {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.category-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.15);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(6, 182, 212, 0.35);
    transition: all var(--transition-fast);
}

.category-card:hover .category-cta-btn {
    background: var(--accent-cyan);
    color: #06060c;
}

/* Step 2: Customization & Requirements View */
.step-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 14px;
}

.btn-back-types {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-back-types:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
}

.current-selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

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

.current-selected-badge .badge-title {
    color: var(--accent-cyan);
    font-weight: 600;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.estimator-config-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-bottom: 36px;
}

.config-step-block h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-step-block .step-num {
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 1.1rem;
}

.step-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

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

.check-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.check-card:hover {
    border-color: var(--accent-cyan);
}

.check-card input[type="checkbox"] {
    accent-color: var(--accent-cyan);
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

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

.check-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.check-price-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    margin-top: 4px;
}

.check-price-tag.discount {
    color: var(--accent-emerald);
}

.slider-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-weight: 600;
}

.slider-value {
    color: var(--accent-cyan);
    font-family: var(--font-mono);
}

input[type="range"] {
    width: 100%;
    accent-color: var(--accent-cyan);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.estimator-summary-panel {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.summary-details {
    flex: 1;
    min-width: 280px;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 280px;
}

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

.summary-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.summary-monthly {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent-emerald);
    margin-top: 4px;
}

.summary-sla-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.summary-sla-tag.express {
    color: var(--accent-amber);
    font-weight: 600;
}

.summary-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 32px;
    align-items: stretch;
}

.contact-info-col, .contact-form-col {
    display: flex;
    flex-direction: column;
}

.contact-info-card, .contact-form {
    padding: 36px;
    height: 100%;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
}

.contact-info-card h3, .contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.contact-info-card p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.method-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.method-details {
    display: flex;
    flex-direction: column;
}

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

.method-value {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
}

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

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

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

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

.form-group input, .form-group textarea, .custom-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus, .custom-select:focus {
    border-color: var(--accent-cyan);
}

.custom-select option {
    background: #0b0c16;
    color: var(--text-primary);
}

.form-feedback {
    display: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-top: 10px;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--accent-emerald);
    color: var(--accent-emerald);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 6, 12, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

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

.modal-card {
    max-width: 700px;
    width: 100%;
    padding: 40px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--accent-cyan);
}

.modal-tags {
    display: flex;
    gap: 8px;
    margin: 12px 0 20px;
}

.modal-legal h2 {
    margin-bottom: 20px;
}

.legal-content h4 {
    margin: 20px 0 8px;
}

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

.legal-content a {
    color: var(--accent-cyan);
}

/* Footer */
.main-footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    background: rgba(6, 6, 12, 0.95);
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.footer-left p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

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

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container, .founder-grid, .spotlight-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid, .projects-grid, .options-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-visual-col {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(6, 6, 12, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        border-bottom: 1px solid var(--glass-border);
        clip-path: circle(0% at 100% 0);
        transition: clip-path var(--transition-smooth);
    }

    .nav-links.mobile-open {
        clip-path: circle(140% at 100% 0);
    }

    .hero-stats-grid, .services-grid, .projects-grid, .options-grid-4, .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .estimator-summary-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Touch & Mobile Cursor Suppression */
@media (hover: none) and (pointer: coarse) {
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
    * {
        cursor: auto !important;
    }
}
