/* === CSS Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 100%; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a2e;
  background-color: #f8fafc;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === Color System === */
:root {
  --navy-deep: #0f1a2e;
  --navy-mid: #152238;
  --navy-light: #1e3555;
  --gold: #c8963e;
  --gold-light: #e0b45a;
  --teal: #1ea896;
  --teal-light: #2ec4b6;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-light: #e2e8f0;
  --gray-mid: #94a3b8;
  --gray-dark: #475569;
  --text-dark: #1a1a2e;
  --text-mid: #334155;
  --text-light: #64748b;
  --success: #16a34a;
  --section-pad: 100px 0;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--navy-deep); }

h1 { font-size: 3.2rem; letter-spacing: -0.5px; }
h2 { font-size: 2.2rem; letter-spacing: -0.3px; margin-bottom: 1.2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

/* === Container === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header & Navigation === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--navy-deep);
  transition: box-shadow 0.3s ease;
  height: 72px;
  display: flex;
  align-items: center;
}

.site-header.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy-deep);
  font-weight: 800;
}

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-links a {
  color: var(--gray-mid);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

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

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

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 150, 62, 0.35);
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 26px;
  height: 2.5px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* === Hero Section === */
.hero {
  padding: 160px 0 120px;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 40%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 150, 62, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 168, 150, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { color: var(--white); }

.hero-badge {
  display: inline-block;
  background: rgba(200, 150, 62, 0.15);
  color: var(--gold-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  border: 1px solid rgba(200, 150, 62, 0.25);
}

.hero-content h1 {
  font-size: 3.4rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content h1 span { color: var(--gold); }

.hero-content p {
  font-size: 1.15rem;
  color: var(--gray-mid);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 150, 62, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gray-mid);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 150, 62, 0.08);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  width: 100%;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.hero-stat {
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin-top: 6px;
  display: block;
}

.hero-feature-list { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-mid);
  font-size: 0.95rem;
}

.hero-feature-item .check-icon {
  width: 22px;
  height: 22px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
}

/* === Section Common === */
.section { padding: var(--section-pad); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .section-tag {
  display: inline-block;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 12px;
}

/* === Services Section === */
.services-section { background-color: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 28px;
  border: 1px solid var(--gray-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15, 26, 46, 0.1); }

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-icon.navy { background: var(--navy-light); color: var(--white); }
.service-icon.gold { background: rgba(200, 150, 62, 0.15); color: var(--gold); }
.service-icon.teal { background: rgba(30, 168, 150, 0.12); color: var(--teal); }

.service-card h3 { margin-bottom: 10px; font-size: 1.25rem; }

.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* === About Section === */
.about-section { background-color: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 420px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.about-visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.about-visual-content .big-number {
  font-size: 5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.about-visual-content p {
  font-size: 1.1rem;
  color: var(--gray-mid);
  margin-top: 8px;
}

.about-content h2 { margin-bottom: 16px; }

.about-content > p {
  color: var(--text-mid);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--off-white);
  border-radius: 10px;
  border-left: 3px solid var(--teal);
}

.about-feature .feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--navy-deep); }

.about-feature p { font-size: 0.85rem; color: var(--text-light); }

/* === Stats Bar === */
.stats-bar {
  background: var(--navy-mid);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-value {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-title {
  font-size: 0.9rem;
  color: var(--gray-mid);
  font-weight: 500;
}

/* === Process Section === */
.process-section { background: var(--off-white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--gray-light);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.process-step h4 { margin-bottom: 8px; color: var(--navy-deep); }

.process-step p { font-size: 0.88rem; color: var(--text-light); }

/* === Industries Section === */
.industries-section { background: var(--white); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--gray-light);
  transition: all 0.3s ease;
}

.industry-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 168, 150, 0.1);
}

.industry-card .industry-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.industry-card h4 { font-size: 0.9rem; color: var(--navy-deep); }

/* === Testimonials === */
.testimonials-section { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid var(--gray-light);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--gray-light);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-light);
  padding-top: 16px;
}

.testimonial-author .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-light);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-author .author-info .author-name {
  font-weight: 600;
  color: var(--navy-deep);
  font-size: 0.9rem;
}

.testimonial-author .author-info .author-role {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* === Contact Section === */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h2 { margin-bottom: 16px; }

.contact-info > p { color: var(--text-light); margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 18px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--off-white);
  border-radius: 10px;
}

.contact-item .contact-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-deep);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 0.9rem; margin-bottom: 2px; color: var(--navy-deep); }

.contact-item p { font-size: 0.9rem; color: var(--text-mid); }

.contact-form {
  background: var(--off-white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--gray-light);
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
}

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

/* === Footer === */
.site-footer {
  background: var(--navy-deep);
  color: var(--gray-mid);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p { margin-top: 14px; font-size: 0.9rem; line-height: 1.7; }

.footer-brand .logo { margin-bottom: 8px; }

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  color: var(--gray-mid);
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a { color: var(--gold); }

/* === Page Header (for Privacy & Terms) === */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 60%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 150, 62, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 { color: var(--white); position: relative; z-index: 1; }

.page-header .page-subtitle {
  color: var(--gray-mid);
  font-size: 1.05rem;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

/* === Content Page Styling (Privacy & Terms) === */
.content-page { padding: 64px 0 80px; background: var(--white); }

.content-page .content-wrapper { max-width: 860px; margin: 0 auto; }

.content-page .last-updated {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 40px;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.content-page h2 {
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin-top: 48px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-light);
}

.content-page h2:first-of-type { margin-top: 0; }

.content-page p {
  color: var(--text-mid);
  margin-bottom: 18px;
  line-height: 1.8;
}

.content-page ul {
  list-style: disc;
  padding-left: 28px;
  margin-bottom: 18px;
  color: var(--text-mid);
}

.content-page ul li { margin-bottom: 8px; line-height: 1.7; }

.content-page strong { color: var(--navy-deep); }

/* === Scroll to Top === */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--navy-deep);
  color: var(--white);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

.scroll-top:hover { background: var(--gold); color: var(--navy-deep); }

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === Notifications === */
.notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-deep);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 2000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  transition: all 0.3s ease;
}

.notification.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.notification.success { border-left: 4px solid var(--success); }

.notification.error { border-left: 4px solid #dc2626; }

/* === Responsive === */
@media (max-width: 1024px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.9rem; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 300px; }

  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .process-steps::before { display: none; }

  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }

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

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--navy-deep);
    padding: 24px;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-toggle { display: flex; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }

  .hero { padding: 120px 0 80px; }
  .hero-stat-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  .section { padding: 64px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 36px; }

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { padding: 36px 0; }
  .stat-item .stat-value { font-size: 2rem; }

  .process-steps { grid-template-columns: 1fr; gap: 24px; }

  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
