/* Root Variables for Vaultly Expense Tracker */
:root {
  /* Brand Colors */
  --primary: #7C3AED;
  --secondary: #9B59D8;
  --bg-color: #F0F2F8;
  --surface: #FFFFFF;
  --surface-alt: #F9FAFC;

  /* Text Colors */
  --text-dark: #1A1A2E;
  --text-support: #6B6B8A;
  --text-light: #9E9EB8;

  /* Accent Colors */
  --income-accent: #00C6AE;
  --expense-accent: #FF6B8A;
  --ocean: #0EA5E9;
  --emerald: #10B981;
  --coral: #FF6B6B;
  --amber: #F59E0B;

  /* Shadows & Effects */
  --shadow-sm: 0 4px 12px rgba(26, 26, 46, 0.05);
  --shadow-md: 0 12px 32px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 24px 48px rgba(124, 58, 237, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(124, 58, 237, 0.1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden; 
}
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium Text Selection Highlight */
::selection {
  background: rgba(124, 58, 237, 0.25);
  color: var(--text-dark);
}
::-moz-selection {
  background: rgba(124, 58, 237, 0.25);
  color: var(--text-dark);
}

/* Premium Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--surface-alt);
}
::-webkit-scrollbar-thumb {
  background: #c1c9d2;
  border-radius: 100px;
  border: 3px solid var(--surface-alt);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #a0aebf;
}

h1,
h2,
h3,
h4,
h5,
.font-heading {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.text-support {
  color: var(--text-support);
}

.mt-2 {
  margin-top: 8px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-8 {
  margin-bottom: 32px;
}

.pill-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 20px 0;
}

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

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-container img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3), 0 0 0 2px rgba(124, 58, 237, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-container:hover img {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4), 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

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

.nav-links a.nav-item {
  color: var(--text-support);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.4);
}

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

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-2px);
}

/* Google Play Badge (Real Style) */
.google-play-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px 10px 18px;
  background: #000;
  border: 1.5px solid #a6a6a6;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
}

.google-play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: #fff;
}

.google-play-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  background: #000;
  border: 1.5px solid #a6a6a6;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.google-play-badge-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: #fff;
}

.google-play-badge-sm .gp-label {
  font-size: 0.5rem;
}

.google-play-badge-sm .gp-title {
  font-size: 0.95rem;
}

.gp-label {
  display: block;
  font-size: 0.6rem;
  color: #ccc;
  letter-spacing: 0.5px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.gp-title {
  display: block;
  font-size: 1.35rem;
  color: #fff;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.hero-content h1 {
  font-size: 4rem;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-support);
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.hero-mockup-cluster {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 10;
  height: 580px;
  margin-top: 20px;
}

.mockup-wrapper-hero {
  position: absolute;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-mockup {
  width: 270px;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
  will-change: transform, filter;
}

.mockup-left {
  left: 50%;
  transform: translateX(-108%) translateY(0px) scale(0.88);
  z-index: 1;
}

.mockup-left:hover {
  transform: translateX(-108%) translateY(-12px) scale(0.91);
}

.mockup-center {
  left: 50%;
  transform: translateX(-50%) translateY(-30px) scale(1);
  z-index: 3;
}

.mockup-center .hero-mockup {
  filter: drop-shadow(0 30px 60px rgba(124, 58, 237, 0.35));
}

.mockup-center:hover {
  transform: translateX(-50%) translateY(-42px) scale(1.03);
}

.mockup-right {
  left: 50%;
  transform: translateX(8%) translateY(0px) scale(0.88);
  z-index: 1;
}

.mockup-right:hover {
  transform: translateX(8%) translateY(-12px) scale(0.91);
}

/* Realistic Floor Shadow */
.floor-shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 24px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.12) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(12px);
  z-index: -1;
  transition: all 0.5s ease;
}

/* Trust Strip */
.trust-strip {
  padding: 60px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--surface);
}

.trust-brands {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-support);
  font-weight: 600;
}

/* Feature Toggles / Blocks */
.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-support);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse .feature-content {
  direction: ltr;
}

.feature-content h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-content p {
  font-size: 1.15rem;
  color: var(--text-support);
  margin-bottom: 30px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: bold;
}

.feature-list h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.feature-list p {
  font-size: 0.95rem;
  color: var(--text-support);
  margin-bottom: 0;
}

.mockup-wrapper {
  position: relative;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image {
  max-width: 320px;
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Pre-rendered silver-framed mockups */
.feature-mockup-framed {
  max-width: 340px;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
}

/* 3D Tilted Mockup for Feature 3 */
.perspective-wrapper {
  perspective: 1200px;
}

.feature-mockup-tilted-right {
  /* Rotate Y: left side goes back, right comes forward (screen faces right) */
  transform: rotateY(-25deg) rotateX(10deg) rotateZ(4deg) scale(0.95);
  filter: drop-shadow(25px 35px 35px rgba(0, 0, 0, 0.25));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
  animation: float-tilted-right 6s ease-in-out infinite;
  animation-delay: -3s;
  will-change: transform, filter;
  /* Offset so they float in opposite phases */
}

@keyframes float-tilted-right {
  0% {
    transform: rotateY(-25deg) rotateX(10deg) rotateZ(4deg) translateY(0px) scale(0.95);
  }

  50% {
    transform: rotateY(-25deg) rotateX(10deg) rotateZ(4deg) translateY(-15px) scale(0.95);
  }

  100% {
    transform: rotateY(-25deg) rotateX(10deg) rotateZ(4deg) translateY(0px) scale(0.95);
  }
}

.mockup-wrapper:hover .feature-mockup-tilted-right,
.mockup-wrapper-theme:hover .feature-mockup-tilted-right {
  animation-play-state: paused;
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(2deg) scale(1) translateY(-10px);
  filter: drop-shadow(30px 45px 45px rgba(0, 0, 0, 0.2));
}

.feature-mockup-tilted-left {
  /* Rotate Y: right side goes back, left comes forward (screen faces left) */
  transform: rotateY(25deg) rotateX(10deg) rotateZ(-4deg) scale(0.95);
  filter: drop-shadow(-25px 35px 35px rgba(0, 0, 0, 0.25));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
  animation: float-tilted-left 6s ease-in-out infinite;
  will-change: transform, filter;
}

@keyframes float-tilted-left {
  0% {
    transform: rotateY(25deg) rotateX(10deg) rotateZ(-4deg) translateY(0px) scale(0.95);
  }

  50% {
    transform: rotateY(25deg) rotateX(10deg) rotateZ(-4deg) translateY(-15px) scale(0.95);
  }

  100% {
    transform: rotateY(25deg) rotateX(10deg) rotateZ(-4deg) translateY(0px) scale(0.95);
  }
}

.mockup-wrapper:hover .feature-mockup-tilted-left,
.mockup-wrapper-theme:hover .feature-mockup-tilted-left {
  animation-play-state: paused;
  transform: rotateY(18deg) rotateX(8deg) rotateZ(-2deg) scale(1) translateY(-10px);
  filter: drop-shadow(-30px 45px 45px rgba(0, 0, 0, 0.2));
}

.mockup-wrapper:hover .tilted-shadow {
  transform: translateX(-35%) scale(1.1);
  opacity: 0.5;
}

/* Feature 4 Cluster (Accent Colors) */
.mockup-cluster-diagonal {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 550px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.cluster-item {
  position: absolute;
  max-width: 250px;
  /* Scaled down slightly to fit 5 */
  border-radius: 36px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s, opacity 0.6s;
  will-change: transform;
}

/* Staggering the 5 phones from bottom-left (front) to top-right (back) */
/* The base tilt angle aligns with the zigzag style and reference image vibe */
.cluster-item.item-1 {
  /* Purple - Front */
  transform: translateX(-70px) translateY(70px) translateZ(90px) rotateY(-12deg) rotateX(18deg) rotateZ(12deg);
  z-index: 5;
  filter: drop-shadow(-20px 30px 30px rgba(0, 0, 0, 0.3));
}

.cluster-item.item-2 {
  /* Red */
  transform: translateX(-35px) translateY(35px) translateZ(45px) rotateY(-12deg) rotateX(18deg) rotateZ(12deg);
  z-index: 4;
  filter: drop-shadow(-15px 25px 25px rgba(0, 0, 0, 0.25));
}

.cluster-item.item-3 {
  /* Emerald - Middle */
  transform: translateX(0px) translateY(0px) translateZ(0px) rotateY(-12deg) rotateX(18deg) rotateZ(12deg);
  z-index: 3;
  filter: drop-shadow(-15px 25px 25px rgba(0, 0, 0, 0.25));
}

.cluster-item.item-4 {
  /* Blue */
  transform: translateX(35px) translateY(-35px) translateZ(-45px) rotateY(-12deg) rotateX(18deg) rotateZ(12deg);
  z-index: 2;
  filter: drop-shadow(-15px 25px 25px rgba(0, 0, 0, 0.25));
}

.cluster-item.item-5 {
  /* Amber - Back */
  transform: translateX(70px) translateY(-70px) translateZ(-90px) rotateY(-12deg) rotateX(18deg) rotateZ(12deg);
  z-index: 1;
  filter: drop-shadow(-15px 25px 25px rgba(0, 0, 0, 0.2));
}

/* Hover: expand the cluster so you can see all accent colors clearly */
.mockup-cluster-diagonal:hover .item-1 {
  transform: translateX(-110px) translateY(110px) translateZ(120px) rotateY(-5deg) rotateX(12deg) rotateZ(8deg) scale(1.05);
}

.mockup-cluster-diagonal:hover .item-2 {
  transform: translateX(-55px) translateY(55px) translateZ(60px) rotateY(-5deg) rotateX(12deg) rotateZ(8deg) scale(1.02);
}

.mockup-cluster-diagonal:hover .item-3 {
  transform: translateX(0px) translateY(0px) translateZ(0px) rotateY(-5deg) rotateX(12deg) rotateZ(8deg) scale(1);
}

.mockup-cluster-diagonal:hover .item-4 {
  transform: translateX(55px) translateY(-55px) translateZ(-60px) rotateY(-5deg) rotateX(12deg) rotateZ(8deg) scale(0.98);
}

.mockup-cluster-diagonal:hover .item-5 {
  transform: translateX(110px) translateY(-110px) translateZ(-120px) rotateY(-5deg) rotateX(12deg) rotateZ(8deg) scale(0.95);
}

.mockup-wrapper:hover .feature-image {
  transform: translateY(-12px) scale(1.02);
}

.mockup-wrapper:hover .floor-shadow {
  width: 55%;
  opacity: 0.6;
  filter: blur(16px);
}

/* ===== ACCENT COLOR ORBS ===== */
.accent-cluster-wrapper {
  position: relative;
  width: 100%;
  min-height: 550px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.accent-orb {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.5), var(--orb-color) 60%);
  box-shadow:
    0 0 20px var(--orb-glow),
    0 0 40px var(--orb-glow),
    inset 0 -4px 8px rgba(0, 0, 0, 0.15),
    inset 0 4px 8px rgba(255, 255, 255, 0.3);
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  pointer-events: auto;
}

.accent-orb::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 10px;
  width: 18px;
  height: 10px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  filter: blur(2px);
}

.accent-orb:hover {
  transform: scale(1.25);
  box-shadow:
    0 0 30px var(--orb-glow),
    0 0 60px var(--orb-glow),
    inset 0 -4px 8px rgba(0, 0, 0, 0.15),
    inset 0 4px 8px rgba(255, 255, 255, 0.3);
}

.orb-label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orb-color);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-shadow: 0 1px 4px var(--orb-glow);
}

.accent-orb:hover .orb-label {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}

/* Orb positions — pushed far out so they don't overlap mockups */
.orb-purple {
  top: -5%;
  left: -4%;
  animation: orbFloat1 5s ease-in-out infinite;
}

.orb-ocean {
  top: -2%;
  right: -6%;
  animation: orbFloat2 6s ease-in-out infinite;
}

.orb-emerald {
  bottom: 32%;
  left: -10%;
  animation: orbFloat3 5.5s ease-in-out infinite;
}

.orb-coral {
  bottom: -2%;
  right: -4%;
  animation: orbFloat4 4.5s ease-in-out infinite;
}

.orb-amber {
  top: 45%;
  right: -8%;
  animation: orbFloat5 6.5s ease-in-out infinite;
}

/* Staggered floating animations for each orb */
@keyframes orbFloat1 {
  0%   { transform: translateY(0px) translateX(0px); }
  25%  { transform: translateY(-12px) translateX(5px); }
  50%  { transform: translateY(-6px) translateX(-3px); }
  75%  { transform: translateY(-14px) translateX(2px); }
  100% { transform: translateY(0px) translateX(0px); }
}

@keyframes orbFloat2 {
  0%   { transform: translateY(0px) translateX(0px); }
  33%  { transform: translateY(-10px) translateX(-6px); }
  66%  { transform: translateY(-16px) translateX(3px); }
  100% { transform: translateY(0px) translateX(0px); }
}

@keyframes orbFloat3 {
  0%   { transform: translateY(0px) translateX(0px); }
  40%  { transform: translateY(-8px) translateX(7px); }
  70%  { transform: translateY(-15px) translateX(-4px); }
  100% { transform: translateY(0px) translateX(0px); }
}

@keyframes orbFloat4 {
  0%   { transform: translateY(0px) translateX(0px); }
  30%  { transform: translateY(-14px) translateX(-5px); }
  60%  { transform: translateY(-6px) translateX(6px); }
  100% { transform: translateY(0px) translateX(0px); }
}

@keyframes orbFloat5 {
  0%   { transform: translateY(0px) translateX(0px); }
  35%  { transform: translateY(-11px) translateX(4px); }
  65%  { transform: translateY(-7px) translateX(-6px); }
  100% { transform: translateY(0px) translateX(0px); }
}

.theme-badges {
  display: flex;
  gap: 15px;
  z-index: 10;
}

.theme-badge {
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.theme-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.theme-badge.dark {
  background: linear-gradient(135deg, #1e1b4b, #4338ca);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-badge.light {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

/* Theme Showcase (Floating visually) */
.theme-showcase {
  padding: 140px 0;
  background: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.theme-showcase h2,
.theme-showcase h3,
.theme-showcase .font-heading {
  color: white;
}

.theme-showcase p {
  color: rgba(255, 255, 255, 0.8);
}

.theme-showcase-grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 60px;
  margin-top: 60px;
}

.mockup-wrapper-theme {
  position: relative;
}

.floating-mockup {
  width: 300px;
  display: block;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-mockup:hover {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.03);
}

.floating-mockup.light-theme {
  animation-delay: -3s;
}

.theme-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.premium-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.pricing-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  position: relative;
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.price-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2.2rem;
  margin-bottom: 24px;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount span {
  font-size: 0.95rem;
  color: var(--text-support);
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  display: flex;
  gap: 8px;
  line-height: 1.4;
}

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

.pricing-card .btn {
  width: 100%;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: 24px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-support);
}

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

.faq-item.active .faq-answer {
  padding: 0 30px 24px;
  max-height: 300px;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--surface-alt), var(--surface));
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.final-cta-box {
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: white;
}

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

.footer-links h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== SECURITY CARDS STYLING ===== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.security-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 32px;
  text-align: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  backdrop-filter: blur(10px);
}

.security-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
}

.security-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  background: var(--card-glow);
  color: var(--card-accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, background 0.3s ease;
}

.security-card:hover .security-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  background: var(--card-accent);
}

.security-card:hover .security-icon-wrap span {
  filter: brightness(0) invert(1);
}

.security-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.security-card p {
  font-size: 0.95rem;
  color: var(--text-support);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===== Animations & Premium Motion ===== */

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

/* Hero phones gentle floating */
@keyframes heroFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Center mockup glow pulse */
@keyframes shimmerGlow {
  0% { filter: drop-shadow(0 30px 60px rgba(124, 58, 237, 0.30)); }
  50% { filter: drop-shadow(0 35px 70px rgba(124, 58, 237, 0.50)); }
  100% { filter: drop-shadow(0 30px 60px rgba(124, 58, 237, 0.30)); }
}

/* Reveal system */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== HERO MOCKUP PREMIUM MOTION ===== */
/* Continuous gentle float on all hero mockups */
.mockup-wrapper-hero .hero-mockup {
  animation: heroFloat 6s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.mockup-left .hero-mockup {
  animation-delay: 0s;
}

.mockup-center .hero-mockup {
  animation: heroFloat 6s ease-in-out infinite, shimmerGlow 4s ease-in-out infinite;
  animation-delay: -2s;
}

.mockup-right .hero-mockup {
  animation-delay: -4s;
}

/* Hover: same premium motion as logo icon (scale + rotate + glow) */
.mockup-left:hover .hero-mockup {
  animation-play-state: paused;
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 24px 48px rgba(124, 58, 237, 0.4));
}

.mockup-center:hover .hero-mockup {
  animation-play-state: paused;
  transform: scale(1.06) rotate(1.5deg);
  filter: drop-shadow(0 30px 60px rgba(124, 58, 237, 0.5));
}

.mockup-right:hover .hero-mockup {
  animation-play-state: paused;
  transform: scale(1.08) rotate(2deg);
  filter: drop-shadow(0 24px 48px rgba(124, 58, 237, 0.4));
}

/* ===== FEATURE MOCKUP PREMIUM HOVER ===== */
/* Tilted mockups: on hover, scale up + enhance glow (like icon) */
.mockup-wrapper:hover .feature-mockup-tilted-right {
  animation-play-state: paused;
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(2deg) scale(1.05) translateY(-10px);
  filter: drop-shadow(30px 45px 50px rgba(124, 58, 237, 0.3));
}

.mockup-wrapper:hover .feature-mockup-tilted-left {
  animation-play-state: paused;
  transform: rotateY(18deg) rotateX(8deg) rotateZ(-2deg) scale(1.05) translateY(-10px);
  filter: drop-shadow(-30px 45px 50px rgba(124, 58, 237, 0.3));
}

/* Theme showcase mockups: gentle float + premium hover */
.theme-showcase .mockup-wrapper-theme .feature-mockup-framed {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.theme-showcase .mockup-wrapper-theme:hover .feature-mockup-tilted-left {
  animation-play-state: paused;
  transform: rotateY(18deg) rotateX(8deg) rotateZ(-2deg) scale(1.06);
  filter: drop-shadow(-24px 40px 50px rgba(124, 58, 237, 0.35));
}

.theme-showcase .mockup-wrapper-theme:hover .feature-mockup-tilted-right {
  animation-play-state: paused;
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(2deg) scale(1.06);
  filter: drop-shadow(24px 40px 50px rgba(124, 58, 237, 0.35));
}

/* ===== PRICING CARDS PREMIUM HOVER ===== */
.pricing-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  will-change: transform, box-shadow;
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12);
}

/* Legal Pages Styling */
.legal-page {
  padding: 160px 0 100px;
  background: var(--surface);
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-container h1 {
  font-size: 3rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.legal-container h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--primary);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-container p,
.legal-container li {
  color: var(--text-support);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.legal-container a:not(.btn) {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.legal-container a:not(.btn):hover {
  text-decoration: underline;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  color: var(--text-support);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-back-link:hover {
  color: var(--primary);
  text-decoration: none;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3.2rem; }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .pricing-card.popular { transform: scale(1); }
  .theme-showcase-grid {
    flex-direction: column;
    align-items: center;
  }
  .theme-labels { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .hero-content h1 { font-size: 2.2rem; }
  .pill-badge { font-size: 0.75rem; }
  .hero-mockup-cluster {
    flex-direction: column;
    gap: -40px;
    margin-top: 40px;
  }
  .mockup-left, .mockup-right { display: none; }
  .mockup-center {
    transform: translateX(-50%) scale(1); /* Restored horizontal centering */
    width: 100%; 
    max-width: 320px; 
  }
  
  .feature-block, .feature-block.reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .feature-content {
    align-items: center;
  }
  .feature-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 24px; }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .footer-brand p { margin: 20px auto; }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* Accent section wrapping */
  .accent-cluster-wrapper { 
    height: auto; 
    margin-top: 20px;
    padding-bottom: 20px;
  }
  .mockup-cluster-diagonal {
    transform: scale(0.65);
    transform-origin: center center;
    margin: -80px auto; 
  }
  .accent-orb { transform: scale(0.7); }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
  
  /* Trust strip cleanup for small mobile */
  .trust-strip {
    flex-direction: column !important;
    gap: 16px !important;
    padding: 24px !important;
    border-radius: 24px !important;
    align-items: flex-start;
  }

  /* Floating orbs format fix */
  div[style*="gap: 40px;"] {
    gap: 16px !important;
  }
  div[style*="width: 80px; height: 80px;"] {
    width: 60px !important;
    height: 60px !important;
    font-size: 0.85rem !important;
  }
  
  .mockup-wrapper-theme img {
    max-width: 100% !important;
  }
}