/* ===== Star Core Datacenter — Stylesheet ===== */

:root {
  --cyan: #00BFFF;
  --cyan-bright: #1FB6FF;
  --cyan-soft: rgba(0, 191, 255, 0.12);
  --cyan-glow: rgba(0, 191, 255, 0.45);
  --bg-0: #050D1A;
  --bg-1: #0A1628;
  --bg-2: #0F1F36;
  --bg-3: #142a47;
  --line: rgba(0, 191, 255, 0.18);
  --text: #E6F4FF;
  --text-muted: #8aa2bd;
  --white: #ffffff;
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 13, 26, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: rgba(5, 13, 26, 0.92);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}
.nav-logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--cyan-glow));
}
.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color .2s ease;
}
.nav-menu a:hover { color: var(--cyan-bright); }
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
  border-radius: 2px;
}
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-bright) 100%);
  color: var(--bg-0);
  box-shadow: 0 8px 25px rgba(0,191,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,191,255,0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan-bright);
}
.btn-search {
  background: transparent;
  color: var(--text-muted);
  padding: 8px;
  border-radius: 8px;
}
.btn-search:hover { color: var(--cyan-bright); }
.lang-flag {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -10%;
  background: url("../img/data-center.jpg") center/cover no-repeat;
  z-index: -2;
  animation: kenburns 22s ease-in-out infinite alternate;
  filter: brightness(0.55) saturate(1.05);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 60% at 30% 50%, rgba(0,191,255,0.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,13,26,0.85) 0%, rgba(5,13,26,0.7) 50%, rgba(5,13,26,0.95) 100%);
}
@keyframes kenburns {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.12) translate(-2%, -1%); }
}
.hero-content {
  width: 100%;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan-bright);
  background: var(--cyan-soft);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-bright) 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan-bright);
  letter-spacing: -0.02em;
}
.hero-stat .lbl {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== Sections ===== */
section { position: relative; padding: 100px 0; }
.section-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 14px;
}
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-title .accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 64px;
}

/* ===== Solutions audience (2-card) ===== */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.audience-card {
  background: linear-gradient(165deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-card);
}
.audience-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.audience-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--cyan-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--cyan-bright);
  margin-bottom: 22px;
}
.audience-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.audience-card > p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.audience-list {
  list-style: none;
  margin-bottom: 28px;
}
.audience-list li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: var(--text);
}
.audience-list li::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 9px;
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* ===== Solutions grid (6-card) ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
}
.solution-card .ico {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--cyan-soft);
  display: grid; place-items: center;
  color: var(--cyan-bright);
  margin-bottom: 20px;
  border: 1px solid var(--line);
}
.solution-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.solution-card p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.55;
}
.solution-cta {
  background: linear-gradient(165deg, rgba(0,191,255,0.18) 0%, rgba(0,191,255,0.03) 100%);
  border: 1px solid var(--cyan);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.solution-cta h4 {
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--white) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.4rem;
}

/* ===== Infrastructure stats ===== */
.infra { background: var(--bg-1); }
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.infra-card {
  padding: 30px 20px;
}
.infra-card .ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cyan-soft);
  border: 1px solid var(--cyan);
  display: grid; place-items: center;
  margin: 0 auto 22px;
  color: var(--cyan-bright);
  box-shadow: 0 0 30px var(--cyan-glow);
}
.infra-card h3 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--white) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.infra-card p {
  color: var(--text-muted);
  font-size: .95rem;
}

/* ===== Clients ===== */
.clients { padding: 60px 0; background: var(--bg-0); }
.clients-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 36px;
}
.clients-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.clients-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll 28s linear infinite;
}
.clients-track .logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: .65;
  transition: all .25s ease;
  letter-spacing: 1px;
}
.clients-track .logo:hover { color: var(--cyan-bright); opacity: 1; }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Contact form ===== */
.contact { background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%); }
.contact-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 50px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.form-actions .btn { flex: 1; min-width: 220px; padding: 14px 20px; }
.btn-whatsapp {
  background: #25D366;
  color: #0A1628;
  font-weight: 700;
}
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-2px); }
.consent {
  margin-top: 16px;
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about img { height: 36px; margin-bottom: 18px; filter: drop-shadow(0 0 12px var(--cyan-glow)); }
.footer-about p { color: var(--text-muted); font-size: .92rem; max-width: 360px; }
.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: all .2s ease;
}
.social a:hover { color: var(--cyan-bright); border-color: var(--cyan); transform: translateY(-2px); }
.footer-col h5 {
  font-size: .95rem;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--white);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: .9rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--cyan-bright); }
.footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-info-row svg { flex: 0 0 auto; color: var(--cyan-bright); margin-top: 2px; }
.footer-info-row .lbl { font-size: .82rem; color: var(--text-muted); }
.footer-info-row .val { font-size: .92rem; color: var(--text); font-weight: 500; }
.client-portal-btn {
  display: block;
  margin-top: 18px;
  text-align: center;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-bright));
  color: var(--bg-0);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: .9rem;
  transition: all .25s ease;
}
.client-portal-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px var(--cyan-glow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--cyan-bright); }

/* ===== Floating WhatsApp ===== */
.fab-wa {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  color: var(--bg-0);
  z-index: 50;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(5,13,26,0.98); padding: 16px 24px;
    border-top: 1px solid var(--line); }
  .nav-menu.open { display: flex; }
  .nav-menu li { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  .audience-grid, .solutions-grid, .infra-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 32px; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .contact-wrap { padding: 28px; }
  section { padding: 70px 0; }
  .nav-actions .btn-ghost { display: none; }
}
@media (max-width: 640px) {
  .hero-content { padding-top: 100px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
