/* ==========================================================================
   ANIMATEDLEY - CLASSY OFF-WHITE EDITORIAL LANDING PAGE
   Typography: Montserrat (Classy, Modern Sans) & Movy / Cinematic Display Logotype
   Palette: Warm Linen / Off-White Canvas (#FAF9F6), Royal Navy (#1E3A8A)
   ========================================================================== */

:root {
  --bg-page: #FAF9F6;          /* Slightly off-white / warm ivory canvas */
  --bg-surface: #FFFFFF;       /* Crisp white surface for cards */
  --bg-subtle: #F3F1EC;        /* Slightly deeper warm off-white */
  
  --text-main: #0F172A;        /* Deep slate black */
  --text-muted: #4A5568;       /* Refined slate gray */
  --text-light: #718096;       /* Subtle tertiary text */

  --color-navy: #1E3A8A;       /* Royal navy blue matching the host attire */
  --color-navy-dark: #0F2042;  /* Deep navy */
  --color-coral: #E11D48;      /* Coral bead accent */
  --color-whatsapp: #25D366;

  --border-color: #E8E5DF;     /* Subtle warm border */
  --border-focus: #1E3A8A;

  /* Global Classy Typeface: Montserrat */
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-movy: 'Movy', 'Cinzel', 'Syne', 'Montserrat', serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-featured: 0 16px 40px rgba(30, 58, 138, 0.12);

  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.container-narrow {
  max-width: 840px;
}

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

.text-navy {
  color: var(--color-navy);
}

/* Movy Cinematic Brand Logotype */
.font-movy {
  font-family: var(--font-movy);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
  margin-left: -32px;
  padding-left: 0;
}

.brand-logo-img {
  height: clamp(40px, 5.5vw, 63px);
  width: auto;
  max-width: 100%;
  display: block;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--color-navy);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-navy);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--color-navy-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
  background-color: var(--bg-surface);
}

.btn-card {
  width: 100%;
  background-color: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 14px 20px;
}

.btn-card:hover {
  background-color: var(--color-navy);
  color: #FFFFFF;
  border-color: var(--color-navy);
}

.btn-block {
  width: 100%;
}

/* --- Hero Section --- */
.hero {
  padding: 95px 0 105px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.pill-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-navy);
  background: rgba(30, 58, 138, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.hero-tagline {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Character & Property Backdrop in Hero */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.property-backdrop-frame {
  position: absolute;
  width: min(430px, 88vw);
  height: min(490px, 100vw);
  border-radius: 28px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  opacity: 0.60;
  transition: opacity 0.4s ease;
  mask-image: radial-gradient(ellipse at 50% 50%, black 55%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 55%, transparent 95%);
}

.property-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.95) contrast(0.98);
}

.property-overlay-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 249, 246, 0.05) 0%, rgba(250, 249, 246, 0.3) 65%, var(--bg-page) 100%);
}

.hero-image-wrap:hover .property-backdrop-frame {
  opacity: 0.70;
}

.hero-character-img {
  position: relative;
  z-index: 2;
  max-height: min(490px, 100vw);
  max-width: 88vw;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(15, 23, 42, 0.12));
}

/* --- Section Structure & Spacing --- */
.section {
  padding: 110px 0;
}

.section-bordered {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.bg-warm {
  background-color: var(--bg-subtle);
}

.section-header {
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-navy);
  margin-bottom: 14px;
}

.section-heading {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.22;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.section-subheading {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Lead Paragraph */
.lead-paragraph {
  font-size: 1.22rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 36px;
}

.solution-highlight-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--color-navy);
  padding: 28px 36px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
}

.solution-highlight-box p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.55;
}

/* Avoid a doubled line where two bordered sections touch */
.section-bordered + .section-bordered {
  border-top: 0;
}

/* --- Sample Clips (video tiles) --- */
.clips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.clip-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.clip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* Every tile uses the same 16:9 frame, so heights match on all screens */
.clip-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-navy-dark);
}

.clip-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
  .clip-frame {
    height: 0;
    padding-top: 56.25%;
  }
}

.clip-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px 20px;
  border-top: 1px solid var(--border-color);
}

.clip-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-navy);
}

.clip-caption {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

/* --- Channels Grid --- */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.channel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition), box-shadow var(--transition);
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.channel-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.channel-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.channel-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- Pricing Grid --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pricing-card-featured {
  border: 2px solid var(--color-navy);
  box-shadow: var(--shadow-featured);
}

.featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-navy);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.pricing-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.tier-name {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.tier-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 42px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  margin-bottom: 28px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.price-note {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
  margin-left: 2px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.tier-features li {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.5;
}

.tier-features li strong {
  color: var(--color-navy);
}

.tier-bonus {
  background: var(--bg-subtle);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 20px;
}

.tier-bonus strong {
  color: var(--color-navy);
}

.referral-banner {
  text-align: center;
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-top: 28px;
}

.referral-banner strong {
  color: var(--color-navy);
}

/* Custom Package Card */
.custom-package-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-subtle);
}

.custom-content h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.custom-content p {
  font-size: 0.95rem;
  max-width: 620px;
  line-height: 1.6;
}

/* Closing Hook */
.closing-hook-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}

.closing-hook-sub {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* --- Direct Contact Section --- */
.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition), border-color var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-navy);
}

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background-color: var(--bg-subtle);
}

.whatsapp-color {
  background-color: #EBFDF3;
}

.phone-color {
  background-color: #EFF6FF;
}

.mail-color {
  background-color: #FFF1F2;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.contact-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  word-break: break-word;
}

.contact-action {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* --- Minimal Footer --- */
.footer {
  padding: 50px 0 45px;
  background-color: var(--bg-page);
  border-top: 1px solid var(--border-color);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-rights {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-tagline {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
}

.footer-disclaimer-row {
  border-top: 1px solid rgba(232, 229, 223, 0.7);
  padding-top: 16px;
}

.footer-disclaimer {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  text-align: left;
}

/* --- Responsive Adjustments --- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-image-wrap {
    min-height: 420px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-row {
    justify-content: center;
  }

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

  .clips-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .custom-package-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-methods-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .nav {
    display: none;
  }

  .header-inner {
    justify-content: flex-start;
  }

  .brand {
    margin-left: -22px;
  }

  .brand-logo-img {
    height: clamp(32px, 9vw, 48px);
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-image-wrap {
    min-height: 360px;
  }

  .property-backdrop-frame {
    width: min(320px, 86vw);
    height: min(400px, 96vw);
  }

  .hero-character-img {
    max-height: min(360px, 92vw);
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 44px;
  }

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

  .solution-highlight-box {
    padding: 24px 22px;
  }

  .custom-package-card {
    padding: 28px 24px;
  }

  .pricing-card {
    padding: 34px 24px;
  }

  .channel-card {
    padding: 28px 22px;
  }

  .clips-grid {
    gap: 22px;
  }

  .clip-meta {
    padding: 16px 18px 18px;
  }

  .contact-card {
    padding: 28px 20px;
  }

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

  .footer-disclaimer {
    text-align: center;
  }
}

@media (max-width: 400px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    margin-left: -16px;
  }

  .brand-logo-img {
    height: clamp(28px, 9vw, 40px);
  }

  .pill-badge {
    font-size: 0.68rem;
    padding: 6px 12px;
  }

  .hero-tagline {
    font-size: 1.08rem;
  }

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

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .price-amount {
    font-size: 2.15rem;
  }

  .price-currency {
    font-size: 1.25rem;
  }

  .price-note {
    font-size: 0.9rem;
  }

  .price-box {
    flex-wrap: wrap;
  }

  .custom-package-card {
    padding: 24px 20px;
  }
}
