/* ==========================================================================
   FUFUK.COM - Modern Futuristic Glassmorphism Stylesheet
   Tailored for Cloudflare Pages High Performance Static Web Application
   ========================================================================== */

/* 1. Design System Tokens */
:root {
  --bg-dark: #070913;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --primary: #00F2FE;
  --primary-glow: rgba(0, 242, 254, 0.35);
  --secondary: #4FACFE;
  --accent: #9B51E0;
  --accent-glow: rgba(155, 81, 224, 0.35);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 242, 254, 0.4);
  
  --font-family: 'Inter', 'Noto Sans TC', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Noto Sans TC', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(0, 242, 254, 0.18);
  --shadow-glow-accent: 0 0 30px rgba(155, 81, 224, 0.25);
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 3. Background Mesh Gradient */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.mesh-ball {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: floatBall 20s infinite ease-in-out alternate;
}

.ball-1 {
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
}

.ball-2 {
  top: 40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  animation-delay: -5s;
}

.ball-3 {
  bottom: -10%;
  left: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #2563EB, transparent 70%);
  animation-delay: -10s;
}

@keyframes floatBall {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* 4. Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.logo-accent {
  color: var(--primary);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

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

.btn-eco {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-eco-tool {
  color: #00F2FE;
  border-color: rgba(0, 242, 254, 0.25);
}

.btn-eco-tool:hover {
  background: rgba(0, 242, 254, 0.15);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
}

.btn-eco-ext {
  color: #C084FC;
  border-color: rgba(192, 132, 252, 0.25);
}

.btn-eco-ext:hover {
  background: rgba(192, 132, 252, 0.15);
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.3);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* 5. Typography & General Sections */
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 50%, #9B51E0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #070913;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
}

.btn-glow {
  position: relative;
  box-shadow: var(--shadow-glow);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-color: var(--border-glass);
  color: var(--text-main);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* 6. Hero Section */
.hero-section {
  padding: 160px 0 100px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.badge-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-subtitle strong {
  color: #FFFFFF;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-glass);
}

/* Code visual box */
.hero-visual {
  position: relative;
}

.code-window {
  background: rgba(10, 14, 29, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.1);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-glass);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-title {
  font-size: 0.82rem;
  font-family: monospace;
  color: var(--text-dim);
}

.window-body {
  padding: 24px;
  font-family: 'Fira Code', Consolas, Monaco, monospace;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Syntax Highlighting */
.c-keyword { color: #F472B6; font-weight: 600; }
.c-type { color: #38BDF8; }
.c-func { color: #FACC15; }
.c-string { color: #4ADE80; }
.c-comment { color: #64748B; font-style: italic; }

.glow-orb {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

/* 7. Ecosystem Banner & Flagship Cards */
.ecosystem-banner {
  padding: 100px 0;
  position: relative;
}

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

.eco-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(16px);
}

.eco-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
}

.eco-card-tool:hover {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 15px 40px rgba(0, 242, 254, 0.15);
}

.eco-card-ext:hover {
  border-color: rgba(155, 81, 224, 0.4);
  box-shadow: 0 15px 40px rgba(155, 81, 224, 0.15);
}

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

.eco-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-bg {
  background: rgba(0, 242, 254, 0.12);
  color: #00F2FE;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.ext-bg {
  background: rgba(155, 81, 224, 0.12);
  color: #9B51E0;
  border: 1px solid rgba(155, 81, 224, 0.3);
}

.eco-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.eco-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.eco-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.eco-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.eco-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.eco-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eco-url {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.btn-tool {
  background: rgba(0, 242, 254, 0.12);
  color: #00F2FE;
  border-color: rgba(0, 242, 254, 0.3);
}

.btn-tool:hover {
  background: #00F2FE;
  color: #070913;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.btn-ext {
  background: rgba(155, 81, 224, 0.12);
  color: #C084FC;
  border-color: rgba(155, 81, 224, 0.3);
}

.btn-ext:hover {
  background: #9B51E0;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(155, 81, 224, 0.4);
}

/* 8. Services Grid Section */
.services-section {
  padding: 100px 0;
  position: relative;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.service-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
}

/* 9. Interactive Calculator Section */
.calc-section {
  padding: 100px 0;
  position: relative;
}

.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
}

.calc-group-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.calc-radios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.radio-card.active .radio-content,
.radio-card input:checked + .radio-content {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.radio-icon {
  font-size: 1.4rem;
}

.radio-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

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

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.check-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.check-item input {
  display: none;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--text-dim);
  font-style: normal;
  font-size: 0.75rem;
  color: transparent;
  transition: var(--transition);
}

.check-item input:checked + span .check-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #070913;
  font-weight: bold;
}

.check-item input:checked + span {
  color: #FFFFFF;
}

/* Calculator Summary Box */
.calc-summary {
  height: 100%;
}

.summary-card {
  background: rgba(7, 9, 19, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 12px;
}

.result-block {
  margin-bottom: 24px;
}

.result-label {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.result-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
}

.result-days {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
}

.summary-notes {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* 10. Tech Stack Section */
.tech-section {
  padding: 100px 0;
  position: relative;
}

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

.tech-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(12px);
}

.tech-box-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  border-left: 3px solid var(--primary);
  padding-left: 12px;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  transition: var(--transition);
}

.pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.pill-glow {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--primary);
}

/* 11. Process Steps */
.process-section {
  padding: 100px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(0, 242, 254, 0.2);
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 12. Contact Section */
.contact-section {
  padding: 100px 0;
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(16px);
}

.info-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.info-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.info-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
}

.quick-eco-box {
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.quick-eco-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.quick-eco-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-eco-links a {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
}

.quick-eco-links a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(16px);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.req {
  color: #FF5F56;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(7, 9, 19, 0.7);
  border: 1px solid var(--border-glass);
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
  background: rgba(7, 9, 19, 0.9);
}

/* 13. Footer Section */
.site-footer {
  background: #04050A;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 360px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.link-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-group a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.link-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.cf-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
}

.cf-text {
  color: #F6821F;
  font-weight: 700;
}

/* 14. Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.3);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* 15. Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-content {
    text-align: center;
  }

  .hero-badge, .hero-ctas, .hero-stats {
    justify-content: center;
  }

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

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 19, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border-glass);
    display: none;
  }

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

  .mobile-toggle {
    display: flex;
  }

  .header-actions .btn-eco {
    display: none;
  }

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

  .eco-grid, .services-grid, .tech-grid, .calc-radios, .calc-checkboxes, .process-steps {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* 16. iPhone SE & Small Mobile Devices (<= 576px) */
@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  .hero-section {
    padding: 110px 0 40px;
  }

  .hero-badge {
    padding: 6px 12px;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .badge-text {
    font-size: 0.76rem;
    white-space: normal;
    text-align: center;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 16px;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 14px;
    align-items: center;
    padding-top: 18px;
    width: 100%;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .stat-num {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  /* Code Window Mobile Fix */
  .code-window {
    border-radius: var(--radius-sm);
    max-width: 100%;
  }

  .window-header {
    padding: 10px 14px;
  }

  .window-title {
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
  }

  .window-body {
    padding: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .window-body pre {
    font-size: 0.75rem;
    line-height: 1.5;
    white-space: pre;
  }

  /* Section Title & Tag */
  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .section-desc {
    font-size: 0.9rem;
  }

  /* Ecosystem Cards */
  .eco-card {
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }

  .eco-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .eco-title {
    font-size: 1.35rem;
  }

  .eco-desc {
    font-size: 0.88rem;
  }

  .eco-features li {
    font-size: 0.85rem;
  }

  .eco-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .eco-footer .btn {
    width: 100%;
    justify-content: center;
  }

  .eco-url {
    font-size: 0.82rem;
  }

  /* Services Grid */
  .service-card {
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }

  .service-title {
    font-size: 1.25rem;
  }

  .service-text {
    font-size: 0.88rem;
  }

  .service-tags span {
    font-size: 0.75rem;
    padding: 3px 10px;
  }

  /* Project Estimator Box */
  .calc-box {
    padding: 18px 12px;
    border-radius: var(--radius-md);
  }

  .calc-group-title {
    font-size: 0.95rem;
  }

  .radio-content {
    padding: 10px 12px;
  }

  .radio-label {
    font-size: 0.85rem;
  }

  .check-item {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .summary-card {
    padding: 18px 12px;
  }

  .summary-title {
    font-size: 1.15rem;
  }

  .result-price {
    font-size: 1.35rem;
    word-break: break-word;
  }

  .result-days {
    font-size: 1rem;
  }

  /* Tech Stack & Steps */
  .tech-box {
    padding: 18px 12px;
  }

  .tech-box-title {
    font-size: 1.05rem;
  }

  .pill {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .step-card {
    padding: 18px 12px;
  }

  .step-num {
    font-size: 2rem;
  }

  .step-title {
    font-size: 1.05rem;
  }

  .step-desc {
    font-size: 0.85rem;
  }

  /* Contact & Form */
  .contact-info, .contact-form-box {
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }

  .info-title {
    font-size: 1.35rem;
  }

  .info-desc {
    font-size: 0.88rem;
  }

  .info-val {
    font-size: 0.88rem;
    word-break: break-all;
  }

  .form-group label {
    font-size: 0.82rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  /* Toast Notification */
  .toast {
    left: 12px;
    right: 12px;
    bottom: 16px;
    font-size: 0.85rem;
    padding: 10px 14px;
    text-align: center;
  }
}
