/* ============================================================
   SocialCenter — Custom Styles
   Dark Premium Theme | Cyan #00E5FF Accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg:        #080d1a;
  --bg-card:   #0d1424;
  --bg-nav:    rgba(8,13,26,0.85);
  --border:    rgba(0,229,255,0.15);
  --cyan:      #00E5FF;
  --cyan-dim:  rgba(0,229,255,0.08);
  --cyan-glow: rgba(0,229,255,0.35);
  --text:      #f0f4ff;
  --muted:     #7b8db0;
  --font:      'Inter', sans-serif;
  --radius:    10px;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Grid background ─────────────────────────────────────── */
.grid-bg {
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ── Utility ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.cyan        { color: var(--cyan); }
.btn-cyan {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--cyan); color: #080d1a;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  text-decoration: none; border: none; cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.btn-cyan:hover {
  box-shadow: 0 0 24px var(--cyan-glow);
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: .45rem;
  background: transparent; color: var(--text);
  font-weight: 600; font-size: .95rem;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none; cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

.tag {
  display: inline-block;
  background: var(--cyan-dim); color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.25);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: .3rem .9rem;
  border-radius: 999px; margin-bottom: 1rem;
}

h1,h2,h3,h4 { line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

/* ── Navbar ──────────────────────────────────────────────── */
#navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--text);
  font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em;
}
.nav-logo svg { color: var(--cyan); }
.nav-logo span em { color: var(--cyan); font-style: normal; }

.nav-links {
  display: flex; align-items: center; gap: .25rem;
  list-style: none;
}
.nav-links a {
  display: block; padding: .45rem .85rem;
  color: var(--muted); font-size: .92rem; font-weight: 500;
  text-decoration: none; border-radius: 7px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links .active a { color: var(--cyan); }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a {
  display: flex; align-items: center; gap: .3rem; cursor: pointer;
}
.nav-dropdown > a svg { width:14px; height:14px; transition: transform var(--transition); }
.nav-dropdown:hover > a svg { transform: rotate(180deg); }

.dropdown-panel {
  display: none; position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: #0d1627; border: 1px solid var(--border);
  border-radius: 14px; padding: .75rem; min-width: 270px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .dropdown-panel { display: block; }

.dd-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem .85rem; border-radius: 9px; text-decoration: none;
  color: var(--muted); font-size: .91rem; font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.dd-item:hover { background: var(--cyan-dim); color: var(--text); }
.dd-icon {
  width: 34px; height: 34px; background: var(--cyan-dim);
  border: 1px solid rgba(0,229,255,0.2); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dd-icon svg { color: var(--cyan); width:16px; height:16px; }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: .4rem;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: .25rem;
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
}
.mobile-menu a {
  display: block; padding: .6rem .5rem;
  color: var(--muted); text-decoration: none; font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu.open { display: flex; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 68px);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,229,255,0.09) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; text-align: center; padding: 4rem 0; }
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-content p { font-size: 1.15rem; color: var(--muted); max-width: 600px; margin: 0 auto 2rem; }
.hero-btns { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.trust-badges {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  margin-top: 3.5rem;
}
.badge {
  text-align: center;
}
.badge-num { font-size: 1.6rem; font-weight: 900; color: var(--cyan); line-height: 1; }
.badge-label { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.badge-divider {
  width: 1px; background: var(--border);
  height: 40px; align-self: center;
}

/* ── Section headings ────────────────────────────────────── */
.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading p { color: var(--muted); max-width: 540px; margin: .75rem auto 0; }

/* ── Services cards ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: rgba(0,229,255,0.45);
  box-shadow: 0 0 28px rgba(0,229,255,0.08);
  transform: translateY(-3px);
}
.service-icon {
  width: 52px; height: 52px; background: var(--cyan-dim);
  border: 1px solid rgba(0,229,255,0.25); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.service-icon svg { color: var(--cyan); width: 24px; height: 24px; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .92rem; }

/* ── Stats ───────────────────────────────────────────────── */
.stats-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem; text-align: center; padding: 3.5rem 0;
}
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--cyan); line-height: 1; }
.stat-label { color: var(--muted); font-size: .88rem; margin-top: .4rem; }

/* ── Process ─────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem;
  position: relative;
}
.process-number {
  font-size: 3rem; font-weight: 900;
  color: rgba(0,229,255,0.12); line-height: 1;
  margin-bottom: .75rem;
}
.process-card h3 { margin-bottom: .5rem; }
.process-card p { color: var(--muted); font-size: .91rem; }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #0d1627 0%, #081020 100%);
  border: 1px solid var(--border);
  border-radius: 20px; text-align: center;
  padding: 4.5rem 2rem;
  box-shadow: 0 0 80px rgba(0,229,255,0.06);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,229,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { color: var(--muted); max-width: 520px; margin: 0 auto 2rem; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 280px; margin-top: .75rem; }
.footer-col h4 {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a {
  color: #7b8db0; font-size: .91rem; text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0; margin-top: 3rem;
  color: var(--muted); font-size: .85rem;
}
.social-links { display: flex; gap: .75rem; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-links a:hover { background: var(--cyan-dim); color: var(--cyan); border-color: rgba(0,229,255,0.4); }

/* ── Back to top ─────────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 46px; height: 46px;
  background: var(--cyan); color: #080d1a;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px var(--cyan-glow);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); box-shadow: 0 0 32px var(--cyan-glow); }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0,229,255,0.08) 0%, transparent 70%);
}

/* ── About page ──────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-grid p { color: var(--muted); margin-top: .75rem; }
.values-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem;
}
.value-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.25rem;
}
.value-card h4 { font-size: 1rem; margin-bottom: .3rem; }
.value-card p { font-size: .88rem; color: var(--muted); }

/* ── Portfolio grid ──────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.portfolio-card:hover { border-color: rgba(0,229,255,0.4); transform: translateY(-3px); }
.portfolio-thumb {
  height: 200px; background: linear-gradient(135deg, #0d1627, #0a1530);
  display: flex; align-items: center; justify-content: center;
}
.portfolio-thumb svg { color: var(--cyan); opacity: .4; width: 48px; height: 48px; }
.portfolio-info { padding: 1.5rem; }
.portfolio-tag { font-size: .75rem; color: var(--cyan); font-weight: 600; margin-bottom: .4rem; }
.portfolio-info h3 { margin-bottom: .4rem; }
.portfolio-info p { color: var(--muted); font-size: .9rem; }

/* ── Contact form ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--muted); }
.contact-detail { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; color: var(--muted); font-size: .92rem; }
.contact-detail svg { color: var(--cyan); flex-shrink: 0; }

.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .87rem; font-weight: 600; color: var(--muted); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: .75rem 1rem;
  color: var(--text); font-family: var(--font); font-size: .95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(0,229,255,0.5); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-status { margin-top: 1rem; font-size: .9rem; }
.form-status.success { color: var(--cyan); }
.form-status.error   { color: #ff6b6b; }

/* ── Services page ───────────────────────────────────────── */
.service-full {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem; margin-bottom: 1.5rem;
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start;
}
.service-full ul { color: var(--muted); padding-left: 1.2rem; margin-top: .75rem; }
.service-full ul li { margin-bottom: .4rem; font-size: .92rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-badges { gap: 1.25rem; }
  .badge-divider { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .service-full { grid-template-columns: 1fr; }
}
