/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

/* ========== VARIABLES ========== */
:root {
  --primary: #1a3a8f;
  --primary-light: #2450b5;
  --primary-glow: rgba(26, 58, 143, 0.4);
  --dark: #111111;
  --card: #1a1a1a;
  --border: #2a2a2a;
  --text: #e0e0e0;
  --muted: #888888;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.navbar-brand svg {
  height: 38px;
  width: auto;
}

/* ========== LOGO IMAGE ========== */
.navbar-logo {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.navbar-brand .brand-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a3a8f;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #4a7aff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta:hover {
  background: var(--primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px var(--primary-glow);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ========== PAGE OFFSET ========== */
section,
.services-hero,
.hero,
.legal-hero,
.about-hero {
  padding-top: 70px;
}

/* ========== HERO INDEX ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 2rem 2rem;
  background: radial-gradient(ellipse at center, #0d1525 0%, #0a0a0a 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,58,143,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(26,58,143,0.2);
  border: 1px solid rgba(26,58,143,0.5);
  color: #4a7aff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: #fff;
}

.hero h1 span {
  color: #4a7aff;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #4a7aff;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: #4a7aff;
  color: #4a7aff;
  transform: translateY(-2px);
}

/* ========== SECTION COMMUNE ========== */
section {
  padding: 80px 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  background: rgba(26,58,143,0.2);
  border: 1px solid rgba(26,58,143,0.5);
  color: #4a7aff;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.section-header h2 span {
  color: #4a7aff;
}

.section-header p {
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ========== SERVICES CARDS (index) ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #1a3a8f;
  box-shadow: 0 10px 30px rgba(26,58,143,0.2);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ========== PROCESS ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background: rgba(26,58,143,0.2);
  border: 2px solid #1a3a8f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #4a7aff;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.process-step h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, #0d1525 0%, #111827 100%);
  border: 1px solid rgba(26,58,143,0.3);
  border-radius: 20px;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section h2 span {
  color: #4a7aff;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ========== SERVICES PAGE HERO ========== */
.services-hero {
  text-align: center;
  padding: 120px 2rem 60px;
  background: radial-gradient(ellipse at top, #0d1525 0%, #0a0a0a 70%);
}

.services-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 0.5rem 0 1rem;
}

.services-hero h1 span {
  color: #4a7aff;
}

.services-hero p {
  color: var(--muted);
  font-size: 1rem;
}

/* ========== SERVICES PAGE DETAIL ========== */
.services-detail {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-detail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-detail-card:hover {
  border-color: #1a3a8f;
  box-shadow: 0 8px 25px rgba(26,58,143,0.15);
}

.service-detail-icon {
  font-size: 2.5rem;
  min-width: 60px;
  text-align: center;
}

.service-detail-body h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-detail-body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(26,58,143,0.2);
  border: 1px solid rgba(26,58,143,0.4);
  color: #4a7aff;
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
  font-size: 0.8rem;
}

/* ========== ABOUT HERO ========== */
.about-hero {
  text-align: center;
  padding: 120px 2rem 60px;
  background: radial-gradient(ellipse at top, #0d1525 0%, #0a0a0a 70%);
}

.about-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 0.5rem 0 1rem;
}

.about-hero h1 span {
  color: #4a7aff;
}

.about-hero p {
  color: var(--muted);
  max-width: 550px;
  margin: 0 auto;
}

/* ========== ABOUT CONTENT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-avatar {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #0d1525, #1a3a8f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 3px solid rgba(26,58,143,0.5);
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.about-text h2 span {
  color: #4a7aff;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s;
}

.value-card:hover {
  border-color: #1a3a8f;
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.value-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-icon {
  font-size: 1.5rem;
  min-width: 40px;
  text-align: center;
}

.contact-item-text strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}

.contact-item-text span {
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a3a8f;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select option {
  background: #111;
}

/* ========== LEGAL ========== */
.legal-hero {
  text-align: center;
  padding: 120px 2rem 60px;
  background: radial-gradient(ellipse at top, #0d1525 0%, #0a0a0a 70%);
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.legal-hero p {
  color: var(--muted);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.legal-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.legal-block h2 {
  color: #4a7aff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.legal-block p {
  color: var(--muted);
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.legal-block ul {
  color: var(--muted);
  padding-left: 1.5rem;
  line-height: 2;
}

/* ========== FOOTER ========== */
footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a3a8f;
  margin-bottom: 0.8rem;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #4a7aff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-card {
    flex-direction: column;
  }

  .hero-stats {
    gap: 1.5rem;
  }
}
