/* ============================================================
   ALI METHNANI – SEO CONSULTANT
   Design: Dark Navy + Yellow Accents (inspired by Astrak)
   Fonts: Syne (display) + DM Sans (body)
============================================================ */

:root {
  --navy: #0A0F2C;
  --navy-mid: #111631;
  --navy-card: #141A38;
  --navy-light: #1C2348;
  --blue-accent: #4F6AFF;
  --purple-accent: #9B59F5;
  --yellow: #F5C842;
  --teal: #2DD4BF;
  --white: #FFFFFF;
  --text-muted: #8892B0;
  --text-body: #CCD6F6;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  background: #0A0F2C !important;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #0A0F2C !important;
  color: var(--text-body);
  overflow-x: hidden;
}

/* Force dark on Bootstrap containers */
.container, .container-fluid, section, footer, nav {
  background-color: transparent;
}

/* Kill any Bootstrap white backgrounds */
.row, .col, [class*="col-"] {
  background-color: transparent;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6, .logo-text { font-family: 'Syne', sans-serif; }

.section-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-tag.teal { color: var(--teal); }

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.text-accent-yellow { color: var(--yellow); }

/* ============================================================ NAVBAR */
#mainNav {
  background: rgba(10, 15, 44, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

#mainNav.scrolled {
  background: rgba(10, 15, 44, 0.97);
  padding: 0.6rem 0;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white) !important;
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--yellow); }

.navbar-nav .nav-link {
  color: var(--text-body) !important;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 0.5rem 0.75rem !important;
}
.navbar-nav .nav-link:hover { color: var(--white) !important; }

.navbar-nav .btn-cta {
  background: var(--yellow);
  color: var(--navy) !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.55rem 1.2rem !important;
}
.navbar-nav .btn-cta:hover {
  background: #ffd84a;
  transform: translateY(-1px);
}

.dropdown-dark-custom {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  padding: 0.5rem;
  min-width: 220px;
}
.dropdown-dark-custom .dropdown-item {
  color: var(--text-body);
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}
.dropdown-dark-custom .dropdown-item:hover {
  background: var(--navy-light);
  color: var(--white);
}

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 0.4rem 0.6rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================ HERO */
.hero-section {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-glow {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(79, 106, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-section::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(155, 89, 245, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  background: rgba(79,106,255,0.15);
  border: 1px solid rgba(79,106,255,0.3);
  color: var(--blue-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-accent { color: var(--yellow); }

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.stat-badge {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.btn-cta-main {
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-cta-main:hover {
  background: #ffd84a;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245, 200, 66, 0.3);
  color: var(--navy);
}

/* ---- GSC CARD – Realistic Search Console ---- */
.hero-right { position: relative; }

.gsc-card {
  background: #1e1e2e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
  font-size: 0.82rem;
}

/* Top bar */
.gsc-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: #16182a;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.gsc-topbar-left { display: flex; align-items: center; gap: 0; }
.gsc-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
  margin-right: 0.75rem;
}
.gsc-domain {
  background: rgba(79,106,255,0.15);
  border: 1px solid rgba(79,106,255,0.3);
  color: var(--blue-accent);
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
}
.gsc-date-range {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  cursor: pointer;
}

/* Tabs */
.gsc-tabs {
  display: flex;
  padding: 0 1.25rem;
  background: #16182a;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  gap: 0;
}
.gsc-tab {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.gsc-tab:hover { color: var(--white); }
.gsc-tab.active {
  color: #4285F4;
  border-bottom-color: #4285F4;
  font-weight: 600;
}

/* Metrics row */
.gsc-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.gsc-metric {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: background 0.2s;
}
.gsc-metric:last-child { border-right: none; }
.gsc-metric:hover { background: rgba(255,255,255,0.03); }

.active-metric { background: rgba(255,255,255,0.02); }
.inactive-metric { opacity: 0.55; }

.metric-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.blue-dot-sq { background: #4285F4; }
.purple-dot-sq { background: #9C27B0; }
.grey-dot-sq { background: #666; border: 2px solid #888; background: transparent; border-radius: 50%; }

.metric-label-top {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.metric-big {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}

/* Chart */
.gsc-chart-area {
  padding: 1rem 1.25rem 0.5rem;
  background: #1a1c2e;
}
.gsc-chart-area svg {
  width: 100%;
  height: 130px;
  display: block;
}
.chart-x-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  padding: 0.3rem 0 0.5rem;
}
.chart-legend {
  display: flex;
  gap: 1.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-bottom: 0.5rem;
}
.leg-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}

/* Table */
.gsc-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.25rem;
  background: #16182a;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gsc-table-cols { display: flex; gap: 1.5rem; }
.gsc-table-rows { background: #1a1c2e; }
.gsc-row {
  display: grid;
  grid-template-columns: 1fr 60px 60px 50px 50px;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.gsc-row:hover { background: rgba(255,255,255,0.03); }
.gsc-query { color: #4285F4; text-decoration: none; }
.gsc-row span:not(.gsc-query) { text-align: right; }

/* ---- FLOATING NOTIFICATIONS ---- */
.float-notif {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(20,26,56,0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(10px);
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: floatBob 3s ease-in-out infinite;
}
.float-notif--top { top: -15px; right: 10px; }
.float-notif--bottom { bottom: -15px; left: 10px; animation-delay: 1.5s; }

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

.notif-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700;
  flex-shrink: 0;
}
.notif-icon.up { background: rgba(45,212,191,0.2); color: var(--teal); }
.notif-icon.down { background: rgba(79,106,255,0.2); color: var(--blue-accent); }

.notif-val { font-family: 'Syne', sans-serif; font-weight: 700; color: var(--white); font-size: 0.85rem; }
.notif-label { font-size: 0.72rem; color: var(--text-muted); }

/* ============================================================ EXPERTISE / SERVICES */
.expertise-section {
  padding: 6rem 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}

.search-bar-mock {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border-radius: 50px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  color: #333;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.search-icon { font-size: 1.1rem; color: var(--text-muted); }
.search-text { color: #555; }
.google-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: #4285F4; }
.search-qmark { color: var(--text-muted); }

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }

.service-card.yellow { background: #FFF4C2; }
.service-card.pink   { background: #FFD6E0; }
.service-card.lavender { background: #E8DAFF; }
.service-card.peach  { background: #FFE4D0; }
.service-card.sage   { background: #D4F0E8; }
.service-card.mint   { background: #D0F0E0; }
.service-card.sky    { background: #D0E8FF; }
.service-card.gold   { background: var(--yellow); }

.service-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
.service-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.3rem; }
.service-desc { font-size: 0.8rem; color: #444; line-height: 1.5; }
.card-arrow {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1rem;
  color: var(--navy);
  opacity: 0.5;
}
.service-card:hover .card-arrow { opacity: 1; }

/* ============================================================ SEO NATUREL */
.seo-naturel-section {
  padding: 6rem 0;
  background: var(--navy);
}

.process-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: border-color 0.3s;
}
.process-card:hover { border-color: var(--yellow); }

.process-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--yellow);
  opacity: 0.4;
  margin-bottom: 0.75rem;
}
.process-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.process-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================ ABOUT */
.about-section {
  padding: 6rem 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-img-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  max-width: 400px;
  background: linear-gradient(145deg, var(--navy-card), var(--navy-light));
  border-radius: 24px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.about-initials {
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.1);
  user-select: none;
}

.about-badge-exp, .about-badge-passion {
  position: absolute;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.about-badge-exp { top: 1.5rem; right: -0.5rem; }
.about-badge-passion { bottom: 2rem; left: -0.5rem; }

.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.exploit-stat {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.3s;
}
.exploit-stat:hover { border-color: var(--yellow); }

.exploit-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--yellow);
}
.exploit-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ============================================================ GEO */
.geo-section {
  padding: 6rem 0;
  background: var(--navy);
}

.geo-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}
.geo-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
}
.geo-platform {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 1rem;
}
.geo-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================ CONTACT */
.contact-section {
  padding: 6rem 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}

.contact-form-wrapper {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: left;
}

.form-dark {
  background: var(--navy-light) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  color: var(--white) !important;
  padding: 0.85rem 1rem !important;
  transition: border-color 0.2s;
}
.form-dark:focus {
  border-color: var(--blue-accent) !important;
  box-shadow: 0 0 0 3px rgba(79,106,255,0.15) !important;
  outline: none;
}
.form-dark::placeholder { color: var(--text-muted) !important; }

/* ============================================================ FOOTER */
.site-footer {
  background: var(--navy-card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-tagline { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.footer-socials { display: flex; gap: 1rem; flex-wrap: wrap; }
.social-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.social-link:hover { color: var(--yellow); }

.footer-heading {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================ EMPTY PAGES */
.empty-page-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1rem 4rem;
  background: var(--navy);
}

.empty-badge {
  display: inline-block;
  background: rgba(245,200,66,0.12);
  border: 1px solid rgba(245,200,66,0.3);
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.empty-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.empty-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.empty-sub strong { color: var(--teal); }
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================ RESPONSIVE */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .float-notif--top { top: -10px; right: 0; transform: scale(0.85); transform-origin: top right; }
  .float-notif--bottom { bottom: -10px; left: 0; transform: scale(0.85); transform-origin: bottom left; }
  .gsc-card { margin-top: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-badge-exp { right: 0; }
  .about-badge-passion { left: 0; }
}
