/* styles.css */
:root {
  --background: #ffffff;
  --foreground: #020617;
  --border: rgba(0, 0, 0, 0.08);
  --input: #f9fafb;

  --primary: #2563eb;
  --primary-foreground: #ffffff;

  --secondary: #e5edff;
  --secondary-foreground: #1d4ed8;

  --muted: #f3f4f6;
  --muted-foreground: #6b7280;

  --card: #ffffff;
  --card-foreground: #020617;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  --font-family-body: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-family-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon--14 iconify-icon {
  font-size: 14px;
  color: currentColor;
}

.icon--16 iconify-icon {
  font-size: 16px;
  color: currentColor;
}

.icon--18 iconify-icon {
  font-size: 18px;
  color: currentColor;
}

.icon--20 iconify-icon {
  font-size: 20px;
  color: currentColor;
}

/* ---------------------------
   Navigation
--------------------------- */

.nav-header {
  padding: 24px 0 20px;
  padding-bottom: 48px;
  background: transparent;
  color: #ffffff;
}

.nav-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-align: center;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link-strong {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.nav-link-strong:hover {
  color: #bfdbfe;
}

.form-submission {

  margin: 0 auto;
  width: 40%;
  background-color: #f4f4f4;
  text-align: center;
  padding: 40px;
  border-radius:10px;
}

.form-submission h1 {
  font-size: 40px;
}

.form-submission p {
  font-size: 18px;
}
/* ---------------------------
   Hero
--------------------------- */

.hero-shell {
  background: linear-gradient(135deg, #0b1120 0%, #1d4ed8 45%, #2563eb 80%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-bottom: 90px;
}

/* curved wave effect at bottom of hero */
.hero-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: #ffffff;
  clip-path: polygon(
    0 40%,
    10% 50%,
    25% 60%,
    40% 55%,
    55% 65%,
    70% 50%,
    85% 60%,
    100% 45%,
    100% 100%,
    0 100%
  );
}

.hero-section {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.kicker {
  display: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0; /* no margin-bottom */
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #bfdbfe;
}

.hero-headline {
  font-size: 76px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.09em;
  margin: 0; /* spacing from kicker, using margin-top only */
  color: #ffffff;
}

.hero-subtext {
  font-size: 20px;
  color: #e5e7eb;
  line-height: 1.7;
  margin: 24px auto 0 auto; /* no margin-bottom */
  max-width: 620px;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
}

.hero-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 30px;
  background: #000000;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 40px; /* symmetrical spacing vs headline's margin-top */
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 18px;
  font-size: 13px;
  color: #e5e7eb;
  flex-wrap: wrap;
}

/* ---------------------------
   Shared section heading
--------------------------- */

.section-intro-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  margin: 20px 0 4px 0; /* 20px above */
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.06em;
  margin: 20px 0 10px 0; /* 20px above */
  color: var(--foreground);
  line-height: 1.1;
}

.section-intro-copy {
  font-size: 15px;
  color: var(--muted-foreground);
  margin: 0 auto;
  max-width: 620px;
}

.section-label-on-dark {
  color: #bfdbfe;
}

.section-title-on-dark {
  color: #f9fafb;
}

.section-intro-copy-on-dark {
  color: #cbd5f5;
}

/* ---------------------------
   Freelancer section
--------------------------- */

.freelancer-section {
  padding: 20px 0 40px; /* requested */
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.freelancer-tags-grid {
  display: grid;
  grid-template-columns: repeat(3, max-content); /* 3 per row, tight */
  justify-content: center;
  column-gap: 16px;
  row-gap: 12px;
  max-width: 100%;
  margin: 14px auto 24px auto;
}

.freelancer-pill {
  background: var(--secondary);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  border: 1px solid rgba(37, 99, 235, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  white-space: nowrap;
}

.freelancer-pill-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
  font-weight: 600;
  font-size: 10px;
}

.freelancer-pill-label::before {
  content: "<";
  margin-right: 2px;
  color: rgba(37, 99, 235, 0.9);
}

.freelancer-pill-label::after {
  content: ">";
  margin-left: 2px;
  color: rgba(37, 99, 235, 0.9);
}

.freelancer-pill-value {
  font-weight: 500;
  color: var(--foreground);
}

.freelancer-copy-grid {
  max-width: 880px;
  margin: 0 auto 18px auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.freelancer-copy-col p {
  font-size: 15px;
  color: var(--muted-foreground);
  margin: 0;
}

.freelancer-footer-link-wrapper {
  margin-top: 20px; /* requested spacing above CTA */
  text-align: center;
}

.freelancer-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary-foreground);
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
  padding-bottom: 2px;
}

/* ---------------------------
   Services stack
--------------------------- */

.services-stack-section {
  padding: 88px 0 88px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.9) 0, #020617 60%);
  color: #f9fafb;
}

.services-stack-section .section-intro-centered {
  margin-bottom: 40px;
}

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

.services-stack-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: #e5e7eb;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.services-stack-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.services-stack-card-inner {
  padding: 20px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.services-stack-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.7;
  mix-blend-mode: screen;
}

.services-stack-card--tagging::before {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(59, 130, 246, 0.24));
}

.services-stack-card--analytics::before {
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.16), rgba(59, 130, 246, 0.3));
}

.services-stack-card--paid::before {
  background: linear-gradient(155deg, rgba(244, 114, 182, 0.18), rgba(59, 130, 246, 0.32));
}

.services-stack-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.services-stack-card h3 {
  font-size: 20px;
  letter-spacing: -0.04em;
  margin: 0;
  color: #f9fafb;
}

.services-stack-card p {
  font-size: 14px;
  color: #e5e7eb;
  margin: 0;
}

/* ---------------------------
   Principles
--------------------------- */

.principles-section {
  padding: 96px 0;
  background: #ffffff;
}

.principles-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 2.4fr;
  gap: 28px;
  align-items: start;
}

.principle-list-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.principle-item {
  width: 100%;
  padding: 8px 0 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: transparent;
  text-align: left;
}

.principle-item:hover .principle-title {
  color: var(--secondary-foreground);
}

.principle-item-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  overflow: hidden;
}

.principle-number {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-foreground);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.principle-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color 160ms ease;
}

.principle-item.active .principle-title {
  color: var(--secondary-foreground);
  font-weight: 700;
}

.principle-item-arrow {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  flex: 0 0 auto;
}

.principle-item.active .principle-item-arrow {
  color: var(--primary);
}

.principle-content {
  grid-column: 3 / span 1;
  background: #ffffff;
  padding: 10px 32px 20px 32px;
}

.principle-content-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.principle-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--foreground);
}

.principle-content p {
  font-size: 15px;
  color: var(--foreground);
  line-height: 1.5;
  margin: 0 0 14px 0;
  max-width: 640px;
}

.principle-cta-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary-foreground);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
  padding-bottom: 2px;
  margin-top: 20px; /* requested spacing above CTA */
}

/* Mobile panel styling (same visual language as the desktop panel) */
.principle-mobile-panel {
  background: #ffffff;
  padding: 18px 0 0 0;
  border-top: 1px solid rgba(2, 6, 23, 0.12);
}

/* ---------------------------
   Process
--------------------------- */

.process-section {
  padding: 96px 0;
  background-color: #f3f6fb;
}

.process-subtext {
  font-size: 15px;
  color: var(--muted-foreground);
  max-width: 520px;
  margin: 0 auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  row-gap: 48px;
  margin-top: 34px;
}

.process-step-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 20px 22px 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.process-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number-pill {
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary-foreground);
  background: radial-gradient(circle at top, #e8f4ff, #ffffff);
}

.step-title {
  font-size: 17px;
  font-weight: 600;
}

.step-desc {
  font-size: 14px;
  color: var(--muted-foreground);
  margin: 0;
}

.process-arrow-inline {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-foreground);
}

.process-arrow-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.process-arrow-icon iconify-icon {
  font-size: 14px;
  color: currentColor;
}

/* ---------------------------
   Contact
--------------------------- */

.contact-section {
  padding: 96px 0 64px;
  background-color: #111827;
  background-image:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.45) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.25) 0, transparent 75%);
  color: #e5e7eb;
}

.contact-section .section-intro-centered {
  margin-bottom: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 4px;
}

.contact-expectations {
  margin-bottom: 18px;
}

.contact-expectations-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #e5e7eb;
  display: grid;
  gap: 8px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #60a5fa;
  margin-top: 7px;
  flex: 0 0 auto;
}

.contact-supporting-copy {
  font-size: 14px;
  color: #9ca3af;
  margin: 0 0 16px 0;
  max-width: 460px;
}

.contact-meta-row {
  display: flex;
  gap: 18px 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.contact-meta-label {
  display: block;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.contact-meta-value {
  font-size: 17px;
  font-weight: 500;
  color: #e5e7eb;
}

.contact-form-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 20px 22px 20px;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

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

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
}

.form-input {
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  background: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 14px;
  color: #020617;
  outline: none;
}

.form-textarea {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 14px;
  color: #020617;
  min-height: 110px;
  resize: vertical;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(37, 99, 235, 0.75);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-xl);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.submit-button-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
}

.submit-button-icon iconify-icon {
  font-size: 18px;
  color: currentColor;
}

.submit-hint {
  font-size: 12px;
  color: #9ca3af;
  max-width: 320px;
}

/* ---------------------------
   Footer
--------------------------- */

.footer {
  padding: 32px 0 40px;
  background: #020617;
  color: #9ca3af;
  font-size: 13px;
  border-top: 1px solid rgba(148, 163, 184, 0.45);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  font-weight: 700;
  letter-spacing: -0.06em;
  font-size: 16px;
  color: #e5f3ff;
}

.footer-tagline,
.footer-meta {
  font-size: 12px;
  color: #64748b;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px 20px;
  flex-wrap: wrap;
}

.footer-link {
  color: #cbd5f5;
  font-size: 13px;
}

.footer-separator {
  width: 1px;
  height: 16px;
  background: rgba(148, 163, 184, 0.5);
}

/* ---------------------------
   Responsive
--------------------------- */

@media (max-width: 1100px) {
  .principles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .principle-content {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .services-stack-grid {
    grid-template-columns: 1fr;
  }

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

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

  .freelancer-tags-grid {
    grid-template-columns: repeat(2, max-content);
  }

  .hero-shell::after {
    height: 96px;
  }

  .hero-headline {
    font-size: 56px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  .freelancer-copy-grid {
    grid-template-columns: 1fr;
  }

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

  .freelancer-tags-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-section {
    padding: 52px 0 84px;
  }

  .hero-headline {
    font-size: 44px;
  }

  .hero-subtext {
    font-size: 17px;
  }

  .nav-links {
    gap: 14px 18px;
  }

  /* Principles: ensure content appears under the clicked item (JS hides desktop aside) */
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .principle-content {
    display: none;
  }

  .principle-mobile-panel {
    display: block;
  }
}
