﻿/* =============================================
   SWH Technologies - Premium Technology Website
   ============================================= */

:root {
    --bg-primary: #07070e;
    --bg-secondary: #0e0e1a;
    --bg-tertiary: #141425;
    --bg-card: rgba(20, 20, 40, 0.7);
    --bg-glass: rgba(15, 15, 30, 0.6);
    --text-primary: #f0f0f5;
    --text-secondary: #9898b0;
    --text-muted: #606078;
    --accent-cyan: #00d4ff;
    --accent-blue: #3a86ff;
    --accent-violet: #7b2cbf;
    --accent-green: #00ff88;
    --accent-warm: #00c9ff;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #3a86ff 50%, #7b2cbf 100%);
    --gradient-cyan: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(58, 134, 255, 0.05) 100%);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(0, 212, 255, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 12px 48px rgba(0, 212, 255, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --nav-height: 64px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

img, svg {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   BACKGROUND EFFECTS
   ============================================= */

#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.perspective-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(123, 44, 191, 0.05), transparent);
}

main {
    position: relative;
    z-index: 1;
}

/* =============================================
   NAVBAR
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(7, 7, 14, 0.85);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    background: rgba(7, 7, 14, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-main {
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.logo-dot {
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
}

.logo-tag {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    display: none;
}

@media (min-width: 768px) {
    .logo-tag {
        display: block;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
}

.nav-links .nav-cta {
    margin-left: 8px;
    background: var(--gradient-primary);
    color: var(--text-primary) !important;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-links .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    background: var(--gradient-primary);
}

.nav-social {
    color: var(--text-secondary) !important;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
}

.nav-social:hover {
    color: var(--accent-cyan) !important;
    background: transparent !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   BUTTONS
   ============================================= */

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.35);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    cursor: pointer;
    min-height: 44px;
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
}

.btn-large {
    padding: 16px 40px;
    font-size: 15px;
}

/* =============================================
   SECTIONS
   ============================================= */

.hero, .services-section, .solutions-section, .dashboard-section,
.process-section, .about-section, .certifications-section,
.contact-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============================================
   HERO
   ============================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.06), transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    font-family: 'JetBrains Mono', monospace;
}

.hero-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

.hero-label-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.4);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.hero h1 .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: var(--text-secondary);
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .value {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.hero-stat .label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    width: 100%;
    max-width: 500px;
}

.info-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: border-color var(--transition-base), transform var(--transition-base);
    position: relative;
    overflow: hidden;
}

.info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.info-panel:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.info-panel:hover::before {
    opacity: 1;
}

.panel-gauge {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-gauge-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-gauge-status {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-dot.green {
    background: var(--accent-green);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.status-dot.blue {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.panel-gauge-value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

.panel-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.panel-progress-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--gradient-primary);
    animation: progress-fill 2s ease-out forwards;
}

@keyframes progress-fill {
    from { width: 0; }
}

.panel-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 40px;
    margin-top: 8px;
}

.chart-bar {
    flex: 1;
    background: var(--accent-cyan);
    border-radius: 2px 2px 0 0;
    opacity: 0.6;
    animation: chart-bar-grow 1.5s ease-out forwards;
    animation-fill-mode: backwards;
}

.chart-bar:nth-child(odd) {
    background: var(--accent-blue);
}

@keyframes chart-bar-grow {
    from { height: 0; }
}

.terminal-window {
    grid-column: 1 / -1;
    background: rgba(10, 10, 20, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.terminal-header-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(20, 20, 35, 0.8);
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-dot-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot-color.red { background: #ff5f56; }
.terminal-dot-color.yellow { background: #ffbd2e; }
.terminal-dot-color.green { background: #27ca40; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
}

.terminal-body-typed {
    padding: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.9;
    min-height: 100px;
}

.terminal-line {
    color: var(--text-secondary);
    opacity: 0;
    animation: terminal-fade-in 0.3s ease forwards;
}

.terminal-comment { color: #555570; }
.terminal-keyword { color: #60a5fa; }
.terminal-value { color: var(--accent-green); }
.terminal-prompt { color: var(--accent-cyan); }
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent-cyan);
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes terminal-fade-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* =============================================
   SERVICES SECTION
   ============================================= */

.services-section {
    background: var(--bg-secondary);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.service-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.service-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-cyan);
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

/* =============================================
   SOLUTIONS / CAPABILITIES SECTION
   ============================================= */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.solution-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    align-items: flex-start;
}

.solution-item:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.solution-check {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.solution-check svg {
    width: 16px;
    height: 16px;
    color: var(--accent-green);
}

.solution-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.solution-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   DASHBOARD SECTION
   ============================================= */

.dashboard-section {
    display: none;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.dash-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.dash-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-card-hover);
}

.dash-card-gauge {
    width: 100px;
    height: 56px;
    margin: 0 auto 16px;
    position: relative;
}

.gauge-bg {
    width: 100px;
    height: 50px;
    border-radius: 50px 50px 0 0;
    border: 8px solid rgba(255, 255, 255, 0.06);
    border-bottom: 0;
    position: relative;
    overflow: hidden;
}

.gauge-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px 50px 0 0;
    background: var(--gradient-primary);
    clip-path: circle(50px at 100% 100%);
    transform-origin: 100% 100%;
    transition: transform 1.5s ease-out;
}

.dash-card-value {
    font-size: 36px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-cyan);
    margin-bottom: 4px;
}

.dash-card-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.dash-card-sublabel {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.dashboard-chart-area {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.chart-title {
    font-size: 16px;
    font-weight: 600;
}

.chart-legend {
    display: flex;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

#dashboardChart {
    width: 100%;
    height: 240px;
}

.demo-badge {
    display: inline-block;
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 16px;
    font-family: 'JetBrains Mono', monospace;
}

/* =============================================
   PROCESS SECTION
   ============================================= */

.process-timeline {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    position: relative;
    margin-top: 64px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.process-step:hover .process-number {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.4);
}

.process-step h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 0 4px;
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content blockquote {
    border-left: 3px solid var(--accent-cyan);
    padding-left: 20px;
    margin: 24px 0;
    color: var(--text-primary);
    font-size: 18px;
    font-style: italic;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.about-feature:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.about-feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.about-feature p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Experience subsection in About */

.experience-list {
    margin-top: 96px;
}

.experience-list h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.exp-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.exp-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.exp-entry {
    position: relative;
    padding-left: 52px;
    padding-bottom: 40px;
}

.exp-entry:last-child {
    padding-bottom: 0;
}

.exp-marker {
    position: absolute;
    left: 13px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent-cyan);
    z-index: 1;
}

.exp-entry.current .exp-marker {
    background: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
}

.exp-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color var(--transition-base);
}

.exp-entry:hover .exp-content {
    border-color: var(--border-accent);
}

.exp-role {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.exp-company {
    font-size: 13px;
    color: var(--accent-cyan);
    margin-bottom: 4px;
}

.exp-date {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 12px;
}

.exp-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.exp-achievements {
    list-style: none;
}

.exp-achievements li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 18px;
    position: relative;
    margin-bottom: 6px;
}

.exp-achievements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background: var(--accent-cyan);
    border-radius: 50%;
}

/* =============================================
   CERTIFICATIONS
   ============================================= */

.certifications-section {
    background: var(--bg-secondary);
    position: relative;
}

.certifications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition-base);
}

.cert-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.cert-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    background: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 1px solid var(--border-subtle);
}

.cert-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cert-card p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.cert-icon svg {
    width: 28px;
    height: 28px;
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-cta-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.contact-cta-box p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.contact-card {
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.contact-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.contact-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.contact-card:hover .contact-icon {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
}

.contact-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card a,
.contact-card p {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.contact-card a:hover {
    color: var(--accent-cyan);
}

.contact-side-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.contact-side-panel h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-side-panel p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-side-panel ul {
    list-style: none;
    margin-bottom: 24px;
}

.contact-side-panel ul li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-side-panel ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: 48px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-nav h5,
.footer-contact h5 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: 4px 0;
    display: inline-block;
}

.footer-nav ul li a:hover {
    color: var(--accent-cyan);
}

.footer-contact a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    transition: color var(--transition-fast);
    padding: 4px 0;
}

.footer-contact a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    padding: 4px 0;
}

.footer-bottom-links a:hover {
    color: var(--accent-cyan);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: none;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: none;
}

/* =============================================
   REDUCED MOTION
   ============================================= */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in,
    .fade-in-left,
    .fade-in-right {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }

    #network-canvas,
    .grid-bg,
    .perspective-bg {
        display: none;
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .process-timeline::before {
        display: none;
    }

    .about-layout {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-panels {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(7, 7, 14, 0.98);
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--border-subtle);
        z-index: 999;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 14px 16px;
        font-size: 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-links .nav-cta {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
    }

    /* Hide canvas on mobile for performance */
    #network-canvas {
        display: none;
    }

    /* Hide unused dashboard section */
    .dashboard-section {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 80px 16px 48px;
    }

    .hero-layout {
        gap: 32px;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: clamp(28px, 7vw, 36px);
        letter-spacing: -0.5px;
    }

    .hero-label {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding-top: 24px;
    }

    .hero-stat .value {
        font-size: 24px;
    }

    .hero-stat .label {
        font-size: 10px;
    }

    /* Terminal */
    .terminal-body-typed {
        font-size: 11px;
        padding: 12px;
    }

    .terminal-title {
        font-size: 10px;
    }

    /* Sections */
    .services-section,
    .solutions-section,
    .process-section,
    .about-section,
    .certifications-section,
    .contact-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 32px);
    }

    .section-subtitle {
        font-size: 15px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px 20px;
    }

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

    .service-icon svg {
        width: 20px;
        height: 20px;
        max-width: none;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 14px;
    }

    /* Solutions */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .solution-item {
        padding: 16px;
    }

    .solution-text h4 {
        font-size: 15px;
    }

    .solution-text p {
        font-size: 13px;
    }

    /* Process */
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .process-timeline::before {
        display: none;
    }

    .process-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
        margin-bottom: 12px;
    }

    .process-step h4 {
        font-size: 13px;
    }

    .process-step p {
        font-size: 12px;
    }

    /* About */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-content h3 {
        font-size: 22px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-feature {
        padding: 20px;
    }

    /* Experience */
    .experience-list {
        margin-top: 48px;
    }

    .experience-list h3 {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .exp-entry {
        padding-left: 44px;
        padding-bottom: 28px;
    }

    .exp-marker {
        left: 11px;
        width: 14px;
        height: 14px;
    }

    .exp-content {
        padding: 20px;
    }

    .exp-role {
        font-size: 16px;
    }

    .exp-company {
        font-size: 13px;
    }

    .exp-date {
        font-size: 11px;
    }

    .exp-desc {
        font-size: 14px;
    }

    .exp-achievements li {
        font-size: 13px;
    }

    /* Certifications */
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cert-card {
        padding: 20px 12px;
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-cta-box h3 {
        font-size: 22px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-card {
        padding: 24px 16px;
    }

    .contact-side-panel {
        position: static;
        padding: 24px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-nav ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 72px 12px 40px;
    }

    .hero h1 {
        font-size: clamp(24px, 8vw, 30px);
    }

    .hero-label {
        font-size: 10px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat .value {
        font-size: 20px;
    }

    .section-title {
        font-size: clamp(20px, 7vw, 26px);
    }

    .section-subtitle {
        font-size: 14px;
    }

    .services-section,
    .solutions-section,
    .process-section,
    .about-section,
    .certifications-section,
    .contact-section {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .service-card {
        padding: 20px 16px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
    }

    .service-icon svg {
        width: 18px;
        height: 18px;
    }

    .service-card h3 {
        font-size: 15px;
    }

    .service-card p {
        font-size: 13px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .process-step h4 {
        font-size: 14px;
    }

    .about-content h3 {
        font-size: 20px;
    }

    .about-content blockquote {
        font-size: 15px;
        padding-left: 16px;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .cert-card {
        padding: 16px;
    }

    .contact-cta-box h3 {
        font-size: 20px;
    }

    .contact-card {
        padding: 20px 16px;
    }

    .exp-entry {
        padding-left: 36px;
    }

    .exp-marker {
        left: 9px;
        width: 12px;
        height: 12px;
    }

    .exp-content {
        padding: 16px;
    }

    .exp-role {
        font-size: 15px;
    }

    .exp-company {
        font-size: 12px;
    }

    .exp-desc {
        font-size: 13px;
    }

    .exp-achievements li {
        font-size: 12px;
    }

    .footer {
        padding: 32px 0 24px;
    }

    .container {
        padding: 0 12px;
    }
}

@media (max-width: 375px) {
    .hero {
        padding: 64px 12px 32px;
    }

    .hero h1 {
        font-size: 24px;
        letter-spacing: -0.3px;
    }

    .hero-label {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-stat .value {
        font-size: 18px;
    }

    .hero-stat .label {
        font-size: 9px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .services-section,
    .solutions-section,
    .process-section,
    .about-section,
    .certifications-section,
    .contact-section {
        padding: 40px 0;
    }

    .service-card {
        padding: 16px 14px;
    }

    .service-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 12px;
    }

    .service-icon svg {
        width: 16px;
        height: 16px;
    }

    .service-card h3 {
        font-size: 14px;
    }

    .service-card p {
        font-size: 12px;
    }

    .solution-item {
        padding: 14px;
        gap: 12px;
    }

    .solution-check {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .solution-text h4 {
        font-size: 14px;
    }

    .solution-text p {
        font-size: 12px;
    }

    .process-timeline {
        gap: 12px;
    }

    .process-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .process-step h4 {
        font-size: 13px;
    }

    .process-step p {
        font-size: 11px;
    }

    .about-content h3 {
        font-size: 18px;
    }

    .about-content p {
        font-size: 14px;
    }

    .about-feature {
        padding: 16px;
    }

    .about-feature h4 {
        font-size: 14px;
    }

    .about-feature p {
        font-size: 12px;
    }

    .exp-entry {
        padding-left: 32px;
    }

    .exp-marker {
        left: 8px;
        width: 10px;
        height: 10px;
    }

    .exp-content {
        padding: 14px;
    }

    .exp-role {
        font-size: 14px;
    }

    .exp-company {
        font-size: 11px;
    }

    .exp-date {
        font-size: 10px;
    }

    .exp-desc {
        font-size: 12px;
    }

    .exp-achievements li {
        font-size: 11px;
    }

    .cert-card {
        padding: 14px;
    }

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

    .cert-card h4 {
        font-size: 13px;
    }

    .contact-card {
        padding: 16px 14px;
    }

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

    .footer-content {
        gap: 20px;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .footer-nav h5,
    .footer-contact h5 {
        font-size: 11px;
    }

    .footer-nav ul li a,
    .footer-contact a {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 11px;
    }
}

