/* === Lightbeam Studio — Blue Theme + A's Layout & Fonts === */

:root {
  --bg: #0b1020;
  --bg-soft: #111831;
  --card: #151d3a;
  --text: #eef2ff;
  --muted: #b3bfdf;
  --boo-blue: #ffffff;
  --brand: #7c9cff;
  --brand-2: #5eead4;
  --accent: #8b5cf6;
  --line: #2a3667;
  --gradient: linear-gradient(90deg, var(--brand), var(--accent));
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --max-w: 1100px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ═══════ NAV ═══════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 16, 32, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--line); }

.nav-logo {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo .boo,
footer .boo {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--gradient);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: opacity 0.3s, box-shadow 0.3s;
}
.nav-links .nav-cta:hover {
  opacity: 0.9;
  color: white;
  box-shadow: 0 4px 20px rgba(20, 79, 255, 0.3);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

/* ═══════ HERO ═══════ */
.hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--boo-blue);
  border: 1.5px solid var(--boo-blue);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero p {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 1rem;
}
.micro {
  color: var(--muted);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ═══════ BUTTONS ═══════ */
.btn-gradient, .btn-gradient-full {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn-gradient:hover, .btn-gradient-full:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(20, 79, 255, 0.3);
}
.btn-gradient-full { width: 100%; text-align: center; }

.btn-ghost, .btn-outline-full {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover, .btn-outline-full:hover {
  border-color: var(--boo-blue);
  color: var(--boo-blue);
}
.btn-outline-full { width: 100%; text-align: center; }

/* ═══════ STORY STRIP ═══════ */
.story {
  padding: 4rem 2rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-inner {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}
.story p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--muted);
}
.story p strong {
  color: var(--brand-2);
  font-style: normal;
}

/* ═══════ SECTIONS ═══════ */
section { padding: 6rem 2rem; }
.alt-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--boo-blue);
  text-align: center;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text);
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-weight: 300;
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 4rem;
}

/* ═══════ SERVICES GRID ═══════ */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.offer-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.offer-card:hover {
  border-color: rgba(20, 79, 255, 0.3);
  transform: translateY(-2px);
}
.offer-icon {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.offer-card h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.offer-card p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ═══════ PRICING ═══════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.pricing-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.pricing-card:hover {
  border-color: rgba(20, 79, 255, 0.3);
  transform: translateY(-2px);
}
.pricing-card.featured {
  border-color: var(--boo-blue);
  box-shadow: 0 0 0 1px rgba(20, 79, 255, 0.15) inset, 0 8px 32px rgba(20, 79, 255, 0.1);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pricing-card .price {
  font-family: var(--serif);
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
}
.pricing-card .price span {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}
.pricing-card .monthly {
  color: var(--brand-2);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  flex: 1;
}
.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '✓';
  color: var(--brand-2);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-features li strong { color: var(--text); }
.bonus-value {
  color: var(--brand-2);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ═══════ PORTFOLIO ═══════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.portfolio-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.portfolio-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-thumb.placeholder {
  font-size: 1rem;
  font-weight: 600;
  color: var(--boo-blue);
  background: rgba(20, 79, 255, 0.06);
}
.portfolio-info {
  padding: 1.5rem;
}
.portfolio-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.portfolio-type {
  font-size: 0.8rem;
  color: var(--brand-2);
  font-weight: 500;
}

/* ═══════ STEPS ═══════ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.step {
  text-align: center;
  padding: 1rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}
.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

/* ═══════ CONTACT FORM ═══════ */
.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.contact-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem;
  text-align: left;
  margin-top: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.optional {
  font-weight: 400;
  opacity: 0.6;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--boo-blue);
  box-shadow: 0 0 0 3px rgba(20, 79, 255, 0.15);
}
.contact-form textarea { resize: vertical; }
.full-width { margin-bottom: 12px; }
.contact-form .btn-gradient-full { margin-top: 12px; font-family: var(--sans); font-size: 0.95rem; }

/* ═══════ FOOTER ═══════ */
footer {
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--line);
}
footer p {
  font-size: 0.75rem;
  color: var(--muted);
}
footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
footer a:hover { color: var(--boo-blue); }

/* ═══════ ANIMATIONS ═══════ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════ MOBILE ═══════ */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 16, 32, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; z-index: 101; }
  .nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

  .hero { padding: 8rem 1.5rem 4rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  section { padding: 4rem 1.5rem; }
  .offers-grid, .portfolio-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1000px) {
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}
