/* ==========================================================================
   PixaPDF — Official Landing Page Stylesheet
   Design System: Modern Glassmorphism, Vibrant PDF Red & Indigo Accents, Dual Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- Root CSS Variables --- */
:root {
  /* Color Palette - Dark Mode (Default) */
  --bg-main: #0B0F19;
  --bg-surface: #111827;
  --bg-card: #1E293B;
  --bg-glass: rgba(30, 41, 59, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 59, 48, 0.3);

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-inverse: #0F172A;

  /* Brand Colors */
  --primary: #FF3B30;
  --primary-hover: #E02828;
  --primary-gradient: linear-gradient(135deg, #FF3B30 0%, #B91C1C 100%);
  --secondary: #6366F1;
  --secondary-gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  --accent-teal: #10B981;

  /* Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-primary: 0 10px 30px -5px rgba(255, 59, 48, 0.35);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Light Theme Overrides --- */
[data-theme="light"] {
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-color: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(255, 59, 48, 0.25);

  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography Helpers --- */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.25);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

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

/* --- Navbar Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.logo-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
}

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

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

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

/* --- Nav Dropdown Menu --- */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.dropdown-chevron {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 230px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  z-index: 1100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  margin-bottom: 0.2rem;
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.dropdown-link i {
  font-size: 1rem;
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.dropdown-link:hover {
  background: rgba(255, 59, 48, 0.1);
  color: var(--primary);
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 1rem;
    min-width: 100%;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
}

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

/* Theme Toggle Btn */
.theme-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(15deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px -5px rgba(255, 59, 48, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  padding: 140px 0 90px 0;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.18) 0%, rgba(99, 102, 241, 0.08) 40%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-content h1 { font-size: 3.75rem; }
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

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

.playstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #000000;
  color: #FFFFFF;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.playstore-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  border-color: var(--primary);
}

.playstore-badge svg {
  width: 28px;
  height: 28px;
}

.playstore-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.playstore-text span:first-child {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.playstore-text span:last-child {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Stats counter */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero-mockup-wrapper {
  position: relative;
  text-align: center;
}

.mockup-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), var(--shadow-primary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.mockup-img:hover {
  transform: scale(1.02) translateY(-5px);
}

/* Floating feature pill on hero mockup */
.floating-card {
  position: absolute;
  padding: 0.85rem 1.25rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  animation: float 4s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 10%;
  left: -5%;
}

.floating-card.card-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

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

/* --- Section Layouts --- */
.section {
  padding: 90px 0;
}

.bg-surface {
  background: var(--bg-surface);
}

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

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

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255, 59, 48, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary-gradient);
  color: #FFFFFF;
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

.badge-soon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* --- Interactive Tool Simulator Section --- */
.simulator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.simulator-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.sim-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.sim-tab.active, .sim-tab:hover {
  background: var(--primary-gradient);
  color: #FFFFFF;
}

.sim-dropzone {
  border: 2px dashed var(--border-glow);
  background: rgba(255, 59, 48, 0.03);
  padding: 3rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.sim-dropzone:hover {
  background: rgba(255, 59, 48, 0.08);
  border-color: var(--primary);
}

.sim-dropzone i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.sim-preview-area {
  margin-top: 1.5rem;
  display: none;
}

.sim-preview-area.active {
  display: block;
}

.sim-result-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

/* --- Advantages / Keunggulan --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.adv-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.adv-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.adv-icon {
  font-size: 1.75rem;
  color: var(--accent-teal);
  flex-shrink: 0;
}

.adv-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.adv-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

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

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  user-select: none;
}

.faq-header i {
  transition: var(--transition);
  color: var(--primary);
}

.faq-item.open .faq-header i {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
}

.faq-item.open .faq-body {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem 1.5rem;
  transition: max-height 0.35s ease-in-out;
}

/* --- App-ads.txt Code Box --- */
.ads-txt-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.code-box {
  background: #090D16;
  color: #38BDF8;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.1);
  margin: 1.25rem 0;
  overflow-x: auto;
}

/* --- Contact & Support --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255,59,48,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.15);
}

/* --- Modals (Privacy & TOS) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-body h4 {
  color: var(--text-main);
  margin: 1.25rem 0 0.5rem 0;
}

/* --- Footer --- */
.footer {
  background: #060911;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px 0;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
}

/* Responsive Drawer for Mobile */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }
}

/* ==========================================================================
   FEATURE PREVIEW BUTTONS & FEATURE SHOWCASE SECTION
   ========================================================================== */

/* Preview button inside feature card */
.feature-preview-btn {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.25);
  cursor: pointer;
  transition: var(--transition);
}

.feature-preview-btn:hover {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* Feature Showcase Grid */
.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.showcase-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

@media (min-width: 992px) {
  .showcase-card {
    grid-template-columns: 1fr 1fr;
    padding: 3.5rem;
  }
  .showcase-card.reverse {
    direction: rtl;
  }
  .showcase-card.reverse > * {
    direction: ltr;
  }
}

.showcase-card:hover {
  border-color: var(--primary);
  box-shadow: 0 25px 40px -10px rgba(255, 59, 48, 0.2);
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 59, 48, 0.12);
  color: var(--primary);
  border: 1px solid rgba(255, 59, 48, 0.25);
  margin-bottom: 1rem;
}

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

.showcase-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.showcase-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.showcase-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.showcase-highlights li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.showcase-highlights li i {
  color: var(--primary);
}

/* Phone Mockup Frame */
.showcase-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  border-radius: 36px;
  background: #000;
  padding: 10px;
  border: 4px solid #334155;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 59, 48, 0.15);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.phone-camera-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #000000;
  border-radius: 12px;
  z-index: 10;
}

.showcase-img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
  transition: transform 0.4s ease;
}

.glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  border-radius: 36px;
}

.glass-overlay span {
  background: var(--primary-gradient);
  color: #FFF;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(10px);
  transition: var(--transition);
}

.showcase-visual:hover .phone-frame {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 30px 60px -15px rgba(255, 59, 48, 0.35);
}

.showcase-visual:hover .glass-overlay {
  opacity: 1;
}

.showcase-visual:hover .glass-overlay span {
  transform: translateY(0);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  max-height: 90vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.lightbox-close:hover {
  background: var(--primary);
  color: #FFF;
  transform: rotate(90deg);
}

.lightbox-img-wrapper {
  background: #000;
  border-radius: var(--radius-lg);
  padding: 8px;
  border: 2px solid var(--border-glow);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 59, 48, 0.3);
  max-height: 78vh;
  overflow: hidden;
}

.lightbox-img-wrapper img {
  max-height: 74vh;
  width: auto;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  background: var(--bg-glass);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

