/* =============================================================
   STELLAR CELLULAR TRADING — style.css
   Production-ready static CSS. No framework dependencies.
   ============================================================= */

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

:root {
  --bg:           #0b0d12;
  --bg-2:         #0f1117;
  --bg-card:      #13161e;
  --bg-card-2:    #181c27;
  --border:       rgba(255,255,255,0.07);
  --border-2:     rgba(255,255,255,0.12);
  --blue:         #2f80ed;
  --blue-dark:    #1a6fd4;
  --blue-glow:    rgba(47,128,237,0.15);
  --blue-glow-2:  rgba(47,128,237,0.07);
  --green:        #25d366;
  --green-dark:   #1cb956;
  --text:         #f0f2f7;
  --text-2:       #9aa3b8;
  --text-3:       #5c6478;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:       12px;
  --radius-lg:    20px;
  --ease:         0.24s ease;
  --header-h:     68px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.accent { color: var(--blue); }

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(11,13,18,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease), box-shadow var(--ease);
}
.header.scrolled {
  background: rgba(11,13,18,0.97);
  box-shadow: 0 2px 28px rgba(0,0,0,0.45);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--blue), #1a56c4);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-size: 0.95rem; font-weight: 800;
  letter-spacing: 0.08em; color: var(--text);
}
.logo-sub {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.12em; color: var(--text-2);
  text-transform: uppercase;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 7px 14px;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: color var(--ease), background var(--ease);
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-cta {
  display: flex; align-items: center; gap: 7px;
  margin-left: 10px;
  padding: 8px 16px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--blue);
  border: 1px solid rgba(47,128,237,0.35);
  border-radius: 8px;
  background: rgba(47,128,237,0.07);
  transition: all var(--ease);
  white-space: nowrap;
}
.nav-cta:hover {
  background: rgba(47,128,237,0.15);
  border-color: rgba(47,128,237,0.6);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px;
  font-family: var(--font);
  font-size: 0.925rem; font-weight: 600;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn-whatsapp {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
}
.btn-call {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-call:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.btn-call-outline {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px;
  font-family: var(--font);
  font-size: 0.925rem; font-weight: 600;
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.38);
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn-call-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 64px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.5);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(11,13,18,0.94) 0%,
    rgba(11,13,18,0.72) 50%,
    rgba(11,13,18,0.9) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: rgba(47,128,237,0.1);
  border: 1px solid rgba(47,128,237,0.28);
  border-radius: 100px;
  font-size: 0.76rem; font-weight: 600;
  color: var(--blue); letter-spacing: 0.05em;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 18px;
}
.hero-tagline {
  font-size: 1.15rem; font-weight: 500;
  color: var(--text-2); font-style: italic;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-2); line-height: 1.7;
  margin-bottom: 36px; max-width: 580px;
}
.hero-stats {
  display: flex; align-items: center;
  margin-top: 48px;
  padding: 22px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  width: fit-content;
  gap: 0;
}
.hero-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 24px;
}
.hero-stat-num {
  font-size: 1.6rem; font-weight: 800;
  color: var(--blue); letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.74rem; color: var(--text-3);
  font-weight: 500; margin-top: 3px; white-space: nowrap;
}
.hero-stat-divider {
  width: 1px; height: 40px;
  background: var(--border-2); flex-shrink: 0;
}
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2; opacity: 0.38;
}
.hero-scroll-hint span {
  font-size: 0.68rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--text-3);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* ── Section commons ──────────────────────────────────────── */
.section { padding: 96px 0; }
.section-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--text); margin-bottom: 18px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.7; max-width: 600px; margin-bottom: 56px;
}

/* ── About ────────────────────────────────────────────────── */
.about { background: var(--bg-2); }
.about-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.about-card {
  padding: 28px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--ease);
}
.about-card:hover {
  border-color: rgba(47,128,237,0.3);
  background: var(--bg-card-2);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.about-icon {
  width: 46px; height: 46px;
  background: var(--blue-glow);
  border: 1px solid rgba(47,128,237,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 18px;
}
.about-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.about-card p  { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

/* ── Products ─────────────────────────────────────────────── */
.products { background: var(--bg); }
.products-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.product-card {
  padding: 30px 26px 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 14px;
  transition: all var(--ease);
  position: relative; overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0; transition: opacity var(--ease);
}
.product-card:hover {
  border-color: rgba(47,128,237,0.25);
  background: var(--bg-card-2);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.product-card:hover::before { opacity: 1; }
.product-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--blue-glow), var(--blue-glow-2));
  border: 1px solid rgba(47,128,237,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.product-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.product-card p  { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; flex: 1; }
.product-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--blue); margin-top: 4px;
  transition: gap var(--ease), opacity var(--ease);
}
.product-cta:hover { gap: 10px; opacity: 0.8; }

/* ── Why Choose Us ────────────────────────────────────────── */
.why-us { background: var(--bg-2); }
.why-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 16px;
}
.why-card {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 24px 26px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--ease);
}
.why-card:hover {
  border-color: rgba(47,128,237,0.25);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.why-check {
  width: 32px; height: 32px;
  background: rgba(47,128,237,0.14);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0; margin-top: 2px;
}
.why-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.why-card p  { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

/* ── Stats ────────────────────────────────────────────────── */
.stats { background: var(--bg); padding: 72px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.stat-card {
  padding: 36px 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: all var(--ease);
}
.stat-card:hover {
  border-color: rgba(47,128,237,0.3);
  box-shadow: 0 0 32px var(--blue-glow);
}
.stat-num {
  font-size: 2.8rem; font-weight: 900;
  color: var(--blue); letter-spacing: -0.03em; line-height: 1;
}
.stat-label {
  font-size: 0.8rem; font-weight: 500;
  color: var(--text-3); margin-top: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner { position: relative; background: var(--bg-2); overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(47,128,237,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; letter-spacing: -0.025em;
  color: var(--text); margin-bottom: 16px;
}
.cta-desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.6);
  line-height: 1.7; margin-bottom: 40px;
}
.cta-content .hero-btns { justify-content: center; }

/* ── Contact ──────────────────────────────────────────────── */
.contact { background: var(--bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--ease);
}
.contact-card:hover {
  border-color: rgba(47,128,237,0.3);
  background: var(--bg-card-2);
  transform: translateX(4px);
}
.contact-card--whatsapp:hover { border-color: rgba(37,211,102,0.35); }
.contact-card-icon {
  width: 44px; height: 44px;
  background: var(--blue-glow);
  border: 1px solid rgba(47,128,237,0.2);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0;
}
.contact-card--whatsapp .contact-card-icon {
  background: rgba(37,211,102,0.1);
  border-color: rgba(37,211,102,0.2);
  color: var(--green);
}
.contact-card-body  { display: flex; flex-direction: column; gap: 2px; }
.contact-card-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); }
.contact-card-value { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.contact-card-action { font-size: 0.78rem; color: var(--blue); font-weight: 500; }
.contact-card--whatsapp .contact-card-action { color: var(--green); }

.map-container {
  height: 380px; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
}
.map-container iframe {
  width: 100%; height: 100%; border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(0.85) saturate(1.1);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-tagline { font-size: 0.9rem; font-style: italic; color: var(--text-3); margin: 14px 0 12px; }
.footer-desc    { font-size: 0.875rem; color: var(--text-3); line-height: 1.7; max-width: 340px; }
.footer-links   { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 {
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 8px;
}
.footer-links a       { font-size: 0.875rem; color: var(--text-3); transition: color var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-location      { font-size: 0.875rem; color: var(--text-3); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 0.8rem; color: var(--text-3);
}

/* ── Floating WhatsApp ────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px;
  background: var(--green); color: #fff;
  border-radius: 100px; font-size: 0.875rem; font-weight: 600;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all var(--ease);
  animation: floatBob 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: var(--green-dark);
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
  animation: none;
}
.whatsapp-float-label { white-space: nowrap; line-height: 1; }
@keyframes floatBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid    { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand  { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: 72px 0; }

  /* Mobile nav */
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(11,13,18,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px; gap: 6px;
    transform: translateY(-110%); opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .nav.open  { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link  { padding: 12px 16px; font-size: 1rem; }
  .nav-cta   { margin-left: 0; justify-content: center; padding: 12px 16px; }

  /* Hero */
  .hero { padding: calc(var(--header-h) + 40px) 0 60px; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-stats {
    flex-direction: column; gap: 16px;
    padding: 20px; width: 100%; max-width: 320px;
  }
  .hero-stat       { flex-direction: row; justify-content: space-between; width: 100%; }
  .hero-stat-divider { width: 100%; height: 1px; }

  /* Grids */
  .about-grid    { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2,1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .map-container { height: 260px; }

  /* Footer */
  .footer-top   { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: unset; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Float WhatsApp */
  .whatsapp-float-label { display: none; }
  .whatsapp-float {
    bottom: 20px; right: 20px;
    padding: 0;
    width: 56px; height: 56px;
    border-radius: 50%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn, .btn-call-outline { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-num   { font-size: 2.2rem; }
  .cta-content .hero-btns { flex-direction: column; align-items: stretch; }
}
