/* ============================================
   Step One Sites — styles.css
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg: #0D0D0F;
  --bg-2: #111318;
  --bg-3: #16191F;
  --yellow: #F7C843;
  --teal: #5EC4D4;
  --gradient: linear-gradient(135deg, #F7C843, #5EC4D4);
  --white: #F2F4F8;
  --muted: #7A8499;
  --border: rgba(255, 255, 255, 0.07);
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 10px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--white);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p {
  font-weight: 300;
  color: var(--muted);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--bg);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(247, 200, 67, 0.3);
}

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

.btn-ghost:hover {
  border-color: var(--muted);
}

.btn-gradient {
  position: relative;
  background: var(--gradient);
  color: var(--bg);
  font-weight: 500;
}

.btn-gradient:hover {
  box-shadow: 0 4px 20px rgba(94, 196, 212, 0.3);
}

/* Nav CTA button — gradient border, transparent fill, gradient text */
.btn-nav-cta {
  position: relative;
  padding: 10px 22px;
  border-radius: var(--radius);
  background: transparent;
  font-weight: 500;
  font-size: 0.85rem;
  z-index: 1;
}

.btn-nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.btn-nav-cta span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(13, 13, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo img {
  height: 30px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(13, 13, 15, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a.active {
  color: var(--yellow);
}

.mobile-menu .btn-nav-cta {
  margin-top: 16px;
  display: block;
  text-align: center;
  width: 100%;
  padding: 14px;
}

@media (max-width: 768px) {
  .nav-links,
  .nav-right .btn-nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .nav-logo img {
    height: 28px;
  }
}

@media (min-width: 769px) {
  .nav-logo img {
    height: 36px;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(94, 196, 212, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 32px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
}

/* ============================================
   SECTIONS — General
   ============================================ */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bg);
  background: var(--gradient);
  position: relative;
}

.step h3 {
  margin-bottom: 6px;
}

.step p {
  font-size: 0.95rem;
}

@media (min-width: 769px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ============================================
   WHAT'S INCLUDED — Card Grid
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 200, 67, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.proof-placeholder {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 28px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}

.proof-placeholder p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.contact-pitch > p {
  margin-bottom: 24px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--white);
}

.checklist li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
}

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

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

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%237A8499' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--gradient);
  color: var(--bg);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(247, 200, 67, 0.3);
}

.form-thankyou {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-thankyou.show {
  display: block;
}

.form-thankyou h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.form-thankyou p {
  font-size: 1rem;
}

@media (min-width: 769px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.page-header {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 40px;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  max-width: 500px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Filter Buttons */
.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  border-color: var(--yellow);
  background: rgba(247, 200, 67, 0.08);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.portfolio-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 196, 212, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.portfolio-preview {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.portfolio-preview.gradient-1 {
  background: linear-gradient(135deg, rgba(247, 200, 67, 0.15), rgba(94, 196, 212, 0.1));
}

.portfolio-preview.gradient-2 {
  background: linear-gradient(135deg, rgba(94, 196, 212, 0.15), rgba(247, 200, 67, 0.1));
}

.portfolio-preview.gradient-3 {
  background: linear-gradient(135deg, rgba(247, 200, 67, 0.1), rgba(94, 196, 212, 0.15));
}

.portfolio-body {
  padding: 24px;
}

.portfolio-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  background: rgba(94, 196, 212, 0.1);
  margin-bottom: 10px;
}

.portfolio-body h3 {
  margin-bottom: 8px;
}

.portfolio-body p {
  font-size: 0.9rem;
}

.portfolio-card.cta-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 28px;
  border-style: dashed;
}

.portfolio-card.cta-card h3 {
  margin-bottom: 12px;
}

.portfolio-card.cta-card .btn {
  margin-top: 16px;
}

@media (min-width: 600px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Bottom CTA Strip */
.cta-strip {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-strip h2 {
  margin-bottom: 12px;
}

.cta-strip p {
  margin-bottom: 28px;
  font-size: 1rem;
}

/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-card-wrapper {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  padding: 2px;
  border-radius: 12px;
  background: var(--gradient);
}

.pricing-card {
  background: var(--bg-3);
  border-radius: 11px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.price-display {
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-period {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 300;
}

.price-term {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.includes-list {
  text-align: left;
  margin-bottom: 32px;
}

.includes-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--white);
  border-bottom: 1px solid var(--border);
}

.includes-list li:last-child {
  border-bottom: none;
}

.includes-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* What "Ongoing" Means */
.ongoing-section {
  max-width: 640px;
  margin: 0 auto;
}

.ongoing-section h2 {
  text-align: center;
  margin-bottom: 32px;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.scope-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.scope-card h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.scope-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.scope-card.in-scope ul li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

.scope-card.out-scope ul li::before {
  content: '✗';
  color: var(--muted);
  font-weight: 700;
}

@media (min-width: 600px) {
  .scope-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  max-width: 680px;
  margin: 0 auto;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 32px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-answer {
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-logo img {
  height: 28px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
