/* ==========================================================================
   CYBEXTECH — MODERN SKY BLUE & WHITE THEME (ONE PAGE)
   Aesthetic: Clean, Premium, High-Trust, Smoothly Animated
   ========================================================================== */

:root {
  /* Sky Blue & White Palette */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-sky-50: #f0f9ff;
  --bg-sky-100: #e0f2fe;
  --bg-sky-200: #bae6fd;
  
  /* Primary Brand Sky Blues */
  --sky-primary: #0284c7;
  --sky-bright: #0ea5e9;
  --sky-light: #38bdf8;
  --sky-deep: #0369a1;
  --sky-glow: rgba(14, 165, 233, 0.25);
  --sky-subtle: rgba(14, 165, 233, 0.08);

  /* Typography / Contrasts */
  --text-dark: #0f172a;       /* Deep slate navy */
  --text-body: #334155;       /* Slate body */
  --text-muted: #64748b;      /* Slate muted */
  --text-light: #94a3b8;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-sky: rgba(14, 165, 233, 0.2);
  --border-sky-hover: rgba(14, 165, 233, 0.5);

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(14, 165, 233, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(14, 165, 233, 0.14), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.35);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-white);
  color: var(--text-dark);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  background-color: var(--bg-white);
  color: var(--text-body);
  overflow-x: hidden;
  position: relative;
}

/* Soft Ambient Sky Background Glows */
.ambient-glow-1 {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(240, 249, 255, 0.8) 50%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 1400px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.text-sky {
  color: var(--sky-bright);
}

.gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  height: 68px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-icon {
  transform: rotate(5deg) scale(1.05);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  line-height: 1;
}

.brand-title span {
  color: var(--sky-bright);
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-dark);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--sky-bright);
  color: var(--sky-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 90px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-sky-50);
  border: 1px solid var(--border-sky);
  color: var(--sky-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-dark);
  max-width: 950px;
  margin: 0 auto 24px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

/* Hero Animated Interactive Showcase Board */
.hero-showcase {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.hero-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgba(14, 165, 233, 0.2);
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

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

.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.pill-dot.red { background: #f87171; }
.pill-dot.yellow { background: #fbbf24; }
.pill-dot.green { background: #34d399; }

.showcase-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sky-primary);
  background: var(--bg-sky-50);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  text-align: left;
}

.showcase-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.25s ease;
}

.showcase-card:hover {
  background: var(--bg-sky-50);
  border-color: var(--border-sky);
  transform: translateY(-3px);
}

.showcase-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   METRICS / HIGHLIGHTS RIBBON
   ========================================================================== */
.metrics-ribbon {
  background: var(--bg-sky-50);
  border-top: 1px solid var(--border-sky);
  border-bottom: 1px solid var(--border-sky);
  padding: 48px 0;
  margin-bottom: 90px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--sky-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  margin-top: 8px;
}

/* ==========================================================================
   SERVICES SECTION (WHAT WE BUILD)
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sky-primary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  line-height: 1.15;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  position: relative;
}

.service-card:hover {
  border-color: var(--sky-bright);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-sky-50);
  border: 1px solid var(--border-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-bright);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--sky-bright);
  color: #fff;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PROPRIETARY PRODUCTS (PROVED PURPOSE)
   ========================================================================== */
.products-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.product-banner {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-sky-50) 100%);
  border: 1px solid var(--border-sky);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  transition: transform 0.3s ease;
}

.product-banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--sky-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.product-heading {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.product-details {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 24px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.p-tag {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sky-primary);
}

.product-preview-frame {
  background: var(--bg-white);
  border: 1px solid var(--border-sky);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.preview-content {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   PROCESS (HOW WE WORK)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.process-step {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: var(--sky-bright);
  transform: translateY(-4px);
}

.step-badge {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--sky-bright);
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

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

/* ==========================================================================
   CONTACT / INQUIRY FORM
   ========================================================================== */
.contact-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-sky-50) 100%);
  padding: 90px 0;
  border-top: 1px solid var(--border-light);
}

.contact-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-sky);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

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

.form-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  font-size: 0.95rem;
  color: var(--text-dark);
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--sky-bright);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--sky-primary);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .product-banner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .contact-box {
    padding: 32px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
}
