
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

.theme-dark {
  --bg-primary: #050508;
  --bg-secondary: #0c0c14;
  --bg-tertiary: #121220;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.45);
  --accent-primary: #ffd700;
  --accent-secondary: #ffaa00;
  --accent-glow: rgba(255, 215, 0, 0.25);
  --accent-gradient: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  --mesh-color-1: #1a0a00;
  --mesh-color-2: #0a0a1a;
  --mesh-color-3: #1a1500;
  --mesh-color-4: #0d1a0d;
  --nav-bg: rgba(5, 5, 8, 0.65);
  --card-bg: rgba(255, 255, 255, 0.015);
  --card-bg-hover: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 215, 0, 0.12);
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-border: rgba(255, 255, 255, 0.08);
  --btn-primary-bg: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  --btn-primary-text: #0a0a0f;
  --btn-secondary-bg: rgba(255, 255, 255, 0.04);
  --btn-secondary-text: #ffffff;
  --success: #00ff88;
  --warning: #ffaa00;
  --error: #ff4757;
  --link-color: #ffd700;
  --network-line: 255, 215, 0;
  --network-node: 255, 215, 0;
}

.theme-light {
  --bg-primary: #eef1f6;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: rgba(15, 23, 42, 0.7);
  --text-muted: rgba(15, 23, 42, 0.45);
  --accent-primary: #0066cc;
  --accent-secondary: #0099ff;
  --accent-glow: rgba(0, 102, 204, 0.15);
  --accent-gradient: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
  --mesh-color-1: #dbeafe;
  --mesh-color-2: #f3e8ff;
  --mesh-color-3: #dcfce7;
  --mesh-color-4: #fef3c7;
  --nav-bg: rgba(255, 255, 255, 0.6);
  --card-bg: rgba(255, 255, 255, 0.35);
  --card-bg-hover: rgba(255, 255, 255, 0.55);
  --card-border: rgba(0, 102, 204, 0.12);
  --input-bg: rgba(255, 255, 255, 0.7);
  --input-border: rgba(0, 0, 0, 0.08);
  --btn-primary-bg: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: rgba(0, 0, 0, 0.04);
  --btn-secondary-text: #0f172a;
  --success: #00cc66;
  --warning: #ff9900;
  --error: #cc0000;
  --link-color: #0066cc;
  --network-line: 0, 102, 204;
  --network-node: 0, 153, 255;
}

.theme-neural {
  --bg-primary: #080214;
  --bg-secondary: #100828;
  --bg-tertiary: #180d3a;
  --text-primary: #e8e0ff;
  --text-secondary: rgba(232, 224, 255, 0.75);
  --text-muted: rgba(232, 224, 255, 0.45);
  --accent-primary: #00f5d4;
  --accent-secondary: #c77dff;
  --accent-glow: rgba(0, 245, 212, 0.25);
  --accent-gradient: linear-gradient(135deg, #00f5d4 0%, #c77dff 100%);
  --mesh-color-1: #12052e;
  --mesh-color-2: #05122e;
  --mesh-color-3: #1a0520;
  --mesh-color-4: #05201a;
  --nav-bg: rgba(8, 2, 20, 0.65);
  --card-bg: rgba(255, 255, 255, 0.015);
  --card-bg-hover: rgba(255, 255, 255, 0.04);
  --card-border: rgba(0, 245, 212, 0.12);
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-border: rgba(255, 255, 255, 0.08);
  --btn-primary-bg: linear-gradient(135deg, #00f5d4 0%, #c77dff 100%);
  --btn-primary-text: #080214;
  --btn-secondary-bg: rgba(255, 255, 255, 0.04);
  --btn-secondary-text: #e8e0ff;
  --success: #00f5d4;
  --warning: #ffbd00;
  --error: #ff006e;
  --link-color: #00f5d4;
  --network-line: 0, 245, 212;
  --network-node: 199, 125, 255;
}

.theme-aurora {
  --bg-primary: #001015;
  --bg-secondary: #001a22;
  --bg-tertiary: #002a35;
  --text-primary: #e0fbfc;
  --text-secondary: rgba(224, 251, 252, 0.75);
  --text-muted: rgba(224, 251, 252, 0.45);
  --accent-primary: #00ff88;
  --accent-secondary: #00d4ff;
  --accent-glow: rgba(0, 255, 136, 0.25);
  --accent-gradient: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
  --mesh-color-1: #001a10;
  --mesh-color-2: #00101a;
  --mesh-color-3: #0a1a00;
  --mesh-color-4: #1a0010;
  --nav-bg: rgba(0, 16, 21, 0.65);
  --card-bg: rgba(255, 255, 255, 0.015);
  --card-bg-hover: rgba(255, 255, 255, 0.04);
  --card-border: rgba(0, 255, 136, 0.12);
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-border: rgba(255, 255, 255, 0.08);
  --btn-primary-bg: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
  --btn-primary-text: #001015;
  --btn-secondary-bg: rgba(255, 255, 255, 0.04);
  --btn-secondary-text: #e0fbfc;
  --success: #00ff88;
  --warning: #ffb703;
  --error: #ff006e;
  --link-color: #00ff88;
  --network-line: 0, 255, 136;
  --network-node: 0, 212, 255;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition-slow), color var(--transition-slow);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--link-color); text-decoration: none; transition: color var(--transition-fast), opacity var(--transition-fast); }
a:hover { opacity: 0.85; }
img { max-width: 100%; height: auto; display: block; }

/* MESH BG */
.mesh-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.6; animation: orbFloat 25s ease-in-out infinite; }
.mesh-orb:nth-child(1) { width: 700px; height: 700px; background: var(--mesh-color-1); top: -15%; left: -15%; animation-delay: 0s; }
.mesh-orb:nth-child(2) { width: 600px; height: 600px; background: var(--mesh-color-2); top: 35%; right: -20%; animation-delay: -6s; }
.mesh-orb:nth-child(3) { width: 500px; height: 500px; background: var(--mesh-color-3); bottom: -15%; left: 25%; animation-delay: -12s; }
.mesh-orb:nth-child(4) { width: 450px; height: 450px; background: var(--mesh-color-4); top: 15%; left: 55%; animation-delay: -18s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.12); }
  50% { transform: translate(-40px, 60px) scale(0.92); }
  75% { transform: translate(50px, 50px) scale(1.08); }
}

.noise-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.network-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; pointer-events: none; }

/* NAV */
.glass-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 2rem;
  background: var(--nav-bg); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border); transition: all var(--transition-medium);
}
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; font-size: 1.25rem; color: var(--text-primary); letter-spacing: -0.02em; }
.nav-brand-icon { width: 40px; height: 40px; background: var(--accent-gradient); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 0 20px var(--accent-glow); }
.nav-links { display: flex; align-items: center; gap: 0.5rem; list-style: none; }
.nav-link { padding: 0.6rem 1.2rem; border-radius: var(--radius-full); color: var(--text-secondary); font-weight: 500; font-size: 0.9rem;
  transition: all var(--transition-fast); position: relative; overflow: hidden; }
.nav-link::before { content: ''; position: absolute; inset: 0; background: var(--accent-glow); border-radius: var(--radius-full); opacity: 0; transform: scale(0.8); transition: all var(--transition-fast); }
.nav-link:hover::before, .nav-link.active::before { opacity: 1; transform: scale(1); }
.nav-link:hover, .nav-link.active { color: var(--accent-primary); }
.nav-link span { position: relative; z-index: 1; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

.theme-switcher { position: relative; }
.theme-btn { width: 40px; height: 40px; border-radius: var(--radius-full); border: 1px solid var(--glass-border); background: var(--glass-bg);
  backdrop-filter: blur(10px); color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all var(--transition-fast); }
.theme-btn:hover { background: var(--glass-bg-hover); transform: scale(1.1); box-shadow: 0 0 20px var(--accent-glow); }
.theme-dropdown { position: absolute; top: calc(100% + 0.5rem); right: 0; background: var(--card-bg); backdrop-filter: blur(24px);
  border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 0.5rem; min-width: 170px;
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all var(--transition-fast); box-shadow: var(--glass-shadow); }
.theme-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); }
.theme-option { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; border-radius: var(--radius-sm); cursor: pointer;
  transition: all var(--transition-fast); color: var(--text-secondary); font-size: 0.85rem; }
.theme-option:hover { background: var(--glass-bg-hover); color: var(--text-primary); }
.theme-option.active { background: var(--accent-glow); color: var(--accent-primary); }
.theme-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--glass-border); }
.theme-dot.dark { background: #0a0a0f; border-color: #ffd700; }
.theme-dot.light { background: #f0f2f5; border-color: #0066cc; }
.theme-dot.neural { background: linear-gradient(135deg, #00f5d4, #c77dff); }
.theme-dot.aurora { background: linear-gradient(135deg, #00ff88, #00d4ff); }

.mobile-menu-btn { display: none; width: 40px; height: 40px; border-radius: var(--radius-full); border: 1px solid var(--glass-border);
  background: var(--glass-bg); color: var(--text-primary); cursor: pointer; align-items: center; justify-content: center; font-size: 1.2rem; }

/* GLASS CARDS - MORE TRANSPARENT */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent); opacity: 0.4;
}
.glass-card:hover {
  transform: translateY(-4px);
  background: var(--card-bg-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 25px var(--accent-glow);
  border-color: var(--accent-primary);
}
.glass-card-strong {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.theme-light .glass-card-strong {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full); font-weight: 600; font-size: 0.9rem; cursor: pointer; border: none;
  transition: all var(--transition-fast); position: relative; overflow: hidden; font-family: var(--font-primary); }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); box-shadow: 0 4px 15px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--accent-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--btn-secondary-bg); color: var(--btn-secondary-text); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: var(--glass-bg-hover); border-color: var(--accent-primary); box-shadow: 0 0 20px var(--accent-glow); }
.btn-glass { background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text-primary); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--accent-primary); box-shadow: 0 0 20px var(--accent-glow); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.8rem; }

.btn-liquid { position: relative; z-index: 1; overflow: hidden; }
.btn-liquid::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0;
  background: rgba(255, 255, 255, 0.2); border-radius: 50%; transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease; z-index: -1; }
.btn-liquid:hover::after { width: 300px; height: 300px; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 8rem 2rem 4rem; position: relative; overflow: hidden; }
.hero-content { max-width: 900px; text-align: center; z-index: 2; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
  background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border);
  border-radius: var(--radius-full); font-size: 0.8rem; color: var(--accent-primary); margin-bottom: 1.5rem; animation: fadeInUp 0.6s ease-out; }
.hero-badge .pulse-dot { width: 8px; height: 8px; background: var(--accent-primary); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accent-glow); } 70% { box-shadow: 0 0 0 10px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.03em; animation: fadeInUp 0.6s ease-out 0.1s both; }
.hero-title .gradient-text { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-secondary); line-height: 1.7; max-width: 600px; margin: 0 auto 2.5rem; animation: fadeInUp 0.6s ease-out 0.2s both; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.6s ease-out 0.3s both; }

/* SECTIONS */
.section { padding: 6rem 2rem; position: relative; z-index: 1; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label { display: inline-block; padding: 0.4rem 1rem; background: var(--accent-glow); border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-primary); margin-bottom: 1rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
.section-desc { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

/* FEATURE CARDS */
.feature-card { padding: 2.5rem; }
.feature-icon { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem;
  color: var(--accent-primary); transition: all var(--transition-fast); }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); box-shadow: 0 0 30px var(--accent-glow); }
.feature-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.feature-desc { color: var(--text-secondary); line-height: 1.6; font-size: 0.95rem; }

/* STAT CARDS */
.stat-card { text-align: center; padding: 2rem; }
.stat-number { font-size: 3rem; font-weight: 800; background: var(--accent-gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }

/* SOFTWARE SHOWCASE */
.software-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.software-preview { position: relative; }
.software-mockup { background: var(--bg-secondary); border-radius: var(--radius-lg); border: 1px solid var(--card-border);
  overflow: hidden; box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.4); transition: all var(--transition-medium); }
.software-mockup:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.5), 0 0 30px var(--accent-glow); }
.mockup-header { padding: 1rem 1.5rem; background: rgba(0, 0, 0, 0.2); border-bottom: 1px solid var(--glass-border);
  display: flex; align-items: center; gap: 0.5rem; }
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }
.mockup-body { padding: 2rem; min-height: 300px; display: flex; flex-direction: column; gap: 1rem; }
.mockup-line { height: 12px; background: var(--glass-bg); border-radius: var(--radius-full); }
.mockup-line.short { width: 60%; }
.mockup-chart { height: 120px; background: var(--glass-bg); border-radius: var(--radius-md); margin-top: 1rem; position: relative; overflow: hidden; }
.mockup-chart::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: var(--accent-glow); border-radius: var(--radius-md) var(--radius-md) 0 0; }

.software-info .feature-list { list-style: none; margin: 1.5rem 0; }
.software-info .feature-list li { padding: 0.6rem 0; color: var(--text-secondary); display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.software-info .feature-list li i { color: var(--accent-primary); font-size: 1.1rem; }

/* DOWNLOAD */
.download-card { text-align: center; padding: 4rem 2rem; max-width: 700px; margin: 0 auto; }
.download-icon { width: 80px; height: 80px; border-radius: var(--radius-xl); background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.5rem;
  color: var(--btn-primary-text); box-shadow: 0 0 40px var(--accent-glow); animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.download-meta { display: flex; justify-content: center; gap: 2rem; margin: 1.5rem 0; flex-wrap: wrap; }
.download-meta-item { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); font-size: 0.85rem; }
.download-meta-item i { color: var(--accent-primary); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info-card { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem;
  background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); transition: all var(--transition-fast); }
.contact-item:hover { background: var(--glass-bg-hover); border-color: var(--accent-primary); transform: translateX(5px); box-shadow: 0 0 20px var(--accent-glow); }
.contact-item-icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--accent-primary); flex-shrink: 0; }
.contact-item-info h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--text-primary); }
.contact-item-info p, .contact-item-info a { font-size: 0.85rem; color: var(--text-secondary); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }
.form-input { padding: 0.875rem 1.25rem; background: var(--input-bg); border: 1px solid var(--input-border);
  border-radius: var(--radius-md); color: var(--text-primary); font-family: var(--font-primary); font-size: 0.95rem;
  transition: all var(--transition-fast); outline: none; }
.form-input:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { min-height: 120px; resize: vertical; }

/* SOCIAL */
.social-links { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.social-link { width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--glass-bg);
  border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 1.1rem; transition: all var(--transition-fast); backdrop-filter: blur(10px); }
.social-link:hover { background: var(--accent-glow); color: var(--accent-primary); border-color: var(--accent-primary);
  transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }

/* FOOTER */
.footer { padding: 3rem 2rem; border-top: 1px solid var(--glass-border); background: var(--nav-bg); backdrop-filter: blur(20px); position: relative; z-index: 1; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-brand { font-weight: 700; font-size: 1.1rem; color: var(--text-primary); }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.85rem; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--accent-primary); }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

.glow-border { position: relative; }
.glow-border::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--accent-gradient); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--transition-fast); }
.glow-border:hover::before { opacity: 1; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

@media (max-width: 768px) {
  .nav-links { position: fixed; top: 70px; left: 1rem; right: 1rem; background: var(--card-bg); backdrop-filter: blur(20px);
    border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 1rem; flex-direction: column; gap: 0.5rem;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all var(--transition-fast); box-shadow: var(--glass-shadow); }
  .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu-btn { display: flex; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .section { padding: 4rem 1.5rem; }
  .software-showcase, .contact-grid { grid-template-columns: 1fr; }
  .footer-container { flex-direction: column; text-align: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

::selection { background: var(--accent-primary); color: var(--bg-primary); }

.skeleton { background: linear-gradient(90deg, var(--glass-bg) 25%, var(--glass-bg-hover) 50%, var(--glass-bg) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }

[data-tooltip] { position: relative; }
[data-tooltip]::after { content: attr(data-tooltip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) scale(0.9);
  padding: 0.4rem 0.8rem; background: var(--bg-secondary); border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  font-size: 0.75rem; white-space: nowrap; opacity: 0; visibility: hidden; transition: all var(--transition-fast); pointer-events: none; box-shadow: var(--glass-shadow); }
[data-tooltip]:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }

.page-content { animation: fadeIn 0.4s ease-out; position: relative; z-index: 1; }

.terminal { background: rgba(0, 0, 0, 0.35); border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  padding: 1.5rem; font-family: var(--font-mono); font-size: 0.85rem; overflow-x: auto; backdrop-filter: blur(10px); }
.terminal-header { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.terminal-line { color: var(--text-secondary); line-height: 1.8; }
.terminal-line .prompt { color: var(--accent-primary); }
.terminal-line .command { color: var(--text-primary); }

.glass-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--glass-border), transparent); margin: 3rem 0; }

.glass-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.75rem;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 500; color: var(--text-secondary); backdrop-filter: blur(10px); }

.profile-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem;
  border: 2px solid var(--accent-primary); box-shadow: 0 0 30px var(--accent-glow); transition: all var(--transition-medium); }
.profile-img:hover { transform: scale(1.05); box-shadow: 0 0 50px var(--accent-glow); }

.tech-stack-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tech-pill { padding: 0.35rem 0.75rem; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-full); font-size: 0.75rem; color: var(--text-secondary); transition: all var(--transition-fast); }
.tech-pill:hover { border-color: var(--accent-primary); color: var(--accent-primary); background: var(--accent-glow); }

/* Software page extra styling */
.software-hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.software-hero-card { padding: 1.5rem; text-align: center; }
.software-hero-card i { font-size: 2rem; color: var(--accent-primary); margin-bottom: 0.75rem; }
.software-hero-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.software-hero-card p { font-size: 0.85rem; color: var(--text-secondary); }
@media (max-width: 768px) { .software-hero-cards { grid-template-columns: 1fr; } }
