/* ══════════════════════════════════════════════════════════════
   SHARESHORTCUTS.COM — Landing Page Styles
   Brand color: #5856D6  (Apple Shortcuts Purple)
   Accent:      #FF2D55  (Apple Pink / Siri)
   ══════════════════════════════════════════════════════════════ */

/* ── Brand tokens ─────────────────────────────────────────── */
:root {
  --ss-brand: #5856D6;
  --ss-brand-light: #7876E0;
  --ss-brand-dark: #4240B0;
  --ss-accent: #FF2D55;
  --ss-accent-glow: rgba(255, 45, 85, .3);
  --ss-brand-glow: rgba(88, 86, 214, .25);
  --ss-brand-bg: rgba(88, 86, 214, .04);
  --ss-glass-bg: rgba(255, 255, 255, .55);
  --ss-glass-border: rgba(255, 255, 255, .45);
  --ss-glass-shadow: 0 8px 32px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04);
  --ss-text: #1a1a2e;
  --ss-text-muted: #555;
  --ss-radius: 1.25rem;
  --ss-radius-lg: 1.75rem;
}

[data-mode="dark"] {
  --ss-glass-bg: rgba(30, 30, 50, .55);
  --ss-glass-border: rgba(255, 255, 255, .08);
  --ss-glass-shadow: 0 8px 32px rgba(0, 0, 0, .3), 0 1px 2px rgba(0, 0, 0, .2);
  --ss-text: #f0f0f5;
  --ss-text-muted: #aaa;
  --ss-brand-bg: rgba(88, 86, 214, .08);
  --ss-brand-glow: rgba(88, 86, 214, .35);
  --ss-accent-glow: rgba(255, 45, 85, .4);
}

/* ── Aurora hide ──────────────────────────────────────────── */
.aurora { display: none !important; }

/* ── Container ────────────────────────────────────────────── */
.ss-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Shared glass card (NO backdrop-filter!) ──────────────── */
.ss-glass {
  background: var(--ss-glass-bg);
  border: 1px solid var(--ss-glass-border);
  border-radius: var(--ss-radius);
  box-shadow: var(--ss-glass-shadow);
}

/* ── Shared label / pill ──────────────────────────────────── */
.ss-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ss-brand);
  margin-bottom: .75rem;
}
.ss-label--light { color: rgba(255,255,255,.7); }

/* ── Section title ────────────────────────────────────────── */
.ss-section-title {
  font-family: var(--font-heading, 'Nunito', sans-serif);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--ss-text);
  margin: 0 0 1.5rem;
}
.ss-section-title--light { color: #fff; }

.ss-highlight {
  color: var(--ss-brand);
  position: relative;
}
.ss-highlight::after {
  content: '';
  position: absolute;
  bottom: -.1em;
  left: 0;
  right: 0;
  height: .15em;
  background: var(--ss-brand);
  border-radius: 1em;
  opacity: .3;
}
.ss-highlight--light {
  color: #c4b5fd;
}
.ss-highlight--light::after {
  background: #c4b5fd;
}

/* ── Buttons ──────────────────────────────────────────────── */
.ss-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  cursor: pointer;
  border: none;
}
.ss-btn--primary {
  background: var(--ss-brand);
  color: #fff;
  box-shadow: 0 4px 20px var(--ss-brand-glow), 0 2px 6px rgba(0,0,0,.1);
}
.ss-btn--primary:hover {
  background: var(--ss-brand-light);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px var(--ss-brand-glow), 0 4px 12px rgba(0,0,0,.12);
  color: #fff;
}
.ss-btn--outline {
  background: transparent;
  color: var(--ss-brand);
  border: 2px solid var(--ss-brand);
}
.ss-btn--outline:hover {
  background: var(--ss-brand-bg);
  transform: translateY(-2px);
}
.ss-btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS — Scroll-triggered entrance
   ══════════════════════════════════════════════════════════════ */
.ss-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.ss-anim[data-anim="fade-up"] {
  transform: translateY(30px);
}
.ss-anim[data-anim="float-in"] {
  transform: translateX(60px) translateY(20px) rotate(-4deg);
  transition: opacity .9s cubic-bezier(.22,1,.36,1),
              transform .9s cubic-bezier(.22,1,.36,1);
}
.ss-anim[data-anim="scale-in"] {
  transform: scale(.9);
  transition: opacity .8s cubic-bezier(.22,1,.36,1),
              transform .8s cubic-bezier(.22,1,.36,1);
}
.ss-anim--visible {
  opacity: 1 !important;
  transform: none !important;
}

/* ══════════════════════════════════════════════════════════════
   PAGE-LEVEL BACKGROUND
   ══════════════════════════════════════════════════════════════ */
body.ss-page-bg {
  padding-top: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(88,86,214,.10), transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(255,45,85,.06), transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(0,199,190,.04), transparent 50%);
  background-attachment: fixed;
}
body.ss-page-bg[data-mode="dark"] {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(88,86,214,.14), transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(255,45,85,.08), transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(0,199,190,.05), transparent 50%);
  background-attachment: fixed;
}

/* Floating orbs */
body.ss-page-bg::before,
body.ss-page-bg::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: ss-orb-float 12s ease-in-out infinite;
}
body.ss-page-bg::before {
  width: 500px; height: 500px;
  background: var(--ss-brand);
  top: -10%; left: -5%;
  opacity: .07;
}
body.ss-page-bg::after {
  width: 350px; height: 350px;
  background: var(--ss-accent);
  top: 15%; right: -3%;
  opacity: .05;
  animation-delay: -4s;
  animation-duration: 16s;
}

@keyframes ss-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -40px) scale(1.08); }
  66%      { transform: translate(-20px, 25px) scale(0.95); }
}

/* Logo watermark */
body.ss-page-bg .ss-page-bg__logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  opacity: .035;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
body.ss-page-bg[data-mode="dark"] .ss-page-bg__logo {
  opacity: .05;
  filter: brightness(3);
}

/* ══════════════════════════════════════════════════════════════
   HERO — Two-column layout
   ══════════════════════════════════════════════════════════════ */
.ss-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 2rem 4rem;
  z-index: 1;
}

.ss-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

.ss-hero__content {
  flex: 1;
  min-width: 0;
}

/* Badge */
.ss-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .85rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: rgba(255,255,255,.55);
  color: var(--ss-text);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  margin-bottom: 1.25rem;
}
[data-mode="dark"] .ss-hero__badge {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.1);
  color: var(--ss-text);
}
.ss-hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,.5);
  animation: ss-pulse 2s ease-in-out infinite;
}
@keyframes ss-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .4; }
}

.ss-hero__title {
  font-family: var(--font-heading, 'Nunito', sans-serif);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--ss-text);
  margin: 0 0 1rem;
}

.ss-hero__subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--ss-text-muted);
  margin: 0 0 1.5rem;
  max-width: 540px;
}

/* Hero stats strip */
.ss-hero__stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.ss-hero__stat {
  display: flex;
  flex-direction: column;
}
.ss-hero__stat-value {
  font-family: var(--font-heading, 'Nunito', sans-serif);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -.03em;
  color: var(--ss-brand);
}
.ss-hero__stat-label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ss-text-muted);
}
.ss-hero__stat-sep {
  width: 1px;
  height: 2rem;
  background: rgba(0,0,0,.1);
}
[data-mode="dark"] .ss-hero__stat-sep {
  background: rgba(255,255,255,.1);
}

/* Hero preview (screenshot) */
.ss-hero__preview {
  position: relative;
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 480px);
}
.ss-hero__preview-glow {
  position: absolute;
  inset: -20%;
  border-radius: 30%;
  background: radial-gradient(circle, var(--ss-brand-glow), transparent 70%);
  filter: blur(50px);
  z-index: 0;
}
.ss-hero__preview-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

/* ══════════════════════════════════════════════════════════════
   ORIGIN — Why section (dark background)
   ══════════════════════════════════════════════════════════════ */
.ss-origin {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  overflow: hidden;
}
.ss-origin__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem 2.5rem;
  border-radius: var(--ss-radius-lg);
  background: linear-gradient(135deg, #2d1b69, #1a1145 60%, #0f0a2e);
  box-shadow: 0 20px 60px rgba(88,86,214,.15);
}
[data-mode="dark"] .ss-origin__inner {
  background: linear-gradient(135deg, #1a1040, #0f0a2e 60%, #090620);
}
.ss-origin__text {
  flex: 1;
  min-width: 0;
}
.ss-origin__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  max-width: 580px;
}
.ss-origin__logo-visual {
  flex: 0 0 auto;
  width: 160px;
}
.ss-origin__logo-visual img {
  width: 100%;
  height: auto;
  opacity: .25;
  filter: brightness(2);
}

/* ══════════════════════════════════════════════════════════════
   COMPARE — Apple vs ShareShortcuts
   ══════════════════════════════════════════════════════════════ */
.ss-compare {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  text-align: center;
}
.ss-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.ss-compare__card {
  padding: 2rem;
  text-align: left;
  position: relative;
}
.ss-compare__card--winner {
  border-color: var(--ss-brand);
  box-shadow: 0 8px 32px var(--ss-brand-glow), var(--ss-glass-shadow);
}
.ss-compare__badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .25rem .85rem;
  border-radius: 100px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--ss-brand);
  color: #fff;
  white-space: nowrap;
}
.ss-compare__icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}
.ss-compare__card h3 {
  font-family: var(--font-heading, 'Nunito', sans-serif);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ss-text);
  margin: 0 0 1rem;
}
.ss-compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.ss-compare__list li {
  font-size: .88rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
  color: var(--ss-text-muted);
}
.ss-compare__list li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}
.ss-compare__list--limited li::before {
  content: '–';
  color: #aaa;
}
.ss-compare__list--open li::before {
  content: '✓';
  color: var(--ss-brand);
}

/* ══════════════════════════════════════════════════════════════
   FEATURES — 3×2 grid
   ══════════════════════════════════════════════════════════════ */
.ss-features {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  text-align: center;
}
.ss-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
  margin-top: 1rem;
}
.ss-feature-card {
  padding: 1.75rem;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.ss-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.ss-feature-card__icon {
  font-size: 1.75rem;
  margin-bottom: .75rem;
}
.ss-feature-card h3 {
  font-family: var(--font-heading, 'Nunito', sans-serif);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ss-text);
  margin: 0 0 .5rem;
}
.ss-feature-card p {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--ss-text-muted);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   SHOWCASE — Browser mockup
   ══════════════════════════════════════════════════════════════ */
.ss-showcase {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  text-align: center;
}
.ss-showcase__screenshot {
  max-width: 960px;
  margin: 2rem auto 0;
}
.ss-showcase__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   ACCOUNT — Free user benefits (two columns)
   ══════════════════════════════════════════════════════════════ */
.ss-account {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}
.ss-account__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.ss-account__visual {
  flex: 0 0 auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ss-brand-bg), rgba(255,45,85,.04));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ss-glass-border);
}
.ss-account__visual-icon {
  font-size: 3.5rem;
}
.ss-account__text {
  flex: 1;
  min-width: 0;
}
.ss-account__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.ss-account__list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  color: var(--ss-text);
}
.ss-account__check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ss-brand), var(--ss-brand-light));
  color: #fff;
  font-size: .65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════════
   STATS — Metric cards
   ══════════════════════════════════════════════════════════════ */
.ss-stats {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  text-align: center;
}
.ss-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.ss-stat-card {
  padding: 2rem 1rem;
  text-align: center;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.ss-stat-card:hover {
  transform: translateY(-4px);
}
.ss-stat-card__value {
  font-family: var(--font-heading, 'Nunito', sans-serif);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: -.03em;
  color: var(--ss-brand);
  line-height: 1;
  margin-bottom: .5rem;
}
.ss-stat-card__label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ss-text-muted);
}

/* ══════════════════════════════════════════════════════════════
   NERDS — Tech tags
   ══════════════════════════════════════════════════════════════ */
.ss-nerds {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  text-align: center;
}
.ss-nerds__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}
.ss-nerd-tag {
  padding: .45rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ss-text);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════
   FUTURE — Roadmap teaser
   ══════════════════════════════════════════════════════════════ */
.ss-future {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  text-align: center;
}
.ss-future__inner {
  max-width: 640px;
  margin: 0 auto;
}
.ss-future__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ss-text-muted);
}

/* ══════════════════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════════════════ */
.ss-final-cta {
  position: relative;
  z-index: 1;
  padding: 5rem 0 6rem;
  text-align: center;
}
.ss-final-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}
.ss-final-cta__logo {
  margin-bottom: 1.5rem;
}
.ss-final-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.ss-final-cta__sub {
  font-size: 1rem;
  color: var(--ss-text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile adaptations
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .ss-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ss-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .ss-hero {
    padding: 6rem 1.25rem 3rem;
  }
  .ss-hero__inner {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }
  .ss-hero__subtitle {
    max-width: 100%;
  }
  .ss-hero__stats {
    justify-content: center;
  }
  .ss-hero__cta {
    text-align: center;
  }
  .ss-hero__preview {
    width: 80%;
    max-width: 360px;
  }

  .ss-origin__inner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .ss-origin__logo-visual {
    width: 100px;
  }

  .ss-compare__grid {
    grid-template-columns: 1fr;
  }

  .ss-features__grid {
    grid-template-columns: 1fr;
  }

  .ss-account__inner {
    flex-direction: column;
    text-align: center;
  }
  .ss-account__visual {
    width: 100px; height: 100px;
  }
  .ss-account__visual-icon {
    font-size: 2.5rem;
  }

  .ss-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
