/* ─────────────────────────────────────────────
   EUROPA WATERS LLC — Global Stylesheet
   Covers: home.html, services.html, projects.html
   ───────────────────────────────────────────── */

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

:root {
  --bg:          #050d1a;
  --bg-card:     #0b1729;
  --bg-card-alt: #0e1f36;
  --border:      rgba(74, 144, 226, 0.18);
  --accent:      #4a9fe2;
  --accent-glow: rgba(74, 159, 226, 0.25);
  --accent-2:    #62e0d4;
  --text:        #e8eef6;
  --text-muted:  #7a93b4;
  --text-dim:    #4a6480;
  --live:        #3ecf8e;
  --soon:        #f0a500;
  --radius:      14px;
  --radius-sm:   8px;
  --transition:  0.25s ease;
  --font-body:   'Inter', system-ui, sans-serif;
  --font-head:   'Space Grotesk', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}

/* ── LAYOUT ── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(5, 13, 26, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  text-decoration: none;
}

.nav-brand-text {
  font-family: var(--font-head);
  font-size: clamp(0.6rem, 1.8vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-collapse {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--text);
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 159, 226, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 500px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: #3a8fd2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 159, 226, 0.35);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(74, 159, 226, 0.08);
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
.section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(74, 159, 226, 0.1);
  border: 1px solid rgba(74, 159, 226, 0.25);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 620px;
  margin-bottom: 52px;
  line-height: 1.7;
}

/* ── CARD GRID (index / portfolio pages) ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(74, 159, 226, 0.12);
}

.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(74, 159, 226, 0.1);
  border: 1px solid rgba(74, 159, 226, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.card-link:hover { color: var(--accent-2); }

/* ── HERO DIVIDER & TAGLINE ── */
.hero-divider {
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto 1.5rem;
  border: none;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0.75rem auto 2rem;
}

/* ── ACCENT BAR ── */
.accent-bar {
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border: none;
  margin: 3rem 0;
}

/* ── SKILL TAGS ── */
.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.skill-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-card);
  transition: border-color var(--transition), color var(--transition);
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ── HIRE SECTION ── */
.hire-section {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(74, 159, 226, 0.04) 0%, transparent 100%);
}

.hire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  margin-bottom: 52px;
}

.hire-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hire-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(74, 159, 226, 0.12);
}

.hire-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  line-height: 1;
}

.hire-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.hire-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hire-cta {
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hire-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hire-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PROJECTS SECTION ── */
.projects-section {
  padding-bottom: 100px;
}

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 28px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.project-card.featured {
  border-color: rgba(74, 159, 226, 0.35);
}

.project-card.featured:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(74, 159, 226, 0.15);
}

.project-card.coming-soon-card {
  opacity: 0.8;
}

.project-card.coming-soon-card:hover {
  opacity: 1;
  border-color: rgba(240, 165, 0, 0.4);
}

.project-badge {
  display: inline-block;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.project-badge.live {
  background: rgba(62, 207, 142, 0.15);
  color: var(--live);
  border: 1px solid rgba(62, 207, 142, 0.35);
}

.project-badge.soon {
  background: rgba(240, 165, 0, 0.12);
  color: var(--soon);
  border: 1px solid rgba(240, 165, 0, 0.35);
}

.project-body {
  padding: 36px 36px 32px;
}

.project-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.project-icon {
  font-size: 2.4rem;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.color-wheel-icon {
  background: none;
  border: none;
  object-fit: cover;
  padding: 0;
}

.chess-icon {
  background: linear-gradient(135deg, rgba(200, 200, 220, 0.1), rgba(100, 100, 150, 0.15));
  border: 1px solid rgba(200, 200, 220, 0.2);
  font-size: 2rem;
}

.calories-icon {
  background: linear-gradient(135deg, rgba(240, 100, 60, 0.15), rgba(240, 165, 0, 0.15));
  border: 1px solid rgba(240, 130, 60, 0.3);
}

.project-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.project-tech {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.feature-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #d0dcea;
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── DOWNLOAD BOX ── */
.download-box {
  background: rgba(5, 13, 26, 0.6);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 28px 28px 24px;
  margin-bottom: 28px;
}

.download-box h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.req-badge {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(74, 159, 226, 0.1);
  border: 1px solid rgba(74, 159, 226, 0.25);
  border-radius: 20px;
  color: var(--accent);
}

.download-steps {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.download-steps li {
  counter-increment: steps;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-steps li::before {
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.download-steps li {
  padding-left: 0;
}

.download-steps strong {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}

.code-block {
  background: #040b16;
  border: 1px solid rgba(74, 159, 226, 0.2);
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-x: auto;
}

.code-block code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.82rem;
  color: var(--accent-2);
  white-space: nowrap;
}

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

kbd {
  display: inline-block;
  padding: 1px 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.82rem;
  color: #d0dcea;
}

.project-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── COMING SOON ── */
.coming-soon-bar {
  height: 4px;
  background: rgba(240, 165, 0, 0.12);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
  margin-top: 4px;
}

.coming-soon-fill {
  height: 100%;
  width: 22%;
  background: linear-gradient(90deg, var(--soon), rgba(240, 165, 0, 0.5));
  border-radius: 2px;
  animation: pulse-bar 2.5s ease-in-out infinite;
}

@keyframes pulse-bar {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.coming-soon-label {
  font-size: 0.77rem;
  color: var(--soon);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  text-align: center;
}

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

.footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav {
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-collapse {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 4px;
    border-top: 1px solid var(--border);
    margin-top: 10px;
  }

  .nav-collapse.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 10px 4px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-collapse > .btn-sm {
    margin-top: 12px;
    align-self: flex-start;
  }

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

  .project-body {
    padding: 24px 20px 20px;
  }

  .download-box {
    padding: 20px 18px;
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .project-badge {
    top: 14px;
    right: 14px;
  }
}

/* ═══════════════════════════════════════════════
   HOME PAGE STYLES
════════════════════════════════════════════════ */

/* Nav additions */
.nav-logo-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 8px var(--accent);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

/* HOME HERO */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-space-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 60%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 70% 15%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 85%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 40%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 92% 35%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 90%, rgba(255,255,255,0.4) 0%, transparent 100%);
}

.hero-glow-large {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(74, 159, 226, 0.12) 0%, transparent 65%);
}

.hero-moon-ring {
  position: absolute;
  bottom: -180px;
  right: -120px;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(74, 159, 226, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(74, 159, 226, 0.06) inset;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 700px;
}

.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(74, 159, 226, 0.1);
  border: 1px solid rgba(74, 159, 226, 0.25);
  color: var(--accent);
  letter-spacing: 0.04em;
}

.home-hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

.home-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* BRAND STRIP */
.brand-strip {
  background: #ffffff;
  padding: 80px 0;
  border-bottom: 1px solid #e8ecf2;
}

.brand-strip-inner {
  text-align: center;
  max-width: 780px;
}

.brand-accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.brand-quote {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: #1a2640;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 20px;
}

.brand-desc {
  font-size: 1rem;
  color: #4a6480;
  line-height: 1.75;
  margin-bottom: 48px;
}

.brand-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid #e2e8f0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: #7a93b4;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* LIGHT SECTION */
.light-section {
  background: #f7f9fc;
  padding: 80px 0;
  border-top: 1px solid #e8ecf2;
  border-bottom: 1px solid #e8ecf2;
}

.dark-label {
  background: rgba(74, 159, 226, 0.08) !important;
  border-color: rgba(74, 159, 226, 0.2) !important;
}

.dark-title {
  color: #1a2640 !important;
}

/* PILLARS */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 32px 24px;
  border-top: 3px solid transparent;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.pillar-art { border-top-color: #e8785a; }
.pillar-tech { border-top-color: var(--accent); }
.pillar-services { border-top-color: var(--accent-2); }

.pillar-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.art-icon-wrap { background: rgba(232, 120, 90, 0.1); }
.tech-icon-wrap { background: rgba(74, 159, 226, 0.1); }
.services-icon-wrap { background: rgba(98, 224, 212, 0.1); }

.pillar-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2640;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.88rem;
  color: #4a6480;
  line-height: 1.65;
  margin-bottom: 18px;
}

.pillar-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

.pillar-link:hover { color: #3a8fd2; }

/* SHOP SECTION */
.shop-section {
  background: #ffffff;
  padding: 80px 0;
  border-bottom: 1px solid #e8ecf2;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-outline-dark {
  background: transparent;
  color: #1a2640;
  border: 1px solid #c8d0dc;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition);
}

.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.shop-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.shop-img-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.science-bg { background: linear-gradient(135deg, #0b1729, #1a2e4a); }
.art-bg { background: linear-gradient(135deg, #1a0a2e, #2e1a3a); }
.book-bg { background: linear-gradient(135deg, #0d1f0d, #1a3a1a); }
.wave-bg { background: linear-gradient(135deg, #050d1a, #0b2240); }

.shop-card-body {
  padding: 16px 18px 20px;
}

.shop-category {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}

.shop-card-body h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a2640;
  margin-bottom: 6px;
  line-height: 1.3;
}

.shop-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2640;
  margin-bottom: 12px;
}

.shop-btn {
  width: 100%;
  text-align: center;
}

/* PROJECTS PREVIEW (dark) */
.dark-section {
  background: var(--bg);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.projects-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.projects-preview-left {
  position: sticky;
  top: 100px;
}

.projects-preview-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition: border-color var(--transition);
}

.mini-project-card:hover {
  border-color: var(--accent);
}

.mini-project-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mini-project-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.mini-project-header h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.mini-project-header p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.mini-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.live-badge {
  background: rgba(62, 207, 142, 0.12);
  color: var(--live);
  border: 1px solid rgba(62, 207, 142, 0.3);
}

.soon-badge {
  background: rgba(240, 165, 0, 0.1);
  color: var(--soon);
  border: 1px solid rgba(240, 165, 0, 0.25);
}

.mini-project-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 8px;
}

.mini-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

/* ABOUT STRIP */
.about-strip {
  background: #fff;
  padding: 80px 0;
  border-bottom: 1px solid #e8ecf2;
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
}

.about-photo-frame {
  position: relative;
}

.about-photo-placeholder {
  background: linear-gradient(135deg, #0b1729, #1a2e50);
  border-radius: 16px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0dcea;
}

.about-photo-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a2640;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

.tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 20px;
  background: #eef2f8;
  color: #4a6480;
  border: 1px solid #d8e0ec;
}

/* CTA STRIP */
.cta-strip {
  position: relative;
  background: linear-gradient(180deg, #050d1a 0%, #0b1729 100%);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(74,159,226,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.cta-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-sub strong {
  color: var(--text);
}

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 14px;
}

.cta-input {
  flex: 1;
  padding: 13px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}

.cta-input:focus {
  border-color: var(--accent);
}

.cta-fine {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* HOME FOOTER */
.home-footer {
  background: #040b16;
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
}

.home-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-brand-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}

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

.footer-hire-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════
   SERVICES PAGE STYLES
════════════════════════════════════════════════ */

/* CREDENTIALS BAR */
.cred-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.cred-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.cred-icon {
  font-size: 1rem;
}

.cred-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  flex-shrink: 0;
}

/* SERVICE BLOCKS */
.service-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 34px;
  margin-bottom: 20px;
  transition: border-color var(--transition);
}

.service-block:hover {
  border-color: rgba(74,159,226,0.4);
}

.service-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.service-number {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.service-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.ios-color { background: rgba(74,159,226,0.12); border: 1px solid rgba(74,159,226,0.25); }
.ai-color { background: rgba(98,224,212,0.1); border: 1px solid rgba(98,224,212,0.2); }
.data-color { background: rgba(62,207,142,0.1); border: 1px solid rgba(62,207,142,0.2); }
.controls-color { background: rgba(240,165,0,0.1); border: 1px solid rgba(240,165,0,0.2); }
.pm-color { background: rgba(168,100,220,0.1); border: 1px solid rgba(168,100,220,0.2); }

.service-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.service-rate {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 18px;
}

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

.stag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* PROCESS */
.process-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 160px;
  padding: 24px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}

.process-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 auto 14px;
}

.process-step h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.process-arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
  padding-top: 28px;
  flex-shrink: 0;
}

/* WHY SECTION */
.why-section {
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color var(--transition), transform var(--transition);
}

.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.why-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.why-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* CONTACT */
.contact-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 44px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-detail-item a {
  color: var(--accent);
  text-decoration: none;
}

.contact-detail-item a:hover {
  text-decoration: underline;
}

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

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a93b4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

/* ── ADDITIONAL RESPONSIVE ── */
@media (max-width: 900px) {
  .brand-stats { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-preview-inner { grid-template-columns: 1fr; }
  .projects-preview-left { position: static; }
  .about-strip-inner { grid-template-columns: 1fr; }
  .about-photo-frame { max-width: 320px; margin: 0 auto; }
  .home-footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { grid-template-columns: 1fr; gap: 36px; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand-stats { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: 1fr; }
  .home-footer-grid { grid-template-columns: 1fr; }
  .cred-bar-inner { justify-content: flex-start; overflow-x: auto; }
  .cred-divider { display: none; }
  .process-steps { flex-direction: column; }
  .process-arrow { display: none; }
  .cta-form { flex-direction: column; }
  .contact-card { padding: 28px 20px; }
  .service-block { padding: 22px 18px; }
  .service-block-header { flex-wrap: wrap; }
  .home-hero-content { padding: 100px 24px 60px; }
}
