/* ======================================================
   Corevia Software – Enhanced CSS
   Modern • Clean • SaaS • Animated
   ====================================================== */

/* =========================
   THEME VARIABLES
========================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-gradient: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --text: #0f172a;
  --text-muted: #64748b;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --accent: #8b5cf6;
  --success: #10b981;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-color: rgba(59, 130, 246, 0.1);
}

html[data-theme="dark"] {
  --bg: #0f172a;
  --bg-soft: #1e293b;
  --bg-gradient: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --primary: #60a5fa;
  --primary-dark: #3b82f6;
  --primary-light: #93c5fd;
  --accent: #a78bfa;
  --success: #34d399;
  --border: #334155;
  --card-bg: #1e293b;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-color: rgba(96, 165, 250, 0.15);
}

/* =========================
   BASE
========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.6s ease;
}

html[data-theme="dark"] .header {
  background: rgba(15, 23, 42, 0.85);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.logo {
  cursor: pointer;
}

.logo-gradient {
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
  display: inline-block;
}

.logo-gradient:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

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

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

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg) scale(1.1);
  border-color: var(--primary);
  box-shadow: 0 4px 15px var(--shadow-color);
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 6rem;
  background: var(--bg-gradient);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  opacity: 0.12;
  animation: float 20s ease-in-out infinite;
}

.hero-background::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.08;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, 30px) scale(1.1);
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease;
   padding-top: 2rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================
   BUTTONS
========================= */

.btn {
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn.large {
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--shadow-color);
}

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

.btn.outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn svg {
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* =========================
   SECTION HEADERS
========================= */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================
   FEATURES
========================= */

.features {
  padding: 6rem 0;
  background: var(--bg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

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

.feature-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-soft) 100%);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px var(--shadow-color);
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.icon {
  font-size: 2rem;
}

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

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================
   APPS
========================= */

.apps {
  padding: 6rem 0;
  background: var(--bg-soft);
}

.app-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.app-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.app-card:hover::after {
  opacity: 0.05;
}

.app-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.app-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: transform 0.3s ease;
}

.app-card:hover .app-icon {
  transform: scale(1.1) rotate(-5deg);
}

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

.app-card > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.app-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.app-features li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.app-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.app-footer {
  margin-top: auto;
}

/* =========================
   CTA SECTION
========================= */

.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-section .btn.primary {
  background: #fff;
  color: var(--primary);
}

.cta-section .btn.primary:hover {
  background: var(--bg-soft);
}

.cta-section .btn.outline {
  border-color: #fff;
  color: #fff;
}

.cta-section .btn.outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: var(--bg-soft);
  padding: 4rem 0 0;
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 300px;
}

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

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-column a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* =========================
   MOBILE
========================= */

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

  .hero {
    padding: 4rem 0 3rem;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

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

  .features,
  .apps,
  .cta-section {
    padding: 3rem 0;
  }

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

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

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}


/* =========================
   APP DETAIL PAGE
========================= */

.app-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
  background: var(--bg-gradient);
}

.app-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.app-hero-background::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  opacity: 0.12;
  animation: float 20s ease-in-out infinite;
}

.app-hero-background::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.08;
  animation: float 15s ease-in-out infinite reverse;
}

.app-hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease;
}

.app-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.app-breadcrumb a {
  color: var(--primary);
  transition: color 0.3s ease;
}

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

.app-breadcrumb span:last-child {
  color: var(--text);
  font-weight: 600;
}

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

.app-hero-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px var(--shadow-color);
}

.app-hero-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.app-hero-tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.app-hero-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.meta-value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
}

.app-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Visual Card */
.app-hero-visual {
  position: relative;
}

.visual-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

.visual-header {
  background: var(--bg-soft);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.visual-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}

.visual-dots span:nth-child(1) {
  background: #ef4444;
}

.visual-dots span:nth-child(2) {
  background: #f59e0b;
}

.visual-dots span:nth-child(3) {
  background: var(--success);
}

.visual-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}

.visual-content {
  padding: 2rem 1.5rem;
}

.visual-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.visual-row.total {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}

.visual-amount {
  font-weight: 600;
  color: var(--text);
}

.visual-amount.success {
  color: var(--success);
}

.visual-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.visual-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
  color: var(--success);
  padding: 0.625rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

.visual-status svg {
  flex-shrink: 0;
}

/* App Features Section */
.app-features-section {
  padding: 6rem 0;
  background: var(--bg);
}

/* How It Works */
.how-it-works {
  padding: 6rem 0;
  background: var(--bg-soft);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.step-card h3 {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 0.75rem;
}
.step-card p {
color: var(--text-muted);
line-height: 1.7;
}
/* Pricing Section */
.pricing-section {
padding: 6rem 0;
background: var(--bg);
}
.pricing-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
max-width: 900px;
margin: 0 auto;
}
.pricing-card {
background: var(--card-bg);
border: 2px solid var(--border);
border-radius: 16px;
padding: 2.5rem;
display: flex;
flex-direction: column;
position: relative;
transition: all 0.4s ease;
}
.pricing-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-lg);
border-color: var(--primary-light);
}
.pricing-card.featured {
border-color: var(--primary);
background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-soft) 100%);
box-shadow: var(--shadow-md);
}
.pricing-badge {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
color: #fff;
padding: 0.375rem 1rem;
border-radius: 50px;
font-size: 0.8125rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.pricing-card h3 {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 1.5rem;
text-align: center;
}
.pricing-price {
text-align: center;
margin-bottom: 2rem;
padding-bottom: 2rem;
border-bottom: 1px solid var(--border);
}
.price-amount {
display: block;
font-size: 3rem;
font-weight: 800;
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
line-height: 1;
margin-bottom: 0.5rem;
}
.price-period {
display: block;
color: var(--text-muted);
font-size: 0.9375rem;
}
.pricing-features {
list-style: none;
margin-bottom: 2rem;
flex-grow: 1;
}
.pricing-features li {
padding: 0.75rem 0;
color: var(--text-muted);
position: relative;
padding-left: 2rem;
border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child {
border-bottom: none;
}
.pricing-features li::before {
content: '✓';
position: absolute;
left: 0;
color: var(--success);
font-weight: bold;
font-size: 1.1rem;
}
/* =========================
   FAQ SECTION - IMPROVED
========================= */

.faq-section {
  padding: 6rem 0;
  background: var(--bg-soft);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::before {
  transform: scaleY(1);
}

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

.faq-q-text {
  flex: 1;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  padding-right: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-soft);
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  transform: rotate(180deg);
}

.faq-icon svg {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.faq-item.active .faq-icon svg {
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
  padding: 0 2rem;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 2rem 1.75rem;
  opacity: 1;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}
/* Mobile Responsive */
@media (max-width: 968px) {
.app-hero-main {
grid-template-columns: 1fr;
gap: 3rem;
}
.app-hero-visual {
order: -1;
}
.steps-grid {
grid-template-columns: 1fr;
}
.pricing-cards {
grid-template-columns: 1fr;
}
.faq-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.app-hero {
padding: 4rem 0 3rem;
}
.app-hero-info h1 {
font-size: 2rem;
}
.app-hero-tagline {
font-size: 1.125rem;
}
.app-hero-meta {
flex-direction: column;
gap: 1rem;
}
.app-hero-actions {
flex-direction: column;
}
.app-hero-actions .btn {
width: 100%;
}
.app-features-section,
.how-it-works,
.pricing-section,
.faq-section {
padding: 3rem 0;
}

.faq-question {
padding: 1.5rem 1.5rem;
gap: 1rem;
}

.faq-q-text {
font-size: 1rem;
}

.faq-icon {
width: 28px;
height: 28px;
}

.faq-icon svg {
width: 20px;
height: 20px;
}

.faq-answer {
padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
font-size: 0.9375rem;
}   


}
@media (max-width: 480px) {
.visual-content {
padding: 1.5rem 1rem;
}
.pricing-card,
.faq-item {
padding: 1.5rem;
}
.price-amount {
font-size: 2.5rem;
}

.faq-section {
padding: 4rem 0;
}

.faq-container {
gap: 1rem;
}

.faq-question {
padding: 1.25rem 1.25rem;
}

.faq-q-text {
font-size: 0.9375rem;
}
}


/* =========================
   CONTRACTGUARD SPECIFIC STYLES
========================= */

.visual-amount.warning {
  color: #f59e0b;
  font-weight: 600;
}

.pricing-trial {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--success);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.pricing-trial svg {
  flex-shrink: 0;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.pricing-note {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Screenshot wrapper for app previews */
.visual-screenshot-wrapper {
  padding: 0;
  background: var(--bg-soft);
  overflow: hidden;
}

.visual-screenshot-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 16px 16px;
  transition: transform 0.3s ease;
}

.visual-card:hover .visual-screenshot-wrapper img {
  transform: scale(1.02);
}

/* App card header met badge */
.app-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.app-badge {
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Centreer alleen de categorie iconen */
.centered-icon {
  margin-left: auto;
  margin-right: auto;
}

/* Centreer alleen de categorie iconen */
.centered-icon {
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease;
}

/* Hover animatie voor categorie iconen */
.feature-card:hover .centered-icon {
  transform: scale(1.1) rotate(-5deg);
}


/* Centreer alleen de categorie iconen */
.centered-icon {
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease;
}

/* Hover animatie voor categorie iconen */
.feature-card:hover .centered-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Zorg dat icon-wrapper ook de hover animatie krijgt */
.icon-wrapper.centered-icon {
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}
