/* ==========================================================
   OZYTECH LTD — WEBSITE STYLESHEET
   Dark & Premium Design | Mobile-First | 2024
   ========================================================== */

/* ==========================================================
   1. CUSTOM PROPERTIES
   ========================================================== */
:root {
  /* Brand Colours */
  --color-bg:           #0a0f1e;
  --color-bg-alt:       #0d1530;
  --color-surface:      rgba(255, 255, 255, 0.03);
  --color-surface-hover: rgba(0, 212, 255, 0.05);
  --color-accent:       #00d4ff;
  --color-accent-dim:   rgba(0, 212, 255, 0.15);
  --color-accent-glow:  rgba(0, 212, 255, 0.35);
  --color-accent-dark:  rgba(0, 212, 255, 0.08);
  --color-text:         #e2e8f0;
  --color-text-muted:   #7a8ba0;
  --color-text-dim:     #4a5a6e;
  --color-white:        #ffffff;
  --color-border:       rgba(0, 212, 255, 0.12);
  --color-border-hover: rgba(0, 212, 255, 0.4);
  --color-error:        #ff6b6b;

  /* Typography */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono:    'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 4rem);
  --header-height: 72px;
  --section-py:    clamp(5rem, 10vw, 8rem);

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Transitions */
  --ease-fast:  0.18s ease;
  --ease-med:   0.35s ease;
  --ease-slow:  0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-glow:        0 0 30px rgba(0, 212, 255, 0.18);
  --shadow-glow-strong: 0 0 50px rgba(0, 212, 255, 0.3);
  --shadow-card:        0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-card-hover:  0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 212, 255, 0.12);
}

/* ==========================================================
   2. RESET & BASE
   ========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -5%, rgba(0, 212, 255, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 85%, rgba(0, 80, 160, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

abbr {
  text-decoration: none;
  color: var(--color-accent);
}

/* ==========================================================
   3. TYPOGRAPHY
   ========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
}

.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-sub {
  margin: 0 auto;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   4. UTILITY & LAYOUT
   ========================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

section {
  padding: var(--section-py) 0;
}

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

/* Section Divider */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

/* ==========================================================
   5. BUTTONS
   ========================================================== */
.btn-primary,
.btn-outline,
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: all var(--ease-med);
  white-space: nowrap;
  border: none;
}

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

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 40px var(--color-accent-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent-dim);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ==========================================================
   6. SCROLL REVEAL ANIMATIONS
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--ease-slow), transform var(--ease-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================
   7. HEADER & NAV
   ========================================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--ease-med), box-shadow var(--ease-med), backdrop-filter var(--ease-med);
}

#site-header.scrolled {
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border), 0 8px 32px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: baseline;
  gap: 0.08em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-ozy {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.logo-tech {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.logo-tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-left: 0.4rem;
  align-self: center;
}

/* Desktop Nav */
#nav-menu {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

#nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color var(--ease-fast), background var(--ease-fast);
}

#nav-menu a:hover,
#nav-menu a.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.05);
}

#nav-menu a.active {
  color: var(--color-accent);
  background: var(--color-accent-dark);
}

.btn-nav {
  background: transparent;
  color: var(--color-accent) !important;
  border: 1.5px solid var(--color-accent);
  padding: 0.5rem 1.2rem !important;
  font-size: 0.875rem !important;
  margin-left: 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--ease-med) !important;
}

.btn-nav:hover {
  background: var(--color-accent-dim) !important;
  box-shadow: var(--shadow-glow) !important;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background var(--ease-fast);
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.07);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--ease-med), opacity var(--ease-med), width var(--ease-med);
}

.nav-toggle span:nth-child(1) { width: 24px; }
.nav-toggle span:nth-child(2) { width: 18px; }
.nav-toggle span:nth-child(3) { width: 24px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 24px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 24px;
}

/* Nav Overlay (mobile) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 20, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-med);
}

.nav-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* ==========================================================
   8. HERO SECTION
   ========================================================== */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 4rem) 0 5rem;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1.5px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.hero-headline {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  letter-spacing: 0.04em;
}

.hero-trust span {
  color: var(--color-text-muted);
}

/* Code Window */
.hero-visual {
  display: none;
}

.code-window {
  background: #0d1117;
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 60px rgba(0, 212, 255, 0.08);
}

.code-window-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.code-window-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-left: 0.5rem;
}

.code-block {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: #c9d1d9;
  overflow-x: auto;
  white-space: pre;
}

.c-kw  { color: #ff79c6; }
.c-type { color: #8be9fd; }
.c-str { color: #f1fa8c; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.4;
  transition: opacity var(--ease-fast);
  z-index: 1;
}

.hero-scroll-hint:hover {
  opacity: 0.8;
}

.scroll-arrow {
  display: block;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--color-text);
  border-bottom: 2px solid var(--color-text);
  transform: rotate(45deg);
  animation: bounce 1.8s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ==========================================================
   9. ABOUT SECTION
   ========================================================== */
#about {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.02) 50%, transparent 100%);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.about-left {
  padding-top: 0.5rem;
}

.about-year {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.about-year-num {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-year-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.about-address {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  border-left: 2px solid var(--color-border);
  padding-left: 1.25rem;
}

.about-address a {
  color: var(--color-accent);
  transition: opacity var(--ease-fast);
}

.about-address a:hover {
  opacity: 0.75;
}

.about-right p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  max-width: 620px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--ease-fast);
}

.badge:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text);
}

/* ==========================================================
   10. SERVICES SECTION
   ========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: border-color var(--ease-med), transform var(--ease-med), box-shadow var(--ease-med), background var(--ease-med);
  backdrop-filter: blur(10px);
}

.service-card:hover {
  border-left-color: var(--color-accent);
  background: var(--color-surface-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-dark);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  transition: background var(--ease-fast), box-shadow var(--ease-fast);
}

.service-card:hover .service-icon {
  background: var(--color-accent-dim);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tags li {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  background: var(--color-accent-dark);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-accent);
  text-transform: uppercase;
}

/* ==========================================================
   11. WHY CHOOSE US / STATS
   ========================================================== */
#why-us {
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.025), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--ease-med), box-shadow var(--ease-med);
}

.stat-item:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.stat-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-dim);
  line-height: 1.5;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.trust-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-dark);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  flex-shrink: 0;
}

.trust-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trust-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================
   12. CLIENTS / PORTFOLIO
   ========================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--ease-med);
  margin: 0;
  cursor: default;
}

.client-logo-item:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
  background: var(--color-surface-hover);
}

.client-logo-item img {
  max-height: 44px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.65);
  transition: filter var(--ease-med);
}

.client-logo-item:hover img {
  filter: grayscale(0%) brightness(1);
}

.clients-note {
  font-size: 0.875rem;
  color: var(--color-text-dim);
  text-align: center;
  font-style: italic;
}

/* ==========================================================
   13. PRODUCTS SECTION
   ========================================================== */
.product-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
  transition: box-shadow var(--ease-med);
}

.product-featured:hover {
  box-shadow: var(--shadow-card-hover);
}

.product-featured-image {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.product-app-icon-wrap {
  flex-shrink: 0;
}

.product-app-icon {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
  border: 1px solid var(--color-border);
}

.product-screenshot {
  max-height: 250px;
  width: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  object-fit: contain;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: var(--color-accent-dark);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
}

.product-badge.live {
  background: rgba(0, 210, 100, 0.08);
  border-color: rgba(0, 210, 100, 0.2);
  color: #00d264;
}

.product-badge.legacy {
  background: rgba(160, 120, 0, 0.08);
  border-color: rgba(200, 160, 0, 0.2);
  color: #c8a000;
}

.product-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 1rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin: 1.5rem 0;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.product-features li svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Secondary product card */
.products-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.product-secondary-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--ease-med), border-color var(--ease-med);
}

.product-secondary-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.product-secondary-icon {
  flex-shrink: 0;
}

.product-secondary-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.product-secondary-info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================
   14. TECHNOLOGY STACK
   ========================================================== */
#tech-stack {
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02), transparent);
}

.stack-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.stack-group-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--ease-fast);
  cursor: default;
}

.tech-badge:hover {
  border-color: var(--color-border-hover);
  color: var(--color-accent);
  box-shadow: 0 0 15px var(--color-accent-dim);
  background: var(--color-accent-dark);
}

/* ==========================================================
   15. CONTACT SECTION
   ========================================================== */
#contact {
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02), transparent);
}

.contact-inner {
  display: block;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  grid-column: 1 / -1;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-detail svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail a {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-detail a:hover {
  opacity: 0.75;
}

.contact-availability {
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact-availability strong {
  color: var(--color-white);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-services-list {
  font-size: 0.9rem;
}

.contact-services-list strong {
  color: var(--color-white);
  display: block;
  margin-bottom: 0.75rem;
}

.contact-services-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-services-list ul li {
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-services-list ul li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-optional {
  color: var(--color-text-dim);
  font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast), background var(--ease-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8ba0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: #0d1530;
  color: var(--color-text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-dim);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
  background: rgba(0, 212, 255, 0.04);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--color-error);
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 0.35rem;
  min-height: 1rem;
}

.form-success {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.form-success::before {
  content: '✓';
  display: block;
  width: 56px;
  height: 56px;
  background: rgba(0, 210, 100, 0.1);
  border: 1px solid rgba(0, 210, 100, 0.3);
  border-radius: 50%;
  color: #00d264;
  font-size: 1.5rem;
  line-height: 56px;
  text-align: center;
  margin: 0 auto 1.5rem;
}

/* ==========================================================
   16. FOOTER
   ========================================================== */
#site-footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
  background: rgba(0,0,0,0.3);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-brand .site-logo {
  margin-bottom: 0.75rem;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--ease-fast);
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  line-height: 1.8;
}

.footer-legal a {
  color: var(--color-text-muted);
  transition: color var(--ease-fast);
}

.footer-legal a:hover {
  color: var(--color-accent);
}

/* ==========================================================
   17. FOCUS STYLES (Accessibility)
   ========================================================== */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================
   18. RESPONSIVE — 640px+
   ========================================================== */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-item {
    flex-direction: row;
    align-items: flex-start;
  }

  .stack-groups {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-secondary {
    grid-template-columns: 1fr;
  }

  .product-features {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================
   19. RESPONSIVE — 900px+
   ========================================================== */
@media (min-width: 900px) {
  #nav-menu {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .hero-visual {
    display: block;
  }

  .hero-sub {
    max-width: none;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-inner {
    grid-template-columns: 280px 1fr;
    gap: 5rem;
  }

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-info {
    grid-template-columns: 1.2fr 1fr 1.5fr;
    gap: 0 4rem;
    align-items: start;
  }

  .product-featured {
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
  }

  .product-featured-image {
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
  }

  .product-screenshot {
    max-height: 380px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
  }

  .footer-brand {
    flex: 0 0 200px;
  }

  .footer-legal {
    text-align: right;
    flex: 0 0 auto;
  }
}

/* ==========================================================
   20. RESPONSIVE — 1200px+
   ========================================================== */
@media (min-width: 1200px) {
  .clients-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .stack-groups {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-headline {
    font-size: 5.2rem;
  }

  .product-featured-image {
    min-width: 260px;
  }
}

/* ==========================================================
   21. REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-arrow {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
