﻿/* --------------------------------------------------
   Base Tokens
-------------------------------------------------- */
:root {
  --color-bg: #f9fafb;
  --color-surface: #ffffff;
  --color-text: #111322;
  --color-muted: #5f6368;
  --color-border: #e4e7ec;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent-soft: #e0edff;
  --shadow-soft: 0 15px 35px rgba(20, 24, 36, 0.08);
  --shadow-card: 0 20px 45px rgba(15, 23, 42, 0.08);
  --radius-card: 1.25rem;
  scroll-behavior: smooth;
}

/* --------------------------------------------------
   Global Styles & Typography
-------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
  color: var(--color-muted);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--color-primary-dark);
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header p {
  margin: 1rem auto 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--color-muted);
}

.feature-list li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.45rem;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* --------------------------------------------------
   Buttons
-------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(17, 19, 34, 0.12);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-text);
  transform: translateY(-2px);
}

/* --------------------------------------------------
   Header & Navigation
-------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(228, 231, 236, 0.7);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  font-weight: 500;
}

.site-nav a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.35rem;
  border: none;
  background: transparent;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --------------------------------------------------
   Hero Section
-------------------------------------------------- */
.hero {
  padding-top: 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.stat-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.stat-item span {
  display: block;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
}

/* --------------------------------------------------
   Cards & Grids
-------------------------------------------------- */
.service-list,
.card-grid,
.pricing-grid,
.process-steps,
.testimonial-grid,
.team-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card,
.process-step,
.testimonial-card,
.why-card,
.pillar-card,
.team-card,
.contact-card,
.contact-info-card,
.legal-card,
.pricing-card {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.process-step:hover,
.testimonial-card:hover,
.why-card:hover,
.pillar-card:hover,
.team-card:hover,
.pricing-card:hover,
.contact-card:hover,
.contact-info-card:hover,
.legal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.service-icon {
  font-size: 1.8rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-text);
}

/* --------------------------------------------------
   Pricing
-------------------------------------------------- */
.pricing-card {
  position: relative;
  padding-top: 2.5rem;
}

.pricing-card.most-popular {
  border-color: var(--color-primary);
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.price {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0.2rem 0 0.5rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}

.plan-features li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.6rem;
  color: var(--color-muted);
}

.plan-features li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* --------------------------------------------------
   CTA Banner
-------------------------------------------------- */
.cta-banner {
  background: var(--color-text);
  color: #fff;
  padding: 3.5rem 0;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* --------------------------------------------------
   About & Team
-------------------------------------------------- */
.team-card {
  text-align: center;
}

.team-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  margin: 0 auto 1rem;
}

/* --------------------------------------------------
   Contact Page
-------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-info li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  color: var(--color-text);
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--color-border);
  font: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-message {
  min-height: 1.25rem;
  font-size: 0.9rem;
}

.form-message.error {
  color: #b42318;
}

.form-message.success {
  color: #027a48;
}

/* --------------------------------------------------
   Legal Pages
-------------------------------------------------- */
.legal-page {
  background: var(--color-surface);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.legal-page h2 {
  margin-top: 2rem;
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */
.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------
   Responsive Adjustments
-------------------------------------------------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease;
  }

  .site-nav.is-open {
    transform: scaleY(1);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
  }

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  section {
    padding: 3.5rem 0;
  }

  .pricing-card,
  .service-card,
  .contact-card,
  .process-step {
    padding: 1.5rem;
  }

  .header-inner {
    padding: 1rem 0;
  }
}
