/* ============================================================
   EkushLabs — style.css
   Structure:
   1.  Variables
   2.  Reset
   3.  Typography
   4.  Background & Noise
   5.  Layout Helpers
   6.  Navbar
   7.  Hero
   8.  Section Commons
   9.  Apps Section
   10. About Section
   11. Contact Section
   12. Footer
   13. Animations & Reveal
   14. Responsive
============================================================ */


/* ─── 1. VARIABLES ──────────────────────────────────────────── */
:root {
  /* Colors */
  --navy:          #080D1A;
  --navy-mid:      #0E1628;
  --navy-light:    #162035;
  --steel:         #2A3A5C;
  --silver:        #8A9BB8;
  --silver-lt:     #C4CFDF;
  --cyan:          #00D4FF;
  --cyan-dim:      rgba(0, 212, 255, 0.12);
  --cyan-glow:     rgba(0, 212, 255, 0.35);
  --white:         #F0F4FF;
  --text-muted:    #6A7A96;

  /* Typography */
  --font-display:  'Bebas Neue', sans-serif;
  --font-cond:     'Barlow Condensed', sans-serif;
  --font-body:     'Barlow', sans-serif;

  /* Misc */
  --radius:        4px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}


/* ─── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: normal;
  line-height: 1;
}


/* ─── 4. BACKGROUND & NOISE ─────────────────────────────────── */

/* Subtle noise grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* Grid lines */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}


/* ─── 5. LAYOUT HELPERS ─────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 212, 255, 0.2), transparent);
  position: relative;
  z-index: 1;
}

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

.center {
  text-align: center;
  justify-content: center;
}


/* ─── 6. NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 70px;
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  transition: border-color var(--transition);
}

#navbar.scrolled {
  border-bottom-color: rgba(0, 212, 255, 0.18);
}

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

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--cyan-glow));
  transition: filter var(--transition);
}

.nav-brand:hover .nav-logo {
  filter: drop-shadow(0 0 16px var(--cyan));
}

.nav-name {
  font-family: var(--font-cond);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--cyan);
}

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


/* ─── 7. HERO ───────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5vw 80px;
  overflow: hidden;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(74, 111, 165, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 24px var(--cyan-glow));
  animation: float 4s ease-in-out infinite, fadeUp 0.8s ease both;
}

.hero-eyebrow {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: var(--silver);
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cyan);
  padding: 14px 36px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition);
  animation: fadeUp 0.8s 0.4s ease both;
  box-shadow: 0 0 30px var(--cyan-glow);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
}

.hero-cta:hover {
  background: #fff;
  box-shadow: 0 0 50px var(--cyan);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s 0.8s ease both;
}

.hero-scroll span {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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


/* ─── 8. SECTION COMMONS ────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: 100px 5vw;
}

.section-label {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}

.section-label.center::before {
  display: none;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--silver);
  max-width: 520px;
  line-height: 1.7;
}


/* ─── 9. APPS SECTION ───────────────────────────────────────── */
#apps {
  background: var(--navy-mid);
}

.apps-header {
  margin-bottom: 4rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.08);
}

.app-card {
  background: var(--navy-mid);
  padding: 3rem 2.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--cyan);
  transition: height 0.4s ease;
}

.app-card:hover {
  background: var(--navy-light);
}

.app-card:hover::before {
  height: 100%;
}

.app-card-tag {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
}

.app-card-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}

.app-card-desc {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.7;
}

.app-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.app-card-status {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.status-dot.soon {
  background: var(--silver);
  animation: none;
}

.app-card.coming-soon {
  opacity: 0.4;
  pointer-events: none;
}


/* ─── 10. ABOUT SECTION ─────────────────────────────────────── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.8;
  margin-top: 1.5rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.value-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2;
}

.value-text h4 {
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.value-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-stat {
  padding: 2rem;
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: border-color var(--transition);
}

.about-stat:hover {
  border-color: rgba(0, 212, 255, 0.3);
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: 0.04em;
}

.about-stat-label {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 0.5rem;
}


/* ─── 11. CONTACT SECTION ───────────────────────────────────── */
#contact {
  background: var(--navy-mid);
  text-align: center;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner .section-subtitle {
  margin: 0 auto;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-cond);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  padding: 18px 40px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  margin-top: 2.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-email::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan-dim);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.contact-email:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.contact-email:hover::before {
  transform: scaleX(1);
}

.contact-email span,
.contact-email svg {
  position: relative;
  z-index: 1;
}

.contact-email svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}


/* ─── 12. FOOTER ────────────────────────────────────────────── */
#footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-brand:hover .footer-logo {
  opacity: 1;
}

.footer-name {
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-brand:hover .footer-name {
  color: var(--silver);
}

.footer-tagline {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}


/* ─── 13. ANIMATIONS & REVEAL ───────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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


/* ─── 14. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  #about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-right {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .about-stat {
    flex: 1;
    min-width: 140px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .hero-logo {
    width: 80px;
    height: 80px;
  }

  #footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-tagline {
    display: none;
  }

  .contact-email {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
}