/* ==========================================================================
   Expinzo - Global Stylesheet (Design System & Tokens)
   ========================================================================== */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ─── Custom Properties & Themes ─── */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette - Light Mode (Default) */
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  
  --color-primary: #6C63FF;
  --color-primary-rgb: 108, 99, 255;
  --color-secondary: #00F2FE;
  --color-secondary-rgb: 0, 242, 254;
  --color-accent: #FF4E50;
  
  /* Gradients */
  --grad-brand: linear-gradient(135deg, #6C63FF 0%, #3B30E8 100%);
  --grad-accent: linear-gradient(135deg, #FF4E50 0%, #F9D423 100%);
  --grad-glow: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);

  /* UI Adjustments */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --nav-height: 80px;
}

/* Dark Mode Theme */
[data-theme="dark"] {
  --bg-primary: #07070F;
  --bg-secondary: #0D0C1A;
  --bg-card: #121124;
  --border-color: rgba(108, 99, 255, 0.12);
  
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --grad-glow: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.15) 0%, rgba(7, 7, 15, 0) 75%);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.5em;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

ul {
  list-style: none;
}

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

/* ─── Layout Utility Classes ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

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

.grad-brand-text {
  background: linear-gradient(135deg, #8E87FF 0%, #3B30E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--grad-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

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

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

/* ─── Sticky Header ─── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: rgba(var(--color-primary-rgb), 0.02);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--border-color);
  height: 70px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
}

.logo img {
  height: 48px;
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.75)) drop-shadow(0 0 10px rgba(108, 99, 255, 0.25));
  transition: all 0.2s ease;
}
.logo:hover img {
  transform: scale(1.03);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--grad-brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
}

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

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--bg-card);
  border-color: var(--color-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }

  header.scrolled nav {
    top: 70px;
  }

  nav.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

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

/* ─── Hero Section ─── */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background: var(--grad-glow);
  z-index: -1;
  pointer-events: none;
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 32px;
  color: var(--text-secondary);
}

.app-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 40px;
  }
  .app-badges {
    justify-content: center;
  }
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #0A0A16;
  color: white;
  border-radius: 12px;
  padding: 10px 20px;
  border: 1px solid #1E1B4B;
  transition: all 0.2s ease;
}

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

.store-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 10px;
  font-family: var(--font-body);
  line-height: 1.2;
}

.store-text span {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-heading);
}

/* ─── Premium Phone Mockup ─── */
.mockup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-shell {
  width: 290px;
  height: 590px;
  background-color: #0F0F1A;
  border-radius: 40px;
  border: 10px solid #2A2A3F;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(108, 99, 255, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  flex: 1;
  background-color: #09090F;
  padding: 16px;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  overflow-y: hidden;
  position: relative;
}

/* Notch */
.phone-notch {
  width: 110px;
  height: 18px;
  background-color: #2A2A3F;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* App Header Mockup */
.mock-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 20px;
}

.mock-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-avatar {
  width: 32px;
  height: 32px;
  background: var(--grad-brand);
  border-radius: 50%;
}

.mock-title {
  color: white;
  font-size: 13px;
  font-weight: 600;
}

/* Simulated Transaction Cards inside Mockup */
.mock-ledger {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  animation: floatCard 4s ease-in-out infinite alternate;
}

.mock-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: rgba(108, 99, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 16px;
}

.mock-card:nth-child(2) .mock-icon {
  background-color: rgba(0, 242, 254, 0.15);
  color: var(--color-secondary);
}

.mock-details {
  display: flex;
  flex-direction: column;
}

.mock-merchant {
  color: #FFF;
  font-weight: 600;
  font-size: 13px;
}

.mock-date {
  color: #71717A;
  font-size: 10px;
  margin-top: 2px;
}

.mock-amount {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-accent);
}

.mock-amount.income {
  color: #10B981;
}

/* Floating Elements around phone */
.floating-element {
  position: absolute;
  background: rgba(18, 17, 36, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 5;
}

.fe-1 {
  top: 15%;
  left: -20px;
  animation: float 5s ease-in-out infinite;
}

.fe-2 {
  bottom: 20%;
  right: -30px;
  animation: float 6s ease-in-out infinite 1s;
}

/* ─── Features Grid ─── */
.section-title {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-title h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-title p {
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108, 99, 255, 0.2);
}

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

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: rgba(var(--color-primary-rgb), 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 24px;
  font-size: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1);
  background: var(--grad-brand);
  color: white;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── Real-Time Parser Showcase ─── */
.parser-section {
  background-color: var(--bg-secondary);
}

.showcase-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .showcase-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.interactive-parser {
  background-color: #0B0A1A;
  border-radius: var(--radius-lg);
  border: 1px solid #1E1B4B;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.parser-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 15px;
}

.parser-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #10B981;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.parser-input-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.parser-input-container label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.parser-field {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  color: white;
  font-size: 15px;
  resize: none;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.parser-field:focus {
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.parser-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.suggestion-chip {
  background-color: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  color: #8E87FF;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion-chip:hover {
  background-color: var(--color-primary);
  color: white;
}

.parser-results {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

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

.result-box {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.result-box span {
  font-size: 11px;
  color: #71717A;
  display: block;
  margin-bottom: 4px;
}

.result-val {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: white;
}

/* ─── Workflow Steps ─── */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  position: relative;
}

@media (max-width: 768px) {
  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(108, 99, 255, 0.3);
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
}

/* ─── Dynamic Analytics Preview ─── */
.dashboard-preview {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 576px) {
  .dash-stats {
    grid-template-columns: 1fr;
  }
}

.stat-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.stat-val {
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* CSS simulated chart */
.bar-chart-sim {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 150px;
  padding-top: 20px;
  border-bottom: 2px solid var(--border-color);
}

.chart-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12%;
}

.chart-bar {
  width: 100%;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  background: var(--grad-brand);
  min-height: 10px;
  transition: height 1s ease-in-out;
}

.chart-bar-container:nth-child(even) .chart-bar {
  background: var(--grad-accent);
}

.chart-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ─── FAQs ─── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 14px;
}

.faq-item.active {
  border-color: var(--color-primary);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.4s ease-in-out;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.2s ease;
}

.faq-toggle-icon::before, .faq-toggle-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-primary);
  transition: transform 0.2s ease;
}

/* Horizontal line */
.faq-toggle-icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}

/* Vertical line */
.faq-toggle-icon::after {
  top: 2px;
  left: 9px;
  width: 2px;
  height: 16px;
}

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

/* ─── Footer & CTA ─── */
.cta-section {
  background: var(--grad-brand);
  color: white;
  text-align: center;
  position: relative;
}

.cta-section h2, .cta-section p {
  color: white;
}

.cta-section h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
}

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

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

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ─── Contact Form (Support) ─── */
.support-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

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

.contact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.2s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
}

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

/* ─── Legal Pages Styles ─── */
.legal-container {
  max-width: 800px;
  margin: calc(var(--nav-height) + 40px) auto 80px;
  padding: 0 24px;
}

.legal-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.legal-header h1 {
  font-size: 36px;
}

.legal-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p {
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* ─── Toast Notifications ─── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #0F0F1A;
  color: white;
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1001;
  animation: slideInRight 0.3s ease;
}

/* ─── Animations ─── */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes floatCard {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

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

.scroll-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-anim.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Pricing Section ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 40px auto 0;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pricing-toggle label {
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-secondary);
}

.pricing-toggle label.active {
  color: var(--text-primary);
}

.pricing-badge-save {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 40px rgba(108, 99, 255, 0.18);
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  right: 32px;
  background: var(--grad-brand);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.pricing-header h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 16px 0 8px;
  font-family: var(--font-heading);
}

.pricing-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li .check {
  color: #22C55E;
  font-weight: 700;
}

/* ─── Testimonials Section ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.stars {
  color: #F59E0B;
  font-size: 16px;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.author-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Stat Counter Bar */
.stat-counters-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  padding: 28px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
}

.stat-counter-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.stat-counter-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Creative Download Modal ─── */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 6, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-card {
  background: linear-gradient(145deg, #16122E 0%, #0D0A1C 100%);
  border: 1.5px solid rgba(124, 108, 255, 0.25);
  border-radius: 28px;
  max-width: 460px;
  width: 100%;
  padding: 36px 28px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(108, 99, 255, 0.2);
  color: #FFFFFF;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  color: #94A3B8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.store-badge-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.store-badge-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.12) 0%, rgba(34, 197, 94, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.store-badge-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(124, 108, 255, 0.5);
  box-shadow: 0 12px 28px rgba(108, 99, 255, 0.25);
}

.store-badge-card:hover::before {
  opacity: 1;
}

.store-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-badge-content {
  flex: 1;
  text-align: left;
}

.store-subtitle {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #94A3B8;
  font-weight: 600;
}

.store-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.store-tag {
  font-size: 11px;
  color: #CBD5E1;
  font-weight: 500;
  margin-top: 2px;
}

.store-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C63FF 0%, #3B30E8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.4);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.store-badge-card:hover .store-action-btn {
  transform: scale(1.1);
}


