:root {
  --bg-dark: #07090E;
  --bg-card: rgba(16, 22, 34, 0.7);
  --bg-card-hover: rgba(22, 30, 48, 0.85);
  --bg-elevated: #0C101A;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.4);
  --text-primary: #F0F4F8;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent-cyan: #00F2FE;
  --accent-blue: #4FACFE;
  --accent-purple: #8B5CF6;
  --accent-green: #10B981;
  --accent-orange: #F59E0B;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow: 0 0 35px rgba(0, 242, 254, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient glow background effects */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #4facfe, #00f2fe);
  top: -150px;
  right: -100px;
}
.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #8b5cf6, #3b82f6);
  bottom: 10%;
  left: -150px;
}
.glow-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 50%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(7, 9, 14, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.logo-symbol {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 242, 254, 0.25);
  font-size: 16px;
}
.highlight-x {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #07090E;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 242, 254, 0.45);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.35);
}
.btn-outline:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}
.btn-block {
  width: 100%;
}
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  transition: var(--transition);
}
.mobile-toggle:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 150px 0 80px;
  position: relative;
  z-index: 1;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.hero-title {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border);
}

/* Terminal Component */
.hero-terminal {
  background: rgba(12, 16, 26, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  font-family: var(--font-mono);
}
.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.terminal-dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.terminal-title {
  font-size: 12px;
  color: var(--text-muted);
}
.terminal-badge {
  font-size: 10px;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.terminal-body {
  padding: 24px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.5;
}
.terminal-line {
  word-break: break-all;
}
.t-prompt { color: var(--accent-cyan); font-weight: bold; }
.t-cmd { color: #fff; }
.t-muted { color: var(--text-muted); }
.t-cyan { color: var(--accent-cyan); }
.t-green { color: var(--accent-green); font-weight: 600; }
.t-success { color: #38bdf8; font-weight: 600; }
.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--accent-cyan);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Marquee */
.trust-marquee {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 16, 26, 0.5);
  overflow: hidden;
}
.marquee-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-align: center;
}
.marquee-track {
  display: flex;
  overflow: hidden;
  user-select: none;
}
.marquee-content {
  display: flex;
  gap: 20px;
  animation: scrollMarquee 30s linear infinite;
  white-space: nowrap;
}
@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand-chip {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.bg-elevated {
  background: var(--bg-elevated);
}
.section-badge {
  display: inline-block;
  background: rgba(0, 242, 254, 0.08);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(0, 242, 254, 0.2);
  margin-bottom: 16px;
}
.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 50px;
}
.text-center {
  text-align: center;
}
.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.service-card.featured {
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(180deg, rgba(22, 30, 48, 0.8) 0%, rgba(12, 16, 26, 0.9) 100%);
}
.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #8B5CF6, #4FACFE);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-icon.blue { background: rgba(79, 172, 254, 0.1); color: var(--accent-blue); }
.card-icon.purple { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }
.card-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.card-icon.orange { background: rgba(245, 158, 11, 0.1); color: var(--accent-orange); }
.card-icon.cyan { background: rgba(0, 242, 254, 0.1); color: var(--accent-cyan); }
.card-icon.pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; }

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card-features li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-features li::before {
  content: "✔";
  color: var(--accent-cyan);
  font-size: 11px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
.project-header-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 9, 14, 0.7);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-cyan);
  z-index: 2;
  border: 1px solid rgba(0, 242, 254, 0.3);
}
.project-preview {
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background-size: cover;
  background-position: center;
}
.luxury-preview {
  background: linear-gradient(135deg, #1e1b18 0%, #3a2e1d 50%, #0d0e11 100%);
  border-bottom: 2px solid #c5a059;
}
.media-preview {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #090d16 100%);
  border-bottom: 2px solid #6366f1;
}
.agro-preview {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #022c22 100%);
  border-bottom: 2px solid #10b981;
}
.preview-overlay {
  z-index: 1;
}
.preview-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  opacity: 0.85;
}
.preview-overlay h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}
.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.project-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}
.project-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.project-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.project-links {
  margin-top: auto;
}

/* Calculator Section */
.calculator-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
}
.calc-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.calc-group {
  margin-bottom: 32px;
}
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}
.pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.pill.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.check-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.check-item input {
  display: none;
}
.check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.check-item input:checked + .check-box {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.check-item input:checked + .check-box::after {
  content: "✔";
  color: #07090E;
  font-size: 12px;
  font-weight: bold;
}
.check-text {
  font-size: 14px;
  color: var(--text-secondary);
}
.check-item input:checked ~ .check-text {
  color: var(--text-primary);
  font-weight: 500;
}

/* Summary Card */
.summary-card {
  background: rgba(7, 9, 14, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-glow);
  position: sticky;
  top: 100px;
}
.summary-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}
.summary-price-wrapper {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.summary-label {
  font-size: 14px;
  color: var(--text-muted);
}
.summary-price {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  margin: 4px 0;
}
.summary-uzs {
  font-size: 15px;
  color: var(--accent-green);
  font-weight: 600;
}
.summary-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.meta-row strong {
  color: var(--text-primary);
}
.summary-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
}
.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.3);
  background: var(--bg-card-hover);
}
.tech-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.tech-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.tech-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Contact Section */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px;
}
.contact-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}
.contact-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-link-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--accent-cyan);
}
.contact-icon.tg { background: rgba(36, 161, 222, 0.1); color: #24A1DE; border-color: rgba(36, 161, 222, 0.25); }
.contact-link-text .label {
  font-size: 12px;
  color: var(--text-muted);
}
.contact-link-text .val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Form */
.contact-form {
  background: rgba(7, 9, 14, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 14px;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}
.form-privacy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: #05070A;
}
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-slogan {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  margin: 16px 0;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--accent-cyan);
}
.status-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent-green);
  font-weight: 600;
  margin-top: 12px;
}
.dot-green {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: rgba(12, 16, 26, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-cyan);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   ADVANCED MOBILE & RESPONSIVE DESIGN (App-grade & Seamless)
   ========================================================================== */

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.mobile-toggle:hover,
.mobile-toggle:focus {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.4);
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--accent-cyan);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--accent-cyan);
}

/* Tablet Layout (<= 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile Layout (<= 860px) */
@media (max-width: 860px) {
  .nav-container {
    padding: 12px 18px;
  }
  .brand-logo {
    font-size: 20px;
  }
  .logo-symbol {
    font-size: 14px;
    padding: 3px 6px;
  }
  .nav-actions .nav-btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }

  /* Slide-down Glass Mobile Menu */
  .nav-links {
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 18px 26px;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 998;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-link {
    font-size: 16px;
    font-weight: 600;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-primary);
  }
  .nav-link:hover,
  .nav-link:active {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--accent-cyan);
  }
  .nav-link::after {
    content: "→";
    color: var(--accent-cyan);
    font-size: 14px;
    opacity: 0.7;
  }

  /* Hero Mobile */
  .hero {
    padding: 100px 0 40px;
  }
  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: clamp(26px, 7.5vw, 38px);
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
  }
  .hero-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 28px;
    padding-top: 24px;
  }
  .stat-item {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
  }
  .stat-num {
    font-size: 22px;
    margin-bottom: 2px;
  }
  .stat-lbl {
    font-size: 11.5px;
  }

  /* Terminal Window */
  .terminal-window {
    max-width: 100%;
    margin-top: 10px;
  }
  .terminal-header {
    padding: 10px 14px;
  }
  .terminal-body {
    padding: 14px;
    font-size: 12px;
    line-height: 1.5;
  }
  .term-comment {
    white-space: normal;
    word-break: break-word;
  }

  /* Section Spacing & Titles */
  .section {
    padding: 60px 0;
  }
  .section-tag {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  .section-title {
    font-size: clamp(24px, 6.5vw, 32px);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }
  .section-subtitle {
    font-size: 14.5px;
    margin-bottom: 32px;
  }

  /* Services & Projects Grid (Single Column) */
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-card {
    padding: 24px 20px;
  }
  .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }
  .card-title {
    font-size: 19px;
  }

  .project-preview {
    height: 170px;
  }
  .project-body {
    padding: 20px;
  }
  .project-title {
    font-size: 18px;
  }

  /* Calculator Mobile */
  .calc-card {
    padding: 22px 16px;
  }
  .calc-sec-title {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .pill-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .pill {
    padding: 10px 8px;
    font-size: 13px;
    text-align: center;
    border-radius: var(--radius-sm);
  }
  .check-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .check-item {
    padding: 10px 12px;
  }
  .calc-summary {
    padding: 24px 18px;
  }
  .calc-price-main {
    font-size: 38px;
  }

  /* Tech Grid */
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tech-card {
    padding: 20px 18px;
  }

  /* Contact Form */
  .contact-card {
    padding: 0;
    overflow: hidden;
  }
  .contact-info-side {
    padding: 24px 20px;
  }
  .contact-form-side {
    padding: 24px 18px;
  }
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevents auto-zoom on mobile browsers */
    padding: 12px 14px;
  }
  .form-group label {
    font-size: 12.5px;
  }

  /* Footer */
  .footer {
    padding: 44px 0 24px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-slogan {
    max-width: 100%;
  }
}

/* Very Small Phones (<= 380px) */
@media (max-width: 380px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .pill-selector {
    grid-template-columns: 1fr;
  }
  .brand-logo .logo-text {
    font-size: 18px;
  }
}

