/* ==========================================================================
   BUTIFY CREATIVE SUITE — OFFICIAL WEBSITE STYLESHEET
   Pure CSS3, Glassmorphism, Aurora Gradients & Responsive Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES & THEME VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary: #FF6B00;
  --primary-hover: #E05E00;
  --primary-glow: rgba(255, 107, 0, 0.35);
  --secondary: #2563EB;
  --secondary-hover: #1D4ED8;
  --secondary-glow: rgba(37, 99, 235, 0.35);
  --accent-cyan: #06B6D4;
  --accent-purple: #8B5CF6;
  --accent-emerald: #10B981;

  /* Dark Canvas Colors */
  --bg-dark: #080C14;
  --bg-surface: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  
  /* Glassmorphism System */
  --glass-bg: rgba(15, 23, 42, 0.72);
  --glass-bg-hover: rgba(30, 41, 59, 0.82);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-glow: rgba(255, 107, 0, 0.3);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --glass-backdrop: blur(16px);

  /* Typography Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0F172A;

  /* System Metrics */
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Layers */
#aurora-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  opacity: 0.85;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.65;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}

.badge-blue {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
  color: #60A5FA;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #FFFFFF 30%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Gradient Text FX */
.gradient-text-orange {
  background: linear-gradient(135deg, #FF8A00 0%, #FF6B00 50%, #FF2E00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #60A5FA 0%, #2563EB 50%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   3. GLASSMORPHISM & REUSABLE BUTTONS
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--glass-border-glow);
  box-shadow: 0 25px 60px rgba(255, 107, 0, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #FF8A00, #FF6B00);
  color: #FFFFFF;
  box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.5);
  background: linear-gradient(135deg, #FF9514, #E05E00);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-blue {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #FFFFFF;
  box-shadow: 0 10px 25px var(--secondary-glow);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.15rem 2.5rem;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   4. STICKY NAVIGATION
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color var(--transition-fast), backdrop-filter var(--transition-fast), border-color var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px var(--primary-glow);
  border: 1px solid rgba(255, 107, 0, 0.4);
  flex-shrink: 0;
  display: inline-block;
  background-color: var(--bg-card);
}

@media (max-width: 640px) {
  .nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .nav-brand {
    font-size: 1.25rem;
    gap: 0.6rem;
  }
}

@media (max-width: 380px) {
  .nav-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }
  .nav-brand-text {
    font-size: 1.1rem;
  }
}

.nav-brand-text {
  background: linear-gradient(135deg, #FFFFFF, #CBD5E1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Nav Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  cursor: pointer;
  z-index: 1100;
}

.mobile-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.typewriter-text {
  color: var(--primary);
  position: relative;
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: var(--primary);
  margin-left: 2px;
  animation: blink 0.8s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 620px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  width: 100%;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   6. INTERACTIVE PHONE MOCKUP
   -------------------------------------------------------------------------- */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-device {
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 48px;
  padding: 12px;
  box-shadow: 0 0 0 3px #27272A, 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px var(--primary-glow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.phone-device:hover {
  transform: translateY(-8px) rotateX(4deg) rotateY(-4deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #090D16;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Phone Notch */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #000;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-camera {
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
  border: 1px solid #333;
}

/* Phone Screen Header */
.phone-header {
  padding: 32px 16px 12px 16px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Phone Screen Tabs Switcher */
.phone-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.6);
  overflow-x: auto;
  scrollbar-width: none;
}

.phone-tabs::-webkit-scrollbar { display: none; }

.phone-tab-btn {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.phone-tab-btn.active {
  background: var(--primary);
  color: #FFF;
}

/* Phone View Container */
.phone-view-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Simulated Phone Screen Components */
.phone-preview-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-media-box {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-play-btn {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  box-shadow: 0 0 12px var(--primary-glow);
}

.phone-controls {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.phone-action-chip {
  flex: 1;
  padding: 6px 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-secondary);
}

.phone-action-chip.active {
  background: var(--secondary);
  color: #FFF;
}

/* Floating Badges around mockup */
.floating-badge {
  position: absolute;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: 10%;
  left: -20px;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: 15%;
  right: -20px;
  animation-delay: 2s;
}

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

/* --------------------------------------------------------------------------
   7. FEATURE CARDS GRID
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 107, 0, 0.12);
  color: var(--primary);
  border: 1px solid rgba(255, 107, 0, 0.25);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.15);
}

.feature-card:nth-child(even) .feature-icon-wrapper {
  background: rgba(37, 99, 235, 0.12);
  color: #60A5FA;
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.feature-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list-item {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list-item::before {
  content: "✓";
  color: var(--accent-emerald);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   8. ANIMATED STATISTICS COUNTERS
   -------------------------------------------------------------------------- */
.stats-section {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 2rem 1.5rem;
}

.stat-number {
  font-size: 3.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. SCREENSHOTS CAROUSEL
   -------------------------------------------------------------------------- */
.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  padding: 1rem 0 3rem 0;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform var(--transition-smooth);
}

.carousel-slide {
  min-width: 280px;
  flex: 0 0 calc(33.333% - 1.35rem);
  scroll-snap-align: center;
}

.screenshot-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  background: #090D16;
  position: relative;
  transition: transform var(--transition-fast);
}

.screenshot-frame:hover {
  transform: scale(1.03);
}

.screenshot-caption {
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-primary);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--glass-border);
  color: #FFF;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   10. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B00, #2563EB);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFF;
  font-size: 1.1rem;
}

.user-info-name {
  font-weight: 700;
  font-size: 0.95rem;
}

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

/* --------------------------------------------------------------------------
   11. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* --------------------------------------------------------------------------
   12. DOWNLOAD CTA BANNER & NEWSLETTER
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), rgba(37, 99, 235, 0.15));
  border: 1px solid var(--glass-border-glow);
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-box {
  max-width: 500px;
  margin: 2rem auto 0 auto;
  display: flex;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.8);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: rgba(8, 12, 20, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-link-item a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-link-item a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   14. SECONDARY PAGES (Privacy, Terms, Data Safety, Contact)
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 3rem;
  text-align: center;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 2rem 0 1rem 0;
}

.legal-content p {
  margin-bottom: 1.2rem;
}

.legal-content ul {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* --------------------------------------------------------------------------
   15. ANIMATIONS & SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

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

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

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

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

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

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

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: left var(--transition-smooth);
  }

  .nav-menu.open {
    left: 0;
  }

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

  .section-title {
    font-size: 1.85rem;
  }

  .carousel-slide {
    flex: 0 0 100%;
  }

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

  .floating-badge {
    display: none;
  }
}

/* ==========================================================================
   NEWS & COMMENT SYSTEM STYLES
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.15);
}

.news-card-banner {
  height: 160px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.news-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Comment Thread Styles */
.comments-container {
  margin-top: 3rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.comment-card {
  padding: 1.25rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.comment-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.comment-author-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #FFF;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.25);
}

.comment-author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.comment-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.comment-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.badge-approved {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.badge-rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.comment-form-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}


/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES
   Targeted fixes for phones without changing desktop layout.
   ========================================================================== */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    /* Navigation */
    .nav-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-actions .btn {
        display: none;
    }

    /* Hero */
    .hero-section {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 3rem;
    }

    .hero-grid {
        width: 100%;
        gap: 2.5rem;
    }

    .hero-content {
        width: 100%;
        min-width: 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .hero-description {
        width: 100%;
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: min(100%, 360px);
    }

    .hero-stats-row {
        width: 100%;
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }

    /* Phone mockup */
    .phone-mockup-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .phone-device {
        width: min(320px, calc(100vw - 2rem));
        max-width: 100%;
        height: min(640px, calc((100vw - 2rem) * 2));
        border-radius: 40px;
    }

    .phone-device:hover {
        transform: none;
    }

    .floating-badge {
        display: none;
    }

    /* Feature cards */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        min-width: 0;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .stat-card {
        min-width: 0;
    }

    /* Screenshot carousel */
    .carousel-container {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .carousel-track {
        gap: 0;
    }

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

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* News */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .news-card {
        min-width: 0;
    }

    /* FAQ */
    .faq-item {
        min-width: 0;
    }

    /* Download CTA */
    .download-cta {
        width: 100%;
        max-width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {

    .container {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }

    .section {
        padding: 3.25rem 0;
    }

    .hero-section {
        padding-top: calc(var(--nav-height) + 1.5rem);
        padding-bottom: 2.5rem;
    }

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

    .section-title {
        font-size: 1.65rem;
        line-height: 1.2;
    }

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

    .hero-stats-row {
        gap: 0.75rem 1rem;
    }

    .hero-stat-val {
        font-size: 1.25rem;
    }

    .hero-stat-lbl {
        font-size: 0.75rem;
    }

    .phone-device {
        width: min(300px, calc(100vw - 1.75rem));
        height: min(600px, calc((100vw - 1.75rem) * 2));
        padding: 10px;
        border-radius: 36px;
    }

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

    .phone-header {
        padding: 30px 12px 10px;
    }

    .phone-tabs {
        padding-left: 8px;
        padding-right: 8px;
    }

    .phone-view-body {
        padding: 10px;
    }

    .phone-media-box {
        height: 120px;
    }

    .stats-grid {
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .btn {
        min-height: 46px;
    }
}

@media (max-width: 380px) {

    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

    .phone-device {
        width: calc(100vw - 1.5rem);
        height: calc((100vw - 1.5rem) * 2);
        padding: 8px;
        border-radius: 32px;
    }

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

    .phone-header {
        padding-top: 27px;
    }

    .phone-tab-btn {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 0.65rem;
    }
}

