/* ============================================
   Nocturne Development — Cold Outreach Landing
   Dark theme, mobile-first, single accent color
   ============================================ */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0a0a0a;
  color: #cccccc;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #4A9EFF;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #6BB3FF;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 5rem 0;
}

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: #4A9EFF;
  color: #0a0a0a;
}

.btn-primary:hover {
  background-color: #6BB3FF;
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(74, 158, 255, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #333333;
}

.btn-secondary:hover {
  border-color: #4A9EFF;
  color: #4A9EFF;
  transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #1a1a1a;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.nav-logo span {
  color: #4A9EFF;
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  color: #999999;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

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

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: #ffffff;
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-mobile a:hover {
  color: #4A9EFF;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 158, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 640px;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content .subhead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #999999;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
  background-color: #0e0e0e;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.problem-card {
  background-color: #161616;
  border: 1px solid #222222;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: border-color 0.3s;
}

.problem-card:hover {
  border-color: #333333;
}

.problem-card .icon {
  width: 44px;
  height: 44px;
  background-color: rgba(74, 158, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #4A9EFF;
}

.problem-card .icon svg {
  width: 22px;
  height: 22px;
}

.problem-card h3 {
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: #888888;
  font-size: 0.925rem;
  margin-bottom: 0;
}

/* ============================================
   WHAT YOU GET
   ============================================ */
.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid #1a1a1a;
}

.feature-item .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-color: rgba(74, 158, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4A9EFF;
  margin-top: 2px;
}

.feature-item .check svg {
  width: 14px;
  height: 14px;
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-item p {
  color: #888888;
  font-size: 0.875rem;
  margin-bottom: 0;
}

.pricing-callout {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  background-color: #161616;
  border: 1px solid #222222;
  border-radius: 12px;
  padding: 1.5rem 2rem;
}

.pricing-callout .price {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #4A9EFF;
}

.pricing-callout .label {
  font-size: 0.95rem;
  color: #888888;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.portfolio-card {
  background-color: #161616;
  border: 1px solid #222222;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.portfolio-card:hover {
  border-color: #333333;
  transform: translateY(-4px);
}

.portfolio-card .screenshot {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555555;
  border-bottom: 1px solid #222222;
}

.portfolio-card .screenshot-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid #222222;
  border-radius: 10px 10px 0 0;
  background-color: #1a1a1a;
}

.portfolio-card .card-body {
  padding: 1.25rem 1.5rem;
}

.portfolio-card h3 {
  margin-bottom: 0.375rem;
}

.portfolio-card p {
  color: #888888;
  font-size: 0.875rem;
  margin-bottom: 0.875rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background-color: rgba(74, 158, 255, 0.1);
  color: #4A9EFF;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background-color: #0e0e0e;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(74, 158, 255, 0.1);
  border: 2px solid #4A9EFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #4A9EFF;
}

.step h3 {
  margin-bottom: 0.375rem;
}

.step p {
  color: #888888;
  font-size: 0.925rem;
  margin-bottom: 0;
}

/* ============================================
   ABOUT
   ============================================ */
.about-content {
  max-width: 640px;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #bbbbbb;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #1a1a1a;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #777777;
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: #4A9EFF;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background-color: #0e0e0e;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: #cccccc;
  font-size: 1rem;
}

.contact-method svg {
  width: 20px;
  height: 20px;
  color: #4A9EFF;
  flex-shrink: 0;
}

.contact-method a {
  color: #cccccc;
}

.contact-method a:hover {
  color: #4A9EFF;
}

.calendly-inline-link {
  color: #4A9EFF;
  text-decoration: none;
  font-weight: 500;
}

.calendly-inline-link:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: #161616;
  border: 1px solid #222222;
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #4A9EFF;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555555;
}

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

.contact-form .btn {
  width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid #1a1a1a;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

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

.footer a {
  color: #555555;
  font-size: 0.8rem;
}

.footer a:hover {
  color: #4A9EFF;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4A9EFF;
  margin-bottom: 0.75rem;
}

/* ============================================
   DESKTOP BREAKPOINT (768px+)
   ============================================ */
@media (min-width: 768px) {
  section {
    padding: 6.5rem 0;
  }

  .container {
    padding: 0 2rem;
  }

  /* Nav */
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  /* Problem grid */
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Features */
  .features-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
  }

  /* Portfolio grid */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Steps */
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

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

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 4rem;
  }
}

/* ============================================
   LARGE DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .hero-content {
    max-width: 720px;
  }

  .problem-card {
    padding: 2.25rem 2rem;
  }
}