/* Just Roll Marketing Website - Styles */
/* Inspired by shotwithkino.com with Leica-inspired amber accents */

/* ===== CSS Variables ===== */
:root {
  /* Colors */
  --background: #0A0A0A;
  --surface: #1A1A1A;
  --surface-elevated: #242424;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-muted: #666666;
  --amber: #F5D547;
  --amber-hover: #FFE066;
  --amber-glow: rgba(245, 213, 71, 0.15);
  --border: #2A2A2A;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--text-secondary);
}

/* ===== Layout ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--section-padding) 0;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.125rem;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--amber);
  color: var(--background);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 100px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav__cta:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}

.nav__cta svg {
  width: 16px;
  height: 16px;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* ===== Device Mockups ===== */
.device-iphone {
  position: relative;
  display: inline-block;
  padding: 12px;
  background: linear-gradient(145deg, #1A1A1A, #0A0A0A);
  border-radius: 44px;
  box-shadow:
    0 0 60px rgba(245, 213, 71, 0.1),
    0 25px 50px rgba(0, 0, 0, 0.5);
}

.device-iphone img {
  display: block;
  width: 280px;
  border-radius: 32px;
}

.device-ipad {
  position: relative;
  display: inline-block;
  padding: 10px;
  background: linear-gradient(145deg, #1A1A1A, #0A0A0A);
  border-radius: 24px;
  box-shadow:
    0 0 40px rgba(245, 213, 71, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.4);
}

.device-ipad img {
  display: block;
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
}

.device-ipad--hero {
  box-shadow:
    0 0 100px rgba(245, 213, 71, 0.15),
    0 40px 80px rgba(0, 0, 0, 0.5);
}

.device-ipad--hero img {
  max-width: 900px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn--primary {
  background: var(--amber);
  color: var(--background);
}

.btn--primary:hover {
  background: var(--amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 213, 71, 0.3);
}

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

.btn--secondary:hover {
  background: var(--surface-elevated);
  border-color: var(--text-muted);
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero__content {
  max-width: 700px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.hero__icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__device {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
}

.hero__device-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Ambient glow behind hero device */
.hero__device-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, var(--amber-glow) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* Hero iPhone variant */
.device-iphone--hero {
  box-shadow:
    0 0 100px rgba(245, 213, 71, 0.15),
    0 40px 80px rgba(0, 0, 0, 0.5);
}

.device-iphone--hero img {
  width: 320px;
}

/* ===== Problem Section ===== */
.problem {
  background: var(--background);
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.problem__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.problem__hook {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.3;
}

.problem__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ===== Features Section ===== */
.features {
  background: var(--background);
}

.features__header {
  text-align: center;
  margin-bottom: 80px;
}

.features__header h2 {
  margin-bottom: 16px;
}

.features__header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Two-column feature layout */
.features__duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 120px;
}

.features__duo-item {
  display: flex;
  flex-direction: column;
}

.features__duo-device {
  margin-bottom: 32px;
}

.features__duo-device--ipad {
  display: flex;
  justify-content: center;
}

.features__duo-device--ipad .device-ipad {
  max-width: 100%;
}

.features__duo-device--ipad .device-ipad img {
  max-width: 480px;
  width: 100%;
}

.features__duo-device--iphone {
  display: flex;
  justify-content: center;
}

.features__duo-content h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.features__duo-content p {
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Feature badges */
.feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.feature-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.feature-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-4px);
}

.feature-card--visual {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-glow);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--amber);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

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

.feature-card__device {
  display: flex;
  justify-content: center;
}

.feature-card__device .device-iphone img {
  width: 220px;
}

/* ===== Philosophy Section ===== */
.philosophy {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy__inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.philosophy__label {
  display: inline-block;
  padding: 8px 16px;
  background: var(--amber-glow);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 24px;
}

.philosophy h2 {
  margin-bottom: 24px;
}

.philosophy p {
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ===== Pricing Section ===== */
.pricing {
  background: var(--background);
}

.pricing__header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing__header h2 {
  margin-bottom: 16px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 40px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: var(--amber);
  position: relative;
}

.pricing-card--featured::before {
  display: none;
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--amber);
  color: var(--background);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-card__amount {
  font-size: 2.5rem;
  font-weight: 700;
}

.pricing-card__period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-card__features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-card__features li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--amber-glow);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23F5D547'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
}

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

.pricing__note {
  text-align: center;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.pricing__note p {
  font-size: 0.9375rem;
}

.pricing__note strong {
  color: var(--amber);
}

.pricing__lifetime {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 32px;
}

.pricing__lifetime a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.pricing__lifetime a:hover {
  color: var(--amber);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(180deg, var(--background) 0%, var(--surface) 100%);
  padding: 100px 24px;
}

.cta-banner__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-banner__icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.125rem;
  margin-bottom: 32px;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.footer__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 80px;
}

.footer__column h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__column ul {
  list-style: none;
}

.footer__column li {
  margin-bottom: 12px;
}

.footer__column a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

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

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

/* ===== Legal Pages ===== */
.legal {
  padding: 140px 24px 80px;
  min-height: 100vh;
}

.legal__content {
  max-width: 700px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.legal__date {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.legal a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--amber-hover);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .features__duo {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

  .feature-card--visual {
    grid-column: span 2;
  }

  .device-iphone img {
    width: 240px;
  }

  .device-ipad--hero img {
    max-width: 100%;
  }

  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .hero {
    padding: 120px 24px 60px;
    min-height: auto;
  }

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

  .hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .features__duo {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .features__duo-device--ipad {
    order: -1;
  }

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

  .feature-card--visual {
    grid-column: span 1;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-card__device {
    order: -1;
  }

  .device-iphone img {
    width: 220px;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__links {
    flex-direction: column;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .device-iphone {
    padding: 8px;
    border-radius: 36px;
  }

  .device-iphone img {
    width: 200px;
    border-radius: 28px;
  }

  .device-ipad {
    padding: 6px;
    border-radius: 16px;
  }

  .device-ipad img {
    border-radius: 12px;
  }

  .feature-badges {
    justify-content: center;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .nav__cta,
  .feature-card,
  .footer__social a,
  .nav__link {
    transition: none;
  }
}
