/*
 * Itchypet - Site-specific styles
 * Part of Carnivore Lifestyles ecosystem
 */

/* Import base styles */
@import '/shared/css/carnivore-base.css';

/* Site-specific overrides */
:root {
  /* Dark Theme Color Scheme - Premium Modern Design */
  --color-background: #0f0f0f;       /* Background: Deep Black */
  --color-surface: #1a1a1a;          /* Surface: Dark Gray */
  --color-surface-elevated: #2a2a2a; /* Elevated Surface: Medium Gray */
  --color-surface-hover: #333333;    /* Hover Surface: Light Gray */

  /* Primary Colors - Teal/Cyan for pet health theme */
  --color-primary: #00CED1;          /* Primary: Dark Cyan */
  --color-primary-light: #20B2AA;    /* Primary Light: Light Sea Green */
  --color-primary-dark: #008B8B;     /* Primary Dark: Dark Cyan */
  --color-secondary: #FF8C42;        /* Secondary: Orange accent */
  --color-accent: #FFD700;           /* Accent: Gold for highlights */
  --color-success: #4CAF50;          /* Success: Growth Green */

  /* Text Colors for Dark Theme */
  --color-text-primary: #FFFFFF;     /* Primary Text: Pure White */
  --color-text-secondary: #B0B0B0;   /* Secondary Text: Light Gray */
  --color-text-muted: #808080;       /* Muted Text: Medium Gray */
  --color-text-inverse: #000000;     /* Inverse Text: Black for light backgrounds */

  /* Border and Outline Colors */
  --color-border: #333333;           /* Border: Dark Gray */
  --color-border-light: #444444;     /* Light Border: Medium Gray */

  /* Override base colors with design-specified colors */
  --site-primary: #00CED1;
  --site-primary-light: #20B2AA;
  --site-primary-dark: #008B8B;
  --site-secondary: #FF8C42;
  --site-accent: #FFD700;

  /* Typography overrides */
  --font-hero: 'Playfair Display', serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  --font-nav: 'Montserrat', sans-serif;
}

/* Body class for site identification */
.site-itchypet {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text-primary);
  padding-top: 80px;
}

/* Typography overrides */
.site-itchypet h1,
.site-itchypet .hero-title {
  font-family: var(--font-hero);
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 600;
  line-height: 1.2;
}

.site-itchypet h2,
.site-itchypet h3,
.site-itchypet h4,
.site-itchypet h5,
.site-itchypet h6 {
  font-family: var(--font-heading);
}

.site-itchypet h2 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
}

.site-itchypet h3 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
}

.site-itchypet p,
.site-itchypet .hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.5vw, 20px);
  font-weight: 400;
  line-height: 1.6;
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(15, 15, 15, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-primary {
  padding: 1rem 0;
}

.nav-primary .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
}

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

.brand-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--color-text-primary);
  text-decoration: none;
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 16px;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-icon {
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all 0.2s ease;
}

.nav-toggle-icon::before {
  top: -8px;
}

.nav-toggle-icon::after {
  top: 8px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .nav-links--active {
    display: flex;
  }
}

@media (min-width: 769px) {
  .nav-primary .container {
    justify-content: flex-start;
    gap: 3rem;
  }

  .nav-toggle {
    display: none;
  }
}

/* Hero trust badges */
.hero-trust {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.trust-separator {
  color: var(--color-border-light);
}

/* Mobile trust badges */
@media (max-width: 480px) {
  .hero-trust {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }

  .hero-split .hero-trust {
    align-items: center;
  }

  .trust-separator {
    display: none;
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .trust-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
  }

  /* Phone mockup size safeguard */
  .phone-frame {
    max-width: 220px;
    margin: 0 auto;
  }
}

/* Step numbers for how-it-works */
.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step-number-large {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  color: var(--color-background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step-bonus {
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-top: 1rem;
}

/* Visual section divider */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 206, 209, 0.3) 20%,
    rgba(0, 206, 209, 0.6) 50%,
    rgba(0, 206, 209, 0.3) 80%,
    transparent 100%);
  margin: 0;
  border: none;
}

/* Section backgrounds */
.section-bg {
  background: linear-gradient(135deg,
    var(--color-surface) 0%,
    var(--color-surface-elevated) 100%);
}

/* Cards */
.card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card.highlight-card {
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.1), rgba(0, 139, 139, 0.1));
  border-color: var(--color-primary);
}

/* Vision cards */
.vision-cards {
  max-width: 800px;
  margin: 0 auto;
}

.vision-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vision-card {
  background: var(--color-surface);
}

.prominent-text {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.signature {
  font-style: italic;
  color: var(--color-text-secondary);
  margin-top: 1rem;
}

/* Pet avatars in testimonial cards */
.testimonial-pet {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1rem;
}

.testimonial-pet .signature {
  margin-top: 0;
}

.pet-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary-600);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .pet-avatar {
    width: 60px;
    height: 60px;
  }
}

/* Feature list items */
.feature-list-items {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list-items li {
  padding: 0.5rem 0;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

.feature-list-items li::before {
  content: '\2713';
  color: var(--color-success);
  font-weight: bold;
  position: absolute;
  left: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9375rem;
}

/* Resource icons */
.resource-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Problem section icons */
.problem-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(0, 206, 209, 0.08);
  border: 1px solid rgba(0, 206, 209, 0.15);
  margin-bottom: 1.5rem;
}

.problem-icon svg {
  width: 40px;
  height: 40px;
}

/* Approach cards */
.approach-card {
  height: 100%;
}

/* Utility card variants */
.card--narrow-centered {
  max-width: 700px;
  margin: var(--spacing-xl) auto;
}

.prominent-text--large {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.quote-text {
  font-style: italic;
  font-size: 1.1rem;
}

/* CTA card layout */
.cta-card {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl);
}

.cta-card__body {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
}

.cta-card__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.cta-card__footer {
  margin-top: var(--spacing-lg);
  color: var(--color-text-muted);
}

/* Hero features */
.hero-features {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 206, 209, 0.2);
  transition: all 0.2s ease;
}

.hero-feature:hover {
  transform: scale(1.05);
  border-color: var(--color-primary);
  background: rgba(0, 0, 0, 0.6);
}

.hero-feature-icon {
  font-size: 20px;
}

.hero-feature-text {
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: 14px;
}

/* App showcase strip */
.app-showcase-strip {
  padding: var(--spacing-4xl) 0;
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.app-screenshots-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.app-screenshot-item {
  text-align: center;
}

.phone-frame--xs {
  max-width: 180px;
  position: relative;
  background: #1a1a1a;
  padding: 8px;
  border-radius: 28px;
  box-shadow:
    0 15px 30px -8px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame--xs::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 18px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-frame--xs .phone-screen {
  position: relative;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
}

.phone-frame--xs .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.screenshot-label {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

@media (max-width: 640px) {
  .app-screenshots-row {
    gap: 1.5rem;
  }

  .phone-frame--xs {
    max-width: 140px;
    padding: 6px;
    border-radius: 24px;
  }

  .phone-frame--xs .phone-screen {
    border-radius: 18px;
  }

  .phone-frame--xs::before {
    width: 48px;
    height: 14px;
    top: 10px;
  }
}

/* Float animation */
.float-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #004040, #006666, #004D4D);
  color: var(--color-text-primary);
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: var(--color-text-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-ecosystem {
  margin-top: 0.5rem;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   STANDARDIZED HERO BACKGROUNDS
   Use these classes for consistent hero styling
   =========================================== */

/* Hero gradient background - Standard for subpages
   Usage: <section class="hero hero--compact hero-gradient">
   This creates the brown-to-amber gradient used across the site */
.hero-gradient {
  background: linear-gradient(135deg, #1a1510 0%, #3d3020 20%, #5a4a30 40%, #8a7040 60%, #b08a30 80%, #d4a020 100%);
}

/* Hero with background image */
.hero-with-background {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-with-background .hero-overlay {
  display: none;
}

.hero-content-centered {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 25vh;
  padding-bottom: 2rem;
}

.hero-content-centered .hero-actions {
  justify-content: center;
}

.hero-content-centered .hero-trust {
  justify-content: center;
}

.hero-content-centered .hero-features {
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-with-background {
    min-height: auto;
    padding: 6rem 0 4rem;
  }

  .hero-background-image {
    background-image: url('/assets/images/hero-background-mobile.webp') !important;
    background-position: center center;
  }
}

/* ===== Hero Split Layout for Homepage ===== */
.hero.hero-split {
  text-align: left;
}

.hero-visual {
  flex: 0 0 auto;
  width: 320px;
  position: relative;
  overflow: visible;
}

.hero-visual .phone-carousel {
  max-width: 300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Pet photo behind phone mockup in hero */
.hero-pet-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500%;
  height: 220%;
  z-index: 0;
  opacity: 0.7;
  overflow: hidden;
  mask-image: radial-gradient(ellipse, black 30%, rgba(0,0,0,0.4) 55%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse, black 30%, rgba(0,0,0,0.4) 55%, transparent 75%);
}

.hero-pet-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-visual .phone-frame {
  box-shadow:
    0 25px 60px -12px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 206, 209, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-split .hero-text {
  text-align: left;
}

.hero-split .hero-trust {
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .hero.hero-split {
    min-height: auto;
    padding: 2rem 0 3rem;
  }

  .hero-visual {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    order: -1;
  }

  .hero-pet-photo {
    width: 400%;
    height: 180%;
  }

  .hero-visual .phone-carousel {
    max-width: 240px;
  }

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

  .hero-split .hero-actions {
    justify-content: center;
  }

  .hero-split .hero-trust {
    justify-content: center;
  }
}

@media (min-width: 1400px) {
  .hero-visual {
    width: 360px;
  }

  .hero-visual .phone-carousel {
    max-width: 340px;
  }
}

/* Hero actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 206, 209, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--color-border-light);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-liquid {
  position: relative;
  overflow: hidden;
}

.glow-box {
  box-shadow: 0 0 20px rgba(0, 206, 209, 0.3);
}

.glow-box:hover {
  box-shadow: 0 0 30px rgba(0, 206, 209, 0.5);
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===== Step Rows (alternating text + visual) ===== */
.step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.step-row:last-of-type {
  margin-bottom: 0;
}

.step-row--reversed .step-text {
  order: 2;
}

.step-row--reversed .step-visual {
  order: 1;
}

/* Static phone mockup (non-carousel) */
.phone-mockup-static {
  display: flex;
  justify-content: center;
}

.phone-frame--sm {
  max-width: 240px;
  position: relative;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-frame--sm::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 20px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-frame--sm .phone-screen {
  position: relative;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
}

.phone-frame--sm .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 768px) {
  .step-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .step-row--reversed .step-text,
  .step-row--reversed .step-visual {
    order: unset;
  }

  .step-visual {
    display: flex;
    justify-content: center;
  }

  .phone-frame--sm {
    max-width: 200px;
  }
}

/* ===== Phone Mockup Carousel ===== */
.phone-carousel {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.phone-frame {
  position: relative;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-frame::before {
  /* Dynamic Island style notch */
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  position: relative;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: var(--color-gray-400);
}

.carousel-dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

.carousel-arrows {
  position: absolute;
  top: 50%;
  left: -50px;
  right: -50px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 20;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  background: #fff;
  transform: scale(1.1);
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gray-700);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .phone-carousel {
    max-width: 260px;
  }

  .phone-frame {
    border-radius: 32px;
    padding: 10px;
  }

  .phone-frame::before {
    width: 80px;
    height: 24px;
    border-radius: 0 0 12px 12px;
  }

  .phone-screen {
    border-radius: 24px;
  }

  .carousel-arrows {
    display: none;
  }
}

/* ===== DROPDOWN NAVIGATION ===== */
.nav-item.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

.nav-item.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text-primary);
  text-decoration: none;
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background: var(--color-surface-elevated);
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    padding-left: 1rem;
    min-width: auto;
  }

  .nav-item.dropdown:hover .dropdown-content {
    transform: none;
  }

  .dropdown-content a {
    padding: 0.5rem 0;
    color: var(--color-text-secondary);
  }
}

/* ===== BREADCRUMB NAVIGATION ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.breadcrumb .separator {
  color: var(--color-text-muted);
}

.breadcrumb .current {
  color: var(--color-text-primary);
}

/* ===== ARTICLE STYLES ===== */
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.article-date {
  color: var(--color-text-secondary);
}

.article-category {
  background: rgba(0, 206, 209, 0.1);
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-3xl) var(--spacing-lg);
}

.article-body h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin-top: var(--spacing-3xl);
  margin-bottom: var(--spacing-lg);
  color: var(--color-text-primary);
}

.article-body h3 {
  font-size: clamp(20px, 3vw, 24px);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.article-body p {
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.article-body ul,
.article-body ol {
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-xl);
}

.article-body li {
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.article-body strong {
  color: var(--color-text-primary);
}

.article-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover {
  color: var(--color-primary-light);
}

/* Article card for listings */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card .article-meta {
  margin-top: auto;
  padding-top: var(--spacing-md);
}

.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.article-card h3 a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-card h3 a:hover {
  color: var(--color-primary);
}

.article-card .article-excerpt {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.article-card .read-more {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s ease;
}

.article-card .read-more:hover {
  gap: 0.5rem;
}

/* Resource card grid */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

/* Article featured image */
.article-featured-image {
  margin: 0 0 var(--spacing-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article card thumbnail */
.article-card-thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}
