/* ============================================================
   ShotAPI – Landing Page Styles
   Dark theme, modern SaaS aesthetic
   ============================================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background-color: #0b0b0f;
  color: #f0f0f4;
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: #f5a623;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #f7b84d;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #f0f0f4;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #b8b8cc;
  max-width: 600px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: #f5a623;
  color: #0b0b0f;
}

.btn-primary:hover {
  background: #f7b84d;
  color: #0b0b0f;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.25);
}

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

.btn-secondary:hover {
  border-color: #f5a623;
  color: #f5a623;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  border-radius: 6px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(30, 30, 40, 0.6);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f0f0f4;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.navbar-logo:hover {
  color: #f0f0f4;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #f5a623 0%, #efd275 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #0b0b0f;
  flex-shrink: 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #b8b8cc;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: #f0f0f4;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* mobile hamburger not needed — no JS — but we hide links on small screens */

/* --- Hero --- */
.hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #f5a623;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.15);
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5a623;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 850px;
}

.hero h1 span {
  background: linear-gradient(135deg, #f5a623 0%, #efd275 50%, #f5a623 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: #b8b8cc;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.hero-code {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #14141c;
  border: 1px solid #1e1e28;
  border-radius: 10px;
  padding: 0.625rem 1.25rem;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.875rem;
  color: #b8b8cc;
}

.hero-code .prompt {
  color: #f5a623;
}

.hero-code .code-text {
  color: #f0f0f4;
}

.hero-code .copy-hint {
  color: #8080a0;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

/* Trusted / stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 2.5rem;
  border-top: 1px solid #1e1e28;
  width: 100%;
  max-width: 700px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0f0f4;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: #8080a0;
  margin-top: 0.125rem;
}

/* --- Features --- */
.features {
  background: #0b0b0f;
}

.features-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.features-header .section-subtitle {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: #14141c;
  border: 1px solid #1e1e28;
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: rgba(245, 166, 35, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9375rem;
  color: #b8b8cc;
  line-height: 1.6;
}

.feature-card .feature-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f5a623;
}

/* --- Divider --- */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #1e1e28, transparent);
  max-width: 900px;
  margin: 0 auto;
}

/* --- Pricing --- */
.pricing {
  background: #0b0b0f;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pricing-header .section-subtitle {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  background: #14141c;
  border: 1px solid #1e1e28;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pricing-card.popular {
  border-color: #f5a623;
  background: linear-gradient(135deg, #14141c 0%, #1a1816 100%);
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.15), 0 12px 32px rgba(245, 166, 35, 0.06);
}

.pricing-card.popular:hover {
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.25), 0 20px 48px rgba(245, 166, 35, 0.1);
}

.popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: #f5a623;
  color: #0b0b0f;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 1.5rem;
}

.pricing-card-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #b8b8cc;
  margin-bottom: 0.5rem;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-card-price .currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f0f0f4;
}

.pricing-card-price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f0f0f4;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-card-price .period {
  font-size: 0.9375rem;
  color: #8080a0;
}

.pricing-card-desc {
  font-size: 0.875rem;
  color: #8080a0;
  margin-top: 0.5rem;
}

.pricing-card-divider {
  height: 1px;
  background: #1e1e28;
  margin: 1.25rem 0;
}

.pricing-card-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #b8b8cc;
  line-height: 1.5;
}

.pricing-card-features .check {
  color: #f5a623;
  flex-shrink: 0;
  margin-top: 0.1em;
  font-weight: 700;
}

.pricing-card-cta {
  margin-top: auto;
  width: 100%;
}

.pricing-card-cta .btn {
  width: 100%;
}

.pricing-card.popular .btn-primary {
  background: #f5a623;
  color: #0b0b0f;
}

.pricing-card.popular .btn-primary:hover {
  background: #f7b84d;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.3);
}

/* --- API Docs --- */
.api-docs {
  background: #0b0b0f;
}

.api-docs-header {
  text-align: center;
  margin-bottom: 3rem;
}

.api-docs-header .section-subtitle {
  margin: 0 auto;
}

.api-examples {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.api-example {
  background: #14141c;
  border: 1px solid #1e1e28;
  border-radius: 12px;
  overflow: hidden;
}

.api-example-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #1e1e28;
  background: rgba(30, 30, 40, 0.3);
}

.api-example-method {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.api-example-method .method {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(245, 166, 35, 0.12);
  color: #f5a623;
}

.api-example-method .endpoint {
  color: #b8b8cc;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.8125rem;
}

.api-example-method .endpoint-url {
  color: #f0f0f4;
}

.api-example-lang {
  font-size: 0.75rem;
  color: #8080a0;
  font-weight: 500;
}

.api-example-body {
  padding: 1.25rem;
  overflow-x: auto;
}

.api-example-body pre {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #e0e0e8;
  white-space: pre;
  tab-size: 2;
}

/* Inline syntax highlighting (no JS) */
.code-comment  { color: #8080a0; font-style: italic; }
.code-keyword  { color: #f5a623; }
.code-string   { color: #a8d4a0; }
.code-variable { color: #7fc1ff; }
.code-punctuation { color: #b8b8cc; }
.code-number   { color: #d19a66; }
.code-operator { color: #f5a623; }
.code-function { color: #7fc1ff; }
.code-property { color: #d4a0e0; }

/* --- CTA Section --- */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: #0b0b0f;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  color: #b8b8cc;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid #1e1e28;
  padding: 3rem 0 2rem;
}

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

.footer-brand p {
  font-size: 0.875rem;
  color: #8080a0;
  max-width: 300px;
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f0f0f4;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: #8080a0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #f0f0f4;
}

.footer-bottom {
  border-top: 1px solid #1e1e28;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: #8080a0;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-socials a {
  color: #8080a0;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: #f5a623;
}

/* --- Responsive --- */

/* Tablet / small desktop */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-code {
    width: 100%;
    justify-content: center;
    font-size: 0.8125rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .navbar-links {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .api-example-body {
    font-size: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Small phone */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .pricing-card {
    padding: 1.5rem 1.25rem;
  }
}
