/* ==========================================
   Tarumi Landing Page Styling - Coffee Theme
   ========================================== */

/* Design Tokens & Theme Variables */
:root {
  /* Colors */
  --bg-main: #120c08;          /* Deep espresso dark background */
  --bg-card: #1f140e;          /* Warm chocolate-brown cards */
  --bg-card-hover: #291c14;    /* Lighter warm brown for card hover */
  --accent: #e76f51;           /* Warm terracotta orange accent */
  --accent-rgb: 231, 111, 81;
  --accent-light: #f4a261;     /* Soft peach-orange */
  --accent-glow: rgba(231, 111, 81, 0.12);
  --accent-glow-strong: rgba(231, 111, 81, 0.25);
  
  --text-primary: #fdf0ed;     /* Warm cream main text */
  --text-muted: #b5a499;       /* Soft grey-brown secondary text */
  --text-dark: #120c08;
  
  /* Borders & Shadows */
  --border-color: rgba(181, 164, 153, 0.15);
  --border-hover: rgba(231, 111, 81, 0.4);
  --glow-shadow: 0 0 20px rgba(231, 111, 81, 0.15);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  /* Fonts */
  --font-heading: 'Outfit', 'Fredoka', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  min-width: 0;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

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

.device-screen,
.layer-screen,
.slide-banner-img {
  height: 100%;
}

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

li {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-left: max(2rem, env(safe-area-inset-left));
  padding-right: max(2rem, env(safe-area-inset-right));
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
  border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Header & Sticky Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 12, 8, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(18, 12, 8, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px rgba(231, 111, 81, 0.3);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.git-link svg {
  transition: transform var(--transition-fast);
}

.git-link:hover svg {
  transform: rotate(10deg) scale(1.1);
}

/* Call to Action Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  font-family: var(--font-heading);
}

.btn-header {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #d45c3f 100%);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(231, 111, 81, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 111, 81, 0.45);
  background: linear-gradient(135deg, #f4a261 0%, var(--accent) 100%);
}

.btn-secondary {
  background: rgba(181, 164, 153, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(181, 164, 153, 0.15);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Discord brand button (Blurple #5865F2) */
.btn-discord {
  background: #5865F2;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-discord:hover {
  background: #4752c4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-discord .icon-discord {
  flex-shrink: 0;
}

.footer-socials a.social-discord:hover {
  background: #5865F2;
  color: #ffffff;
  border-color: #5865F2;
}

/* Mobile Navigation Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
}

.hamburger {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
}



.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  z-index: 1;
  opacity: 0.35;
}

#orb-1 {
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 80%);
}

#orb-2 {
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 80%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.badge-container {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.version-badge {
  background: var(--accent-glow);
  color: var(--accent-light);
  border: 1px solid var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.status-badge {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.app-highlights {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

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

.hl-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hl-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

/* Device Mockup Graphic — Tarumi Coffee Theme */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.mockup-scene {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Main device — espresso chassis, terracotta accent */
.device-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: linear-gradient(165deg, #2c1e16 0%, #14100c 55%, #1a120e 100%);
  border-radius: 40px;
  padding: 9px;
  border: 3px solid #4a3224;
  box-shadow:
    inset 0 1px 0 rgba(253, 240, 237, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    var(--card-shadow);
  transform-style: preserve-3d;
  transition: box-shadow var(--transition-normal);
  will-change: transform;
  transform: rotateX(0deg) rotateY(0deg);
}

/* Soft float used as CSS fallback before/alongside JS tilt on mobile */
.device-frame.is-animated {
  /* JS drives transform; this class marks interactive state */
}

.device-frame.shadow-glow {
  box-shadow:
    inset 0 1px 0 rgba(253, 240, 237, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    var(--card-shadow),
    0 0 40px rgba(231, 111, 81, 0.22),
    0 0 80px rgba(231, 111, 81, 0.08);
}

/* Side physical buttons */
.device-btn {
  position: absolute;
  background: linear-gradient(90deg, #3d2a1c, #2a1c14);
  border-radius: 2px;
  z-index: 4;
}

.device-btn-vol {
  left: -5px;
  top: 120px;
  width: 4px;
  height: 72px;
  box-shadow: inset 1px 0 0 rgba(253, 240, 237, 0.06);
}

.device-btn-vol::after {
  content: '';
  position: absolute;
  left: 0;
  top: 88px;
  width: 4px;
  height: 42px;
  background: inherit;
  border-radius: 2px;
  box-shadow: inherit;
}

.device-btn-power {
  right: -5px;
  top: 150px;
  width: 4px;
  height: 56px;
  box-shadow: inset -1px 0 0 rgba(253, 240, 237, 0.06);
}

/* Dynamic island (modern Android / punch-hole bar) */
.device-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #0a0705;
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  box-shadow: 0 0 0 1px rgba(74, 50, 36, 0.6);
}

.island-camera {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a4a6a 0%, #0d1520 60%, #050810 100%);
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.15);
}

.device-screen-wrap {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-main);
  position: relative;
}

/* Subtle top scrim so island sits cleanly on the screenshot */
.device-screen-wrap::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 48px;
  background: linear-gradient(180deg, rgba(18, 12, 8, 0.35) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.device-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  background-color: var(--bg-main);
  border-radius: 32px;
}

/* Gesture home indicator */
.device-home-bar {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(253, 240, 237, 0.35);
  border-radius: 4px;
  z-index: 10;
}

/* Legacy notch class kept for any other uses */
.device-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #33251c;
  border-radius: 12px;
  z-index: 10;
}

@media (prefers-reduced-motion: reduce) {
  .device-frame {
    transform: none !important;
  }
}

/* Section Header styling */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Key Features Section */
.features-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background: radial-gradient(ellipse at center, rgba(31, 20, 14, 0.2) 0%, transparent 70%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, var(--accent-glow-strong), transparent 60%);
  opacity: 0;
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), var(--glow-shadow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(231, 111, 81, 0.08);
  color: var(--accent);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(231, 111, 81, 0.15);
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--accent);
  color: var(--text-dark);
  transform: scale(1.05) rotate(5deg);
}

.feature-card-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card-desc {
  position: relative;
  z-index: 2;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Gallery / Showcase Section */
.gallery-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background-color: rgba(31, 20, 14, 0.15);
}

.showcase-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 24px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  position: relative;
}

.slide-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  min-height: 520px;
}

.slide-mockup {
  display: flex;
  justify-content: center;
}

.slide-mockup .device-frame {
  width: 200px;
  height: 400px;
  border-radius: 24px;
  padding: 6px;
  border-width: 3px;
}

.slide-mockup .device-notch {
  width: 70px;
  height: 14px;
  top: 10px;
}

.slide-mockup .device-screen {
  border-radius: 18px;
}

.slide-content {
  display: flex;
  flex-direction: column;
}

.slide-tag {
  font-family: var(--font-heading);
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.slide-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.slide-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slide-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.slide-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

/* Slider controls */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.control-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.control-btn:hover {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 10px;
}

/* Focus Cards */
.card-focus {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(31, 20, 14, 0.4) 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--card-shadow);
}

/* Download Section */
.download-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.download-card {
  position: relative;
  overflow: hidden;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: flex-start;
}

.dl-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dl-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.dl-btn-main {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 40px;
}

/* Migration Warning Alert Panel */
.migration-alert {
  background: rgba(231, 111, 81, 0.05);
  border: 1px solid rgba(231, 111, 81, 0.2);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2.5rem;
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.alert-icon {
  color: var(--accent);
}

.alert-body {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-family: monospace;
  color: var(--text-primary);
}

.alert-steps {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.alert-steps li strong {
  color: var(--accent-light);
}

/* Stats Card details */
.dl-stats-card {
  background: rgba(18, 12, 8, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.dl-stats-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.stat-label {
  color: var(--text-muted);
}

.stat-val {
  font-weight: 500;
  color: var(--text-primary);
}

.font-code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.dl-stats-card .divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 1.5rem 0;
}

.stat-links {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.stat-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-link:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  /* Match showcase slides (1024×576 landscape) */
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.slider-wrapper.is-dragging {
  cursor: grabbing;
}

.slider-wrapper.is-dragging .slide {
  transition: none;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  will-change: transform, opacity;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Directional swipe / carousel animations */
.slide.slide-in-right {
  animation: slideInFromRight 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.slide.slide-in-left {
  animation: slideInFromLeft 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.slide.slide-out-left {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  animation: slideOutToLeft 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.slide.slide-out-right {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  animation: slideOutToRight 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideInFromRight {
  from {
    opacity: 0.35;
    transform: translateX(28%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0.35;
    transform: translateX(-28%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutToLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-22%);
  }
}

@keyframes slideOutToRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(22%);
  }
}

.slide-banner-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Mobile swipe hint under gallery */
.swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.swipe-hint svg {
  width: 18px;
  height: 18px;
  opacity: 0.75;
  animation: swipe-hint-nudge 1.6s ease-in-out infinite;
}

@keyframes swipe-hint-nudge {
  0%, 100% { transform: translateX(0); opacity: 0.55; }
  50% { transform: translateX(4px); opacity: 1; }
}

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

  .slider-wrapper {
    cursor: default;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide.slide-in-right,
  .slide.slide-in-left,
  .slide.slide-out-left,
  .slide.slide-out-right {
    animation: none;
  }

  .swipe-hint svg {
    animation: none;
  }
}

/* Changelog Timeline Accordion */
.changelog-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background: radial-gradient(ellipse at bottom, rgba(31, 20, 14, 0.15) 0%, transparent 70%);
}

.timeline-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-normal);
}

.accordion-item:hover {
  border-color: rgba(231, 111, 81, 0.25);
}

.accordion-item.active {
  border-color: var(--accent);
  box-shadow: var(--glow-shadow);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  text-align: left;
  font-family: var(--font-heading);
  transition: background var(--transition-fast);
}

.accordion-header:hover {
  background: var(--bg-card-hover);
}

.accordion-version {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.latest-tag {
  background: var(--accent);
  color: var(--text-dark);
}

.accordion-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: auto;
  margin-right: 1.5rem;
}

.accordion-arrow {
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.accordion-content-inner {
  padding: 0 2rem 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: -1px;
}

.changelog-loading {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.changelog-loading a {
  color: var(--accent-light);
  text-decoration: underline;
}

.changelog-summary {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 1.5rem 0 1rem;
}

.changelog-body .changelog-summary {
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0.75rem 0;
}

.changelog-heading {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.25rem 0 0.65rem;
}

.changelog-heading:first-child {
  margin-top: 0;
}

.changelog-hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 1.25rem 0;
}

.changelog-body a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.changelog-body a:hover {
  color: var(--accent);
}

.changelog-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85em;
  color: var(--text-primary);
}

.changelog-release-link {
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.changelog-release-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.changelog-release-link a:hover {
  text-decoration: underline;
}

.changelog-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.changelog-details li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  padding-left: 1.25rem;
}

.changelog-details li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.changelog-details li strong {
  color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background-color: rgba(31, 20, 14, 0.1);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-accordion-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-card:hover {
  border-color: var(--border-hover);
}

.faq-card.active {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-arrow {
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.faq-card.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* DMCA Disclaimer Card */
.disclaimer-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
}

.disclaimer-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem;
  text-align: center;
  border-radius: 16px;
  background: rgba(31, 20, 14, 0.4);
}

.disclaimer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.disclaimer-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Footer Styling */
.site-footer {
  background: #0b0705;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
}

.footer-logo .brand-name {
  font-size: 1.35rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(181, 164, 153, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.footer-socials a:hover {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 2rem;
}

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

.copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.version-label {
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

/* ==========================================
   Responsive Adaptations & Media Queries
   ========================================== */

@media (max-width: 992px) {
  /* Navigation */
  .menu-toggle {
    display: flex;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    top: calc(70px + env(safe-area-inset-top, 0px));
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px - env(safe-area-inset-top, 0px));
    background: rgba(18, 12, 8, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.5rem;
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    border-top: 1px solid var(--border-color);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    min-height: 44px;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .btn-header {
    width: 100%;
    max-width: 280px;
    padding: 0.85rem 1.25rem;
    margin-top: 0.5rem;
  }

  /* Hero */
  .hero-section {
    padding: 140px 0 72px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
    padding-top: 0;
  }
  
  .badge-container {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
    font-size: 1.05rem;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .app-highlights {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.75rem;
  }

  .device-frame {
    width: 250px;
    height: 520px;
  }

  #orb-1,
  #orb-2 {
    width: 280px;
    height: 280px;
    filter: blur(100px);
  }
  
  /* Gallery Showcase */
  .slide-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem;
    text-align: center;
  }
  
  .slide-mockup {
    order: 2;
  }
  
  .slide-features {
    align-items: center;
  }

  .slider-wrapper {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
  }

  .slide-banner-img {
    object-fit: contain;
  }
  
  /* Download Section */
  .download-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .card-focus {
    padding: 2.25rem;
  }
  
  /* FAQs */
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-section,
  .gallery-section,
  .download-section,
  .changelog-section,
  .faq-section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }

  .nav-container {
    padding: 0 1.25rem;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    height: 64px;
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .nav-menu {
    top: 64px;
    top: calc(64px + env(safe-area-inset-top, 0px));
    height: calc(100dvh - 64px - env(safe-area-inset-top, 0px));
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .hero-section {
    padding: 112px 0 56px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    letter-spacing: -0.5px;
    margin-bottom: 1.15rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .hero-buttons .btn-cta {
    width: 100%;
    max-width: none;
    min-height: 48px;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }
  
  .app-highlights {
    flex-wrap: wrap;
    gap: 1.25rem 1.5rem;
    justify-content: space-around;
    padding-top: 1.5rem;
  }

  .highlight-item {
    min-width: 88px;
    flex: 1 1 30%;
  }

  .hl-number {
    font-size: 1.45rem;
  }

  .hl-label {
    font-size: 0.75rem;
  }

  .device-frame {
    width: min(220px, 58vw);
    height: min(450px, 118vw);
    border-radius: 34px;
    padding: 7px;
  }

  .device-screen-wrap,
  .device-screen {
    border-radius: 28px;
  }

  .device-island {
    width: 78px;
    height: 22px;
    top: 12px;
  }

  .device-home-bar {
    width: 80px;
    bottom: 10px;
  }
  
  .section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

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

  .feature-card {
    padding: 1.5rem;
  }

  .feature-card-title {
    font-size: 1.2rem;
  }

  .feature-card-desc {
    font-size: 0.9rem;
  }

  .slider-wrapper {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
  }

  .slide-banner-img {
    object-fit: contain;
  }

  .slider-controls {
    margin-top: 1.25rem;
    gap: 0.75rem;
  }

  .control-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  
  .timeline-accordion {
    padding: 0;
  }
  
  .accordion-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1.15rem 1.15rem;
    position: relative;
    padding-right: 2.75rem;
  }

  .accordion-version {
    font-size: 1.05rem;
    flex-wrap: wrap;
  }
  
  .accordion-date {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    font-size: 0.85rem;
  }

  .accordion-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .accordion-item.active .accordion-arrow {
    transform: translateY(-50%) rotate(180deg);
  }
  
  .accordion-content-inner {
    padding: 0 1.15rem 1.25rem;
  }

  .changelog-summary {
    font-size: 0.9rem;
  }

  .card-focus {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .dl-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .dl-desc {
    font-size: 0.95rem;
  }

  .dl-btn-main {
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 0.95rem;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
  }

  .migration-alert {
    padding: 1.25rem;
    margin-top: 1.75rem;
  }

  .alert-header {
    font-size: 0.95rem;
    align-items: flex-start;
  }

  .alert-body,
  .alert-steps {
    font-size: 0.85rem;
  }

  .alert-steps {
    padding-left: 1.1rem;
  }

  .dl-stats-card {
    padding: 1.25rem;
  }

  .stat-row {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .stat-val {
    word-break: break-word;
    text-align: right;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-bottom: 2.5rem;
  }

  .site-footer {
    padding: 3.5rem 0 1.5rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .faq-card {
    border-radius: 14px;
  }

  .faq-question {
    padding: 1.1rem 1.15rem;
    font-size: 0.95rem;
    min-height: 48px;
    gap: 0.75rem;
  }

  .faq-answer p {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.88rem;
  }

  .disclaimer-section {
    padding: 40px 0;
  }

  .disclaimer-card {
    padding: 1.5rem;
  }

  .disclaimer-title {
    font-size: 1.05rem;
  }

  .disclaimer-text {
    font-size: 0.82rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .nav-container {
    padding: 0 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .hero-section {
    padding: 100px 0 48px;
  }

  .badge-container {
    gap: 0.5rem;
  }

  .version-badge,
  .status-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .device-frame {
    width: min(200px, 62vw);
    height: min(410px, 126vw);
    border-radius: 30px;
    padding: 6px;
  }

  .device-island {
    width: 68px;
    height: 18px;
    top: 10px;
  }

  .island-camera {
    width: 8px;
    height: 8px;
  }

  .device-btn-vol,
  .device-btn-power,
  .device-btn-vol::after {
    display: none;
  }

  .features-section,
  .gallery-section,
  .download-section,
  .changelog-section,
  .faq-section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .slider-wrapper {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    max-height: none;
  }

  .slide-banner-img {
    object-fit: contain;
  }

  .feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  #orb-1,
  #orb-2 {
    width: 200px;
    height: 200px;
    opacity: 0.25;
  }
}

/* Very narrow devices */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.55rem;
  }

  .app-highlights {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .highlight-item {
    flex: none;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }
}

/* Touch devices: keep hover lifts off buttons/cards, keep phone animation */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover {
    transform: none;
  }

  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-discord:hover {
    transform: none;
  }

  .hero-mockup {
    perspective: 900px;
  }

  .device-frame {
    will-change: transform;
  }

  /* CSS-only gentle float if JS is delayed/unavailable */
  .device-frame:not(.is-animated) {
    animation: phone-idle-float 5.5s ease-in-out infinite;
  }
}

@keyframes phone-idle-float {
  0%, 100% {
    transform: rotateX(3deg) rotateY(-5deg) translateY(0);
  }
  50% {
    transform: rotateX(-3deg) rotateY(5deg) translateY(-8px);
  }
}

@media (hover: none) and (pointer: coarse) and (prefers-reduced-motion: reduce) {
  .device-frame:not(.is-animated) {
    animation: none;
  }
}

/* Custom Slide Banners HTML/CSS representation */
.slide-banner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f7e1d7 0%, #eddcd2 100%);
  padding: 3rem 4rem;
  color: #3d2314;
}

.slide-banner-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  flex: 1.1;
  text-align: left;
}

.slide-banner-logo {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.slide-banner-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #3d2314;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.slide-banner-subtitle {
  font-size: 1.2rem;
  color: #5c4335;
  max-width: 440px;
  font-weight: 500;
  line-height: 1.4;
}

.slide-banner-right {
  flex: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-phone-mockup {
  width: 195px;
  height: 390px;
  background: #120c08;
  border-radius: 32px;
  border: 3.5px solid #3d2314;
  padding: 5px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 12px;
  background: #3d2314;
  border-radius: 8px;
  z-index: 10;
}

.slide-phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  background-color: #f7e1d7;
}

/* Responsiveness for slide banners (if used) */
@media (max-width: 992px) {
  .slide-banner-container {
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
  }
  .slide-banner-left {
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 0.75rem;
  }
  .slide-banner-logo {
    width: 50px;
    height: 50px;
  }
  .slide-banner-title {
    font-size: 1.85rem;
  }
  .slide-banner-subtitle {
    font-size: 1rem;
  }
  .slide-banner-right {
    flex: 1;
    margin-top: 1rem;
  }
  .slide-phone-mockup {
    width: 140px;
    height: 280px;
    border-radius: 24px;
    border-width: 2.5px;
  }
  .slide-phone-screen {
    border-radius: 19px;
  }
  .slide-phone-notch {
    width: 50px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .slide-banner-container {
    padding: 1.25rem;
  }
  .slide-banner-title {
    font-size: 1.4rem;
  }
  .slide-phone-mockup {
    width: 110px;
    height: 220px;
  }
}
