/* Clean My Photos — marketing site */

:root {
  --abyss: #04050c;
  --rich-black: #050810;
  --deep-navy: #0d1428;
  --elevated-navy: #171e38;
  --electric-blue: #3894ff;
  --electric-glow: #59a6ff;
  --soft-blue: #85b8fa;
  --text-primary: #ffffff;
  --text-secondary: #adb9cc;
  --text-tertiary: #7a8799;
  --glass-border: rgba(56, 148, 255, 0.28);
  --glass-fill: rgba(26, 36, 61, 0.72);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 48px rgba(56, 148, 255, 0.22);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.45);
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
  background: var(--abyss);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56, 148, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(13, 20, 40, 0.9), transparent 50%),
    linear-gradient(180deg, var(--abyss) 0%, var(--rich-black) 40%, var(--deep-navy) 100%);
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--electric-glow);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

.text-gradient {
  background: linear-gradient(90deg, var(--soft-blue), var(--electric-glow), var(--electric-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 5, 12, 0.82);
  backdrop-filter: blur(16px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(56, 148, 255, 0.35);
  border: 1px solid rgba(56, 148, 255, 0.35);
}

.brand-name {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 0.95rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(4, 5, 12, 0.96);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  z-index: 99;
}

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

.nav-mobile a {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}

.nav-mobile a:hover {
  background: var(--glass-fill);
  text-decoration: none;
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--text-primary);
  background: linear-gradient(135deg, #1e4a9e 0%, var(--electric-blue) 50%, var(--electric-glow) 100%);
  box-shadow: 0 10px 32px rgba(56, 148, 255, 0.4), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 40px rgba(56, 148, 255, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
  color: var(--text-primary);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
}

.btn-ghost {
  color: var(--soft-blue);
  background: transparent;
  padding: 10px 16px;
}

.btn-lg {
  padding: 18px 32px;
  font-size: 1.05rem;
  border-radius: 16px;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 48px 0 72px;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(56, 148, 255, 0.12);
  border: 1px solid var(--glass-border);
  color: var(--soft-blue);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.2rem;
  max-width: 34ch;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-strip svg {
  width: 16px;
  height: 16px;
  color: var(--electric-glow);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.phone-mock {
  margin: 0 auto;
  max-width: 320px;
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: var(--deep-navy);
  aspect-ratio: 9/19;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mock-header em {
  font-style: normal;
  background: linear-gradient(90deg, var(--soft-blue), var(--electric-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mock-card {
  padding: 16px;
  border-radius: 18px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
}

.mock-card strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.4rem;
  margin-top: 4px;
}

.mock-swipe {
  flex: 1;
  display: grid;
  place-items: center;
  position: relative;
}

.mock-photo {
  width: 78%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  background: linear-gradient(160deg, #2a3555, #121a2e);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.mock-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.mock-actions span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.mock-keep {
  background: rgba(56, 148, 255, 0.2);
  border: 1px solid var(--glass-border);
}

.mock-clear {
  background: rgba(180, 80, 120, 0.15);
  border: 1px solid rgba(180, 80, 120, 0.35);
}

/* Sections */
section {
  padding: 72px 0;
}

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric-glow);
  margin-bottom: 12px;
}

.section-intro {
  max-width: 52ch;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* Cards grid */
.card-grid {
  display: grid;
  gap: 20px;
}

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

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

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(56, 148, 255, 0.18);
  border: 1px solid rgba(56, 148, 255, 0.4);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 24px;
  counter-reset: step;
}

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

.step {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--elevated-navy);
  border: 1px solid rgba(255,255,255,0.06);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric-blue), var(--electric-glow));
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; max-width: 720px; margin-inline: auto; }
}

.price-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.price-card.featured {
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-glow);
}

.price-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  text-align: left;
}

.price-card li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--electric-glow);
  font-weight: 700;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.compare-table th {
  color: var(--text-primary);
  font-weight: 600;
}

.compare-table .yes { color: var(--electric-glow); }
.compare-table .no { color: var(--text-tertiary); }

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-item summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--electric-glow);
  font-weight: 400;
}

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

.faq-item .answer {
  padding: 0 0 20px;
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(30, 74, 158, 0.35), rgba(56, 148, 255, 0.15));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glow);
}

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

.cta-band p {
  max-width: 40ch;
  margin: 0 auto 24px;
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(4, 5, 12, 0.94);
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  z-index: 90;
}

@media (max-width: 899px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
}

/* Legal pages */
.legal-page {
  padding: 48px 0 96px;
}

.legal-page .container {
  max-width: 720px;
}

.legal-page h1 {
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 2em;
}

.legal-page ul, .legal-page ol {
  padding-left: 1.4em;
  margin: 0 0 1em;
}

.legal-page li {
  margin-bottom: 0.5em;
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: var(--text-tertiary);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
