/* =============================================
   TRACKEDRIGHT.BE — Stylesheet
   Colors: #F5F5F5 (bg), #2D2D2D (text), #6C63FF (accent)
   Fonts: DM Sans (headings), Inter (body)
============================================= */

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

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #F5F5F5;
  color: #2D2D2D;
  font-size: 17px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #2D2D2D;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: #444; }
a { color: #6C63FF; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* --- LAYOUT --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* --- NAVIGATION --- */
nav {
  background: #fff;
  border-bottom: 1px solid #E8E8F0;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #2D2D2D;
  text-decoration: none;
}

.nav-logo span { color: #6C63FF; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #2D2D2D;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: #6C63FF; }

.nav-cta {
  background: #6C63FF;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: #5a52d5 !important; text-decoration: none !important; }

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2D2D2D;
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: #6C63FF;
  color: #fff;
  border: 2px solid #6C63FF;
}

.btn-primary:hover {
  background: #5a52d5;
  border-color: #5a52d5;
  text-decoration: none;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #6C63FF;
  border: 2px solid #6C63FF;
}

.btn-outline:hover {
  background: #6C63FF;
  color: #fff;
  text-decoration: none;
}

/* --- HERO --- */
.hero {
  background: #fff;
  padding: 100px 0 80px;
  border-bottom: 1px solid #E8E8F0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text h1 span { color: #6C63FF; }

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: #555;
}

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

.hero-visual {
  background: linear-gradient(135deg, #F0EFFE 0%, #E8E8F0 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-stat {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(108,99,255,0.08);
}

.hero-stat-icon {
  font-size: 1.8rem;
  width: 48px;
  text-align: center;
}

.hero-stat-text strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: #2D2D2D;
}

.hero-stat-text span {
  font-size: 0.85rem;
  color: #888;
}

/* --- TRUST BAR --- */
.trust-bar {
  background: #2D2D2D;
  color: #fff;
  padding: 16px 0;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.trust-bar span { color: #6C63FF; margin: 0 8px; }

/* --- PROBLEM SECTION --- */
.problem { background: #F5F5F5; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.problem-text h2 { margin-bottom: 20px; }

.problem-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #444;
}

.problem-list li::before {
  content: '✗';
  color: #ff6b6b;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.problem-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  border-left: 4px solid #6C63FF;
  box-shadow: 0 4px 24px rgba(108,99,255,0.08);
}

.problem-box h3 { color: #6C63FF; margin-bottom: 16px; }

/* --- SERVICES OVERVIEW --- */
.services-overview { background: #fff; }
.services-overview h2 { text-align: center; margin-bottom: 12px; }
.services-overview .section-sub {
  text-align: center;
  color: #888;
  margin-bottom: 48px;
  font-size: 1rem;
}

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

.service-card {
  background: #F5F5F5;
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(108,99,255,0.12);
  border-color: #6C63FF;
}

.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; margin-bottom: 20px; }
.service-card .price {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #6C63FF;
  margin-bottom: 16px;
}

/* --- HOW IT WORKS --- */
.how-it-works { background: #F5F5F5; }
.how-it-works h2 { text-align: center; margin-bottom: 48px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.step-number {
  width: 52px;
  height: 52px;
  background: #6C63FF;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 20px;
}

/* --- ABOUT TEASER --- */
.about-teaser { background: #fff; }

.about-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.about-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 10%;
  border: 4px solid #6C63FF;
  margin: 0 auto;
}

.about-photo-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8E8F0, #D4D0FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin: 0 auto;
  border: 4px solid #6C63FF;
}

/* --- CTA SECTION --- */
.cta-section {
  background: #6C63FF;
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.1rem; }

.btn-white {
  background: #fff;
  color: #6C63FF;
  border: 2px solid #fff;
}

.btn-white:hover {
  background: transparent;
  color: #fff;
  text-decoration: none;
}

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: #fff;
  padding: 60px 0;
  border-bottom: 1px solid #E8E8F0;
  text-align: center;
}

.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto; }

/* --- SERVICES PAGE --- */
.service-detail {
  padding: 64px 0;
  border-bottom: 1px solid #E8E8F0;
}

.service-detail:nth-child(even) { background: #fff; }
.service-detail:nth-child(odd) { background: #F5F5F5; }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }

.service-detail h2 { margin-bottom: 16px; }
.service-detail .price-tag {
  display: inline-block;
  background: #6C63FF;
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.checklist {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #444;
}

.checklist li::before {
  content: '✓';
  color: #6C63FF;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.deliverable-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 2px solid #E8E8F0;
}

.deliverable-box h3 { margin-bottom: 16px; color: #6C63FF; }

.combo-box {
  background: linear-gradient(135deg, #6C63FF, #8B85FF);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin-top: 48px;
}

.combo-box h2 { color: #fff; margin-bottom: 16px; }
.combo-box p { color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.combo-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.combo-saving {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 28px;
}

/* --- ABOUT PAGE --- */
.about-hero { background: #fff; padding: 80px 0; }

.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.about-photo-large {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 10%;
  border: 4px solid #6C63FF;
}

.about-photo-large-placeholder {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(135deg, #E8E8F0, #D4D0FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  border: 4px solid #6C63FF;
}

.about-beliefs { background: #F5F5F5; }

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

.belief-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border-top: 4px solid #6C63FF;
}

.belief-card h3 { margin-bottom: 12px; font-size: 1.1rem; }

.practical-info { background: #fff; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #F5F5F5;
  border-radius: 12px;
  padding: 24px;
}

.info-icon { font-size: 1.5rem; flex-shrink: 0; }

/* --- CONTACT PAGE --- */
.contact-section { background: #fff; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2D2D2D;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #E8E8F0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #2D2D2D;
  background: #F5F5F5;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: #6C63FF; background: #fff; }

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

/* FAQ */
.faq { background: #F5F5F5; }
.faq h2 { text-align: center; margin-bottom: 40px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  border-left: 4px solid #6C63FF;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #2D2D2D;
}

.faq-item p { font-size: 0.95rem; margin: 0; color: #555; }

/* --- FOOTER --- */
footer {
  background: #2D2D2D;
  color: #fff;
  padding: 48px 0 32px;
}

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

.footer-brand .nav-logo { color: #fff; font-size: 1.3rem; }
.footer-brand p { color: #aaa; font-size: 0.9rem; margin-top: 12px; }

.footer-links h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #aaa; font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #6C63FF; }

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: #888; font-size: 0.85rem; margin: 0; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  section { padding: 56px 0; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 24px; border-bottom: 1px solid #E8E8F0; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-inner,
  .problem-grid,
  .about-teaser-inner,
  .service-detail-inner,
  .about-hero-inner,
  .contact-inner,
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .service-detail-inner.reverse { direction: ltr; }

  .services-grid,
  .steps,
  .belief-grid,
  .info-grid { grid-template-columns: 1fr; }

  .hero { padding: 60px 0 48px; }
  .hero-visual { display: none; }

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