/* ===================== RESET & BASE ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #005aff;
  --blue-light: #3d7fff;
  --blue-pale: #e8eeff;
  --orange: #ff4500;
  --orange-light: #ff7235;
  --yellow: #ffc200;
  --green: #00c87a;
  --bg: #ffffff;
  --bg2: #f3f6ff;
  --bg3: #e6ebff;
  --card: #ffffff;
  --card2: #f7f9ff;
  --border: rgba(0,90,255,0.13);
  --border-strong: rgba(0,90,255,0.28);
  --text: #0b1640;
  --text-mid: #2d3f80;
  --text-dim: #6678aa;
  --white: #ffffff;
  --dark: #040e30;
  --font-display: 'Orbitron', monospace;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  /* cursor: none; */
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { 
    /* cursor: none;  */
    border: none; background: none; font-family: inherit; }

/* ===================== CUSTOM CURSOR ===================== */
#cursor-dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 9999; transform: translate(-50%,-50%);
  transition: transform 0.05s, background 0.2s;
  mix-blend-mode: multiply;
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 9998; transform: translate(-50%,-50%);
  transition: transform 0.15s ease, width 0.2s, height 0.2s, border-color 0.2s, opacity 0.2s;
  opacity: 0.45;
}
body:hover #cursor-ring { opacity: 0.9; }

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* ===================== SUBTLE TEXTURE ===================== */
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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9990; opacity: 0.12;
}

/* ===================== HEADER / NAV ===================== */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: none;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,90,255,0.07);
  will-change: transform;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--dark);
  position: relative;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.logo span { color: var(--blue); }
.logo::after {
  content: 'MOBILE ACCESSORIES';
  position: absolute; bottom: -10px; left: 0;
  font-size: 0.38rem; letter-spacing: 0.35em;
  color: var(--text-dim); font-family: var(--font-mono);
  white-space: nowrap;
}
.logo:hover {
  color: var(--blue);
  text-shadow: 0 0 2px rgba(0,90,255,0.3);
}

/* Hamburger */
.menu-btn {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 6px;
  position: relative; z-index: 1100;
  padding: 6px;
}
.menu-btn span {
  display: block; height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transition: all 0.4s cubic-bezier(0.77,0,0.175,1);
  transform-origin: center;
}
.menu-btn span:nth-child(1) { width: 100%; }
.menu-btn span:nth-child(2) { width: 70%; margin-left: auto; }
.menu-btn span:nth-child(3) { width: 100%; }
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 100%; background: var(--orange); }
.menu-btn.open span:nth-child(2) { transform: scaleX(0); opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--orange); }

/* ===================== FULL SCREEN NAV OVERLAY ===================== */
#nav-overlay {
  position: fixed; inset: 0;
  z-index: 1050;
  pointer-events: none;
  overflow: hidden;
}
.nav-panel {
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: linear-gradient(145deg, #ffffff 0%, #f0f5ff 50%, #e8f0ff 100%);
  transform: translateX(100%);
  transition: transform 0.7s cubic-bezier(0.77,0,0.175,1);
  display: flex; flex-direction: column;
  justify-content: center; padding: 0 8%;
  border-left: 3px solid var(--blue);
  box-shadow: -30px 0 80px rgba(0,90,255,0.15);
}
.nav-bg-stripe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 3px,
    rgba(0,90,255,0.03) 3px,
    rgba(0,90,255,0.03) 4px
  );
  pointer-events: none;
}
.nav-overlay-bg {
  position: absolute; top: 0; left: 0;
  width: 45%; height: 100%;
  background: rgba(255,255,255,0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.77,0,0.175,1), background 0.7s;
}

#nav-overlay.open { pointer-events: all; }
#nav-overlay.open .nav-panel { transform: translateX(0); }
#nav-overlay.open .nav-overlay-bg {
  transform: scaleX(1);
  background: rgba(220,230,255,0.6);
  backdrop-filter: none;
}

/* Nav links */
.nav-links { list-style: none; }
.nav-links li {
  overflow: hidden;
  margin-bottom: 4px;
}
.nav-links li a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 12px 0;
  transform: translateY(100%);
  transition: color 0.3s, transform 0.6s cubic-bezier(0.77,0,0.175,1);
  position: relative;
}
.nav-links li a::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--blue);
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%) translateX(-110%);
  opacity: 0; transition: opacity 0.3s;
  letter-spacing: 0.2em;
}
.nav-links li a::after {
  content: '';
  position: absolute; bottom: 8px; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transition: width 0.4s cubic-bezier(0.77,0,0.175,1);
}
.nav-links li a:hover { color: var(--dark); }
.nav-links li a:hover::before { opacity: 1; }
.nav-links li a:hover::after { width: 60px; }
#nav-overlay.open .nav-links li a { transform: translateY(0); }
#nav-overlay.open .nav-links li:nth-child(1) a { transition-delay: 0.1s; }
#nav-overlay.open .nav-links li:nth-child(2) a { transition-delay: 0.17s; }
#nav-overlay.open .nav-links li:nth-child(3) a { transition-delay: 0.24s; }
#nav-overlay.open .nav-links li:nth-child(4) a { transition-delay: 0.31s; }
#nav-overlay.open .nav-links li:nth-child(5) a { transition-delay: 0.38s; }
#nav-overlay.open .nav-links li:nth-child(6) a { transition-delay: 0.45s; }

.nav-footer {
  position: absolute; bottom: 40px; left: 8%;
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--text-dim); letter-spacing: 0.15em;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s 0.5s, transform 0.4s 0.5s;
}
#nav-overlay.open .nav-footer { opacity: 1; transform: translateY(0); }
.nav-decor {
  position: absolute; top: 40px; left: 8%;
  font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--blue); opacity: 0;
  transition: opacity 0.4s 0.4s;
  font-weight: 600;
}
#nav-overlay.open .nav-decor { opacity: 0.7; }

/* ===================== HERO ===================== */
#home {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px 5% 60px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 35%, #fff5ee 70%, #fff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  width: 100%; max-width: 1400px; margin: auto;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.3em;
  color: var(--blue); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 600;
}
.hero-tag::before {
  content: ''; display: block;
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  color: var(--blue);
  position: relative;
  display: inline-block;
}
.hero-title em::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 2px;
  animation: lineFlicker 2s infinite;
}
@keyframes lineFlicker {
  0%,100% { opacity: 1; scaleX: 1; }
  50% { opacity: 0.6; }
  75% { opacity: 0.95; }
}
.hero-desc {
  font-size: 1.1rem; font-weight: 400;
  line-height: 1.8; color: var(--text-mid);
  max-width: 480px; margin-bottom: 44px;
  letter-spacing: 0.01em;
}
.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white); font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: all 0.3s;
  box-shadow: 0 6px 24px rgba(0,90,255,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  box-shadow: 0 8px 32px rgba(255,69,0,0.35);
  transform: translateY(-3px);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 32px;
  border: 2px solid var(--blue);
  color: var(--blue); font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: all 0.3s;
}
.btn-ghost:hover {
  background: var(--blue); color: var(--white);
  box-shadow: 0 8px 24px rgba(0,90,255,0.25);
  transform: translateY(-3px);
}

/* Hero visual side */
.hero-visual {
  position: relative; display: flex;
  justify-content: center; align-items: center;
  height: 500px;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  animation: ringRotate 20s linear infinite;
}
.hero-ring:nth-child(1) { width: 380px; height: 380px; border: 2px solid rgba(0,90,255,0.18); animation-duration: 25s; }
.hero-ring:nth-child(2) { width: 280px; height: 280px; border: 2px dashed rgba(255,69,0,0.22); animation-direction: reverse; animation-duration: 18s; }
.hero-ring:nth-child(3) { width: 480px; height: 480px; border: 1px solid rgba(255,194,0,0.2); animation-duration: 35s; }
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-center-glow {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,90,255,0.12) 0%, rgba(255,69,0,0.06) 55%, transparent 70%);
  border-radius: 50%;
  position: absolute;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}
.hero-product-float {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.58rem; letter-spacing: 0.2em;
  color: var(--blue);
  background: rgba(0,90,255,0.08);
  border: 1px solid rgba(0,90,255,0.2);
  padding: 5px 12px; border-radius: 2px;
  font-weight: 600;
  animation: floatItem 4s ease-in-out infinite;
}

@keyframes floatItem {
  0%,100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(-12px); opacity: 1; }
}
.hero-big-icon {
  font-size: 5.5rem; position: relative; z-index: 2;
  filter: drop-shadow(0 8px 24px rgba(0,90,255,0.25)) drop-shadow(0 -2px 8px rgba(255,69,0,0.15));
  animation: iconFloat 4s ease-in-out infinite;
}
@keyframes iconFloat {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

/* Hero bg effects */
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,90,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,90,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 60% 50%, black 20%, transparent 70%);
  opacity: 0.6;
}
.hero-glow-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none;
}
.hero-glow-orb:nth-child(1) {
  width: 800px; height: 800px;
  top: -300px; right: -200px;
  background: radial-gradient(circle, rgba(0,90,255,0.07) 0%, transparent 65%);
}
.hero-glow-orb:nth-child(2) {
  width: 500px; height: 500px;
  bottom: -200px; left: -100px;
  background: radial-gradient(circle, rgba(255,69,0,0.06) 0%, transparent 65%);
}

/* Scroll indicator */
.scroll-ind {
  position: absolute; bottom: 30px; left: 5%;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.2em; color: var(--text-dim);
}
.scroll-line {
  width: 40px; height: 2px;
  background: rgba(0,90,255,0.15);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { left: -100%; } 100% { left: 100%; } }

/* Hero stats */
.hero-stats {
  position: absolute; bottom: 30px; right: 5%;
  display: flex; gap: 40px;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 900;
  color: var(--blue);
  display: block;
}
.stat-label {
  font-size: 0.62rem; letter-spacing: 0.15em;
  color: var(--text-dim); font-family: var(--font-mono);
}

/* ===================== SECTION COMMONS ===================== */
section { padding: 100px 5%; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.35em;
  color: var(--blue); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 600;
}
.section-tag::before { content: '//'; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700; letter-spacing: -0.01em;
  color: var(--dark); margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem; font-weight: 400;
  color: var(--text-mid); line-height: 1.8;
  max-width: 560px; letter-spacing: 0.01em;
}
.section-header { margin-bottom: 64px; }
.max-w { max-width: 1400px; margin: 0 auto; }

/* Divider */
.divider {
  border: none; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,90,255,0.15), rgba(255,69,0,0.15), transparent);
  margin: 0;
}

/* ===================== PRODUCTS ===================== */
#products { background: var(--bg2); }

/* Category tabs */
.cat-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 52px;
}
.cat-tab {
  padding: 9px 24px;
  font-family: var(--font-display);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.15em; color: var(--text-mid);
  border: 2px solid var(--border-strong);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: all 0.3s;
  background: var(--white);
}
.cat-tab.active, .cat-tab:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-color: var(--blue);
  box-shadow: 0 4px 18px rgba(0,90,255,0.28);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Category Section */
.product-category { margin-bottom: 64px; display: none; }
.product-category.active { display: block; }
.cat-title {
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.25em; color: var(--orange);
  margin-bottom: 28px; padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,69,0,0.18);
  display: flex; align-items: center; gap: 12px;
}
.cat-title::before { content: '▸'; }

/* Product card */
.p-card {
  background: var(--white);
  border: 2px solid rgba(0,90,255,0.1);
  position: relative; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.4s, border-color 0.4s;
  cursor: none;
  transform-style: preserve-3d;
  perspective: 800px;
}
.p-card:hover {
  border-color: var(--blue);
  box-shadow: 0 16px 50px rgba(0,90,255,0.18), 0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(-8px) scale(1.02);
}
.p-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--yellow));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.p-card:hover::before { transform: scaleX(1); }
.p-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,90,255,0.04) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.p-card:hover::after { opacity: 1; }

.p-img-wrap {
  height: 200px;
  background: linear-gradient(135deg, #f0f5ff 0%, #fff8f5 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: background 0.4s;
}
.p-card:hover .p-img-wrap {
  background: linear-gradient(135deg, #e4edff 0%, #fff0ea 100%);
}
.p-icon-big {
  font-size: 4rem;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), filter 0.4s;
  position: relative; z-index: 1;
}
.p-card:hover .p-icon-big {
  transform: scale(1.25) rotate(-5deg);
  filter: drop-shadow(0 8px 20px rgba(0,90,255,0.3));
}
.p-scan-line {
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 40px;
  background: linear-gradient(180deg, transparent, rgba(0,90,255,0.07), transparent);
  animation: scanDown 3s linear infinite;
}
@keyframes scanDown {
  from { top: -10%; }
  to { top: 110%; }
}
.p-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px;
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.2em;
  background: var(--orange); color: var(--white);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  font-weight: 600;
}
.p-new { background: var(--blue); color: var(--white); }

.p-body { padding: 20px; }
.p-name {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.05em; color: var(--dark);
  margin-bottom: 6px;
}
.p-desc {
  font-size: 0.85rem; color: var(--text-mid);
  line-height: 1.6; margin-bottom: 16px;
  font-weight: 400;
}
.p-specs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 16px;
}
.p-spec-tag {
  padding: 3px 10px;
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.1em; color: var(--blue);
  border: 1px solid rgba(0,90,255,0.2);
  border-radius: 2px;
  background: rgba(0,90,255,0.05);
  font-weight: 600;
}
.p-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid rgba(0,90,255,0.1);
}
.p-price {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 900;
  color: var(--blue);
}
.p-price span { font-size: 0.65rem; color: var(--text-dim); font-weight: 400; }
.p-action {
  width: 34px; height: 34px;
  border: 2px solid rgba(0,90,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-dim);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: all 0.3s;
}
.p-action:hover { border-color: var(--blue); color: var(--white); background: var(--blue); }

/* Product image inside card */
.p-prod-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    z-index: 1;
    position: relative;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover effect – same as the emoji I used to have */
.p-card:hover .p-prod-img {
    transform: scale(1.1) rotate(-2deg);
}

/* ===================== WHY UREKA ===================== */
#why { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 2px solid var(--border);
  padding: 36px 28px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.feature-card:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,90,255,0.13);
}
.feature-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transition: width 0.4s;
}
.feature-card:hover::after { width: 100%; }
.f-icon {
  font-size: 2.2rem; margin-bottom: 20px;
  display: block;
}
.f-title {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--dark);
  margin-bottom: 10px;
}
.f-desc {
  font-size: 0.88rem; color: var(--text-mid);
  line-height: 1.7; font-weight: 400;
}

/* ===================== CAREERS ===================== */
#careers { background: var(--bg2); }
.careers-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; margin-bottom: 60px; align-items: center;
}
.jobs-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  background: var(--white);
  border: 2px solid var(--border);
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: none;
  gap: 20px;
}
.job-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 30px rgba(0,90,255,0.12);
  transform: translateX(6px);
}
.job-title {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.05em; color: var(--dark);
  margin-bottom: 6px;
}
.job-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.job-tag {
  padding: 3px 10px;
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.1em; color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.job-tag.open { color: var(--green); border-color: rgba(0,200,122,0.3); background: rgba(0,200,122,0.06); font-weight: 600; }
.job-apply {
  padding: 10px 22px; flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.15em; color: var(--blue);
  border: 2px solid rgba(0,90,255,0.3);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: all 0.3s;
  background: rgba(0,90,255,0.04);
}
.job-apply:hover {
  background: var(--blue); color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(0,90,255,0.28);
}
.culture-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin-top: 48px;
}
.culture-card {
  background: var(--white);
  border: 2px solid var(--border);
  padding: 28px 20px; text-align: center;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.culture-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(255,69,0,0.12); }
.culture-card .f-icon { font-size: 1.8rem; margin-bottom: 12px; }
.culture-card h4 {
  font-family: var(--font-display); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.12em;
  color: var(--dark); margin-bottom: 8px;
}
.culture-card p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; font-weight: 400; }

/* ===================== CONTACT ===================== */
#contact { background: var(--bg2); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 28px;
}
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; border: 2px solid var(--border-strong);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  background: linear-gradient(135deg, var(--blue-pale), #fff);
}
.contact-detail-text h4 {
  font-family: var(--font-display); font-size: 0.7rem;
  letter-spacing: 0.15em; color: var(--blue); margin-bottom: 4px;
  font-weight: 700;
}
.contact-detail-text p { font-size: 0.9rem; color: var(--text-mid); font-weight: 400; line-height: 1.6; }

/* Form */
.feedback-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.2em; color: var(--blue); font-weight: 600;
}
.form-input, .form-select, .form-textarea {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text); font-family: var(--font-body);
  font-size: 0.95rem; padding: 12px 16px;
  outline: none; width: 100%;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,90,255,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-select option { background: var(--white); color: var(--text); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-rating { display: flex; gap: 8px; }
.rating-star {
  font-size: 1.6rem; cursor: none;
  color: #dde2f0;
  transition: color 0.2s, transform 0.2s;
}
.rating-star:hover, .rating-star.selected { color: var(--yellow); }
.rating-star:hover { transform: scale(1.25); }
.submit-btn {
  padding: 16px 44px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  font-family: var(--font-display); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.15em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: all 0.3s;
  align-self: flex-start;
  box-shadow: 0 6px 24px rgba(0,90,255,0.3);
}
.submit-btn:hover {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(255,69,0,0.35);
}
.form-success {
  display: none; text-align: center;
  padding: 48px; background: var(--white);
  border: 2px solid rgba(0,200,122,0.4);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  box-shadow: 0 12px 40px rgba(0,200,122,0.1);
}
.form-success.show { display: block; }
.form-success h3 {
  font-family: var(--font-display); font-size: 1rem;
  letter-spacing: 0.12em; color: var(--green); margin-bottom: 8px;
}
.form-success p { color: var(--text-mid); font-size: 0.9rem; }

/* ===================== ABOUT ===================== */
#about { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-visual {
  position: relative; height: 480px;
}
.about-bg-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
}
.about-bg-card:nth-child(1) {
  width: 80%; height: 80%;
  top: 10%; left: 10%;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  background: linear-gradient(135deg, var(--blue-pale) 0%, #fff 100%);
  border: 2px solid var(--border-strong);
  box-shadow: 0 20px 60px rgba(0,90,255,0.1);
}
.about-metric-card {
  position: absolute;
  background: var(--white);
  border: 2px solid var(--border-strong);
  padding: 16px 20px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow: 0 8px 30px rgba(0,90,255,0.12);
}
.about-metric-card:nth-child(2) { top: 5%; right: -5%; width: 160px; }
.about-metric-card:nth-child(3) { bottom: 5%; left: -5%; width: 160px; }
.metric-value {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 900; color: var(--blue);
}
.metric-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.15em; color: var(--text-dim);
}
.about-center-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem; z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(0,90,255,0.2));
  animation: iconFloat 5s ease-in-out infinite;
}

.about-text .section-subtitle { max-width: 100%; }
.about-points { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.about-point {
  display: flex; gap: 16px; align-items: flex-start;
}
.point-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  border: 2px solid var(--border-strong);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  background: linear-gradient(135deg, var(--blue-pale), #fff);
}
.point-text h4 {
  font-family: var(--font-display);
  font-size: 0.75rem; letter-spacing: 0.1em;
  color: var(--dark); margin-bottom: 4px;
}
.point-text p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; font-weight: 400; }

/* ===================== TICKER ===================== */
.ticker-wrap {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 50%, var(--blue) 100%);
  padding: 11px 0;
  overflow: hidden; white-space: nowrap;
}
.ticker-inner {
  display: inline-block;
  animation: tickerMove 25s linear infinite;
}
.ticker-item {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.95);
  padding: 0 40px;
  font-weight: 600;
}
.ticker-item::before { content: '✦'; margin-right: 40px; color: rgba(255,255,255,0.6); }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== FOOTER ===================== */
footer {
  background: var(--dark);
  border-top: 3px solid var(--blue);
  padding: 60px 5% 30px;
  will-change: transform;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { 
  font-size: 1.2rem; display: block; margin-bottom: 12px; 
  color: var(--white);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.footer-brand .logo span { color: var(--blue-light); }
.footer-brand .logo::after { display: none; }
.footer-brand .logo:hover {
  color: var(--blue-light);
  text-shadow: 0 0 2px rgba(0,90,255,0.5);
}
.footer-tagline {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.7; font-weight: 400; }
.footer-col h5 {
  font-family: var(--font-display); font-size: 0.65rem;
  letter-spacing: 0.2em; color: var(--blue-light);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  transition: color 0.2s ease;
  font-weight: 400;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.3);
}
.footer-socials { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em;
  will-change: transform;
}
.social-btn:hover { 
  border-color: var(--blue-light); 
  color: var(--white); 
  background: rgba(0,90,255,0.2);
  transform: scale(1.05);
}

/* ===================== ANIMATIONS & REVEALS ===================== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.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; }

/* ===================== MOBILE RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid, .careers-intro, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-panel { width: 85%; }
  .hero-stats { gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  section { padding: 70px 5%; }
}

/* Active nav link highlight */
.nav-links li a.current { color: var(--blue); }

/* Loading bar */
#loader {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; background: transparent;
  z-index: 9999;
}
#loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--yellow));
  width: 0;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(0,90,255,0.5);
}