/* ========================================
   Sortlio Landing Page - Stripe-inspired Design
   ======================================== */

:root {
  /* Colors - Light Mode */
  --bg-primary: #ffffff;
  --bg-secondary: #f6f9fc;
  --bg-tertiary: #e3e8ee;
  --bg-hover: #f0f4f8;
  --bg-active: #e3e8ee;

  --text-primary: #0a2540;
  --text-secondary: #425466;
  --text-muted: #6b7c93;
  --text-tertiary: #8898aa;

  --border-default: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.1);

  /* Stripe-inspired gradient colors */
  --gradient-1: #635bff;
  --gradient-2: #0073e6;
  --gradient-3: #00d4ff;
  --gradient-4: #a960ee;
  --gradient-5: #ff6b6b;

  --accent: #635bff;
  --accent-hover: #4f46e5;
  --accent-subtle: rgba(99, 91, 255, 0.08);
  --accent-light: rgba(99, 91, 255, 0.12);

  --success: #00d4ff;
  --error: #ff6b6b;

  /* Shadows - Stripe style */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 60px rgba(99, 91, 255, 0.3);

  /* Spacing */
  --container-max: 1280px;
  --section-padding: 140px;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
}

/* Dark mode */
[data-theme="dark"] {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f17;
  --bg-tertiary: #171720;
  --bg-hover: #1a1a26;
  --bg-active: #222230;

  --text-primary: #ffffff;
  --text-secondary: #a3acb9;
  --text-muted: #6b7280;
  --text-tertiary: #4b5563;

  --border-default: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);

  --accent-subtle: rgba(99, 91, 255, 0.15);
  --accent-light: rgba(99, 91, 255, 0.2);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 80px rgba(99, 91, 255, 0.4);
}

/* ========================================
   Reset & Base
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ========================================
   Container
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ========================================
   Animated Gradient Background
   ======================================== */

.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.gradient-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(99, 91, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 115, 230, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(169, 96, 238, 0.1) 0%, transparent 50%);
  animation: gradientMove 20s ease-in-out infinite;
}

[data-theme="dark"] .gradient-bg::before {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(99, 91, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 115, 230, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(169, 96, 238, 0.12) 0%, transparent 50%);
}

@keyframes gradientMove {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(2%, -2%) rotate(1deg);
  }
  66% {
    transform: translate(-1%, 1%) rotate(-1deg);
  }
}

/* ========================================
   Navbar
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-default);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
}


.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

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

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

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

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

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  transform: scale(1.05);
}

.theme-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.theme-icon.moon { display: none; }
.theme-icon.sun { display: block; }
[data-theme="dark"] .theme-icon.moon { display: block; }
[data-theme="dark"] .theme-icon.sun { display: none; }

/* ========================================
   Buttons - Stripe Style
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 91, 255, 0.45);
}

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

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

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-xl);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ========================================
   Hero Section - Stripe Style
   ======================================== */

.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(99, 91, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(ellipse at center top, rgba(99, 91, 255, 0.2) 0%, transparent 60%);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-light);
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

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

.hero-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 50%, var(--gradient-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-image {
  margin-top: 60px;
  animation: fadeInUp 0.8s ease 0.4s both;
  perspective: 1000px;
}

/* App Window Preview - Enhanced */
.app-window {
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  user-select: none;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.03),
    var(--shadow-xl),
    var(--shadow-glow);
  max-width: 1000px;
  margin: 0 auto;
  transform: rotateX(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.app-window:hover {
  transform: rotateX(0deg) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.03),
    var(--shadow-xl),
    0 0 100px rgba(99, 91, 255, 0.4);
}

[data-theme="dark"] .app-window {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    var(--shadow-xl),
    var(--shadow-glow);
}

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-default);
}

.traffic-lights {
  display: flex;
  gap: 8px;
}

.light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.light:hover {
  transform: scale(1.15);
}

.light.red { background: #ff5f57; }
.light.yellow { background: #febc2e; }
.light.green { background: #28c840; }

.app-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.app-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding-left: 24px;
}

.app-header-actions {
  display: flex;
  gap: 8px;
}

.app-btn {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.app-btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

.app-btn-secondary:hover {
  background: var(--bg-hover);
}

.app-btn-primary {
  background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
  color: white;
}

.app-btn-primary:hover {
  transform: scale(1.02);
}

.app-content {
  display: flex;
  height: 400px;
}

.app-sidebar {
  width: 220px;
  padding: 14px 10px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-default);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.sidebar-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.sidebar-item.active {
  background: var(--accent-subtle);
  color: var(--accent);
}

.sidebar-item.selected-scene {
  background: var(--accent-light);
  color: var(--accent);
}

.sidebar-icon-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sidebar-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  border-radius: 11px;
}

.sidebar-item.active .sidebar-count,
.sidebar-item.selected-scene .sidebar-count {
  background: var(--accent);
  color: white;
}

.sidebar-section {
  padding: 14px 14px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

.sidebar-add {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  border: 1px dashed var(--border-default);
}

.sidebar-add:hover {
  background: var(--bg-hover);
  color: var(--text-secondary);
  border-color: var(--border-strong);
}

.app-main {
  flex: 1;
  display: flex;
}

.app-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
  align-content: start;
}

.video-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.2s ease;
  border: 1px solid var(--border-default);
}

.video-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.video-card.selected {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md), 0 0 20px rgba(99, 91, 255, 0.2);
}

.video-thumbnail {
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, var(--bg-hover) 0%, var(--bg-active) 100%);
  position: relative;
}

.video-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.5'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'/%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'/%3E%3C/svg%3E") center/24px no-repeat;
  opacity: 0.12;
}

.video-scene-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 10px;
  background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  z-index: 1;
}

.video-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 10px;
  font-weight: 600;
  border-radius: 6px;
  z-index: 1;
}

.video-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  z-index: 1;
}

.video-check svg {
  width: 12px;
  height: 12px;
  color: white;
}

.video-info {
  padding: 12px 14px;
}

.video-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-card:hover .video-name {
  color: var(--text-primary);
}

.app-preview {
  width: 220px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-default);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-video {
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, #0f0f14 0%, #1a1a24 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-play-icon {
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}

.preview-video:hover .preview-play-icon {
  color: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}

.preview-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.preview-progress {
  width: 100%;
  height: 4px;
  background: var(--bg-active);
  border-radius: 2px;
  overflow: hidden;
}

.preview-progress-bar {
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
  border-radius: 2px;
}

.preview-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.preview-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.preview-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.preview-btn svg {
  width: 14px;
  height: 14px;
}

.preview-btn.play {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  color: white;
  border-radius: 50%;
}

.preview-btn.play:hover {
  transform: scale(1.05);
}

.preview-btn.play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.preview-info {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-default);
}

.preview-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.preview-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.preview-meta-label {
  color: var(--text-muted);
}

.preview-meta-value {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ========================================
   Features Section
   ======================================== */

.features {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  padding: 36px;
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-subtle) 0%, var(--accent-light) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   Testimonial Section
   ======================================== */

.testimonial {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 60px;
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.quote-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 28px;
}

.testimonial-text {
  font-size: 24px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 36px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  color: white;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
}

.author-info {
  text-align: left;
}

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

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

/* ========================================
   Pricing Section
   ======================================== */

.pricing {
  padding: var(--section-padding) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card-new {
  padding: 40px;
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.pricing-card-new.featured {
  background: linear-gradient(145deg, var(--bg-primary) 0%, var(--accent-subtle) 100%);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: scale(1.02);
}

.pricing-card-new.featured:hover {
  transform: scale(1.02) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.4);
}

.pricing-card-header {
  margin-bottom: 28px;
}

.pricing-tier-name {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.pricing-tier-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-card-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 6px;
}

.price-currency {
  font-size: 24px;
  font-weight: 700;
  margin-top: 10px;
  color: var(--text-secondary);
}

.price-amount {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-cents {
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
}

.price-amount-text {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-term {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

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

.pricing-features-list li strong {
  color: var(--text-primary);
  font-weight: 700;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--gradient-3);
  flex-shrink: 0;
}

.pricing-guarantee-center {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 40px;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  padding: 28px;
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  transition: all 0.2s ease;
}

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

.faq-question {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   Changelog Section
   ======================================== */

.changelog {
  padding: var(--section-padding) 0;
}

.changelog-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.changelog-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: 36px;
  transition: all 0.2s ease;
}

.changelog-item:hover {
  box-shadow: var(--shadow-md);
}

.changelog-version {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-default);
}

.version-number {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.version-date {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.changelog-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.changelog-category {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  width: fit-content;
}

.category-badge.new {
  background: rgba(0, 212, 255, 0.12);
  color: var(--gradient-3);
}

.category-badge.improved {
  background: var(--accent-subtle);
  color: var(--accent);
}

.category-badge.fixed {
  background: rgba(255, 107, 107, 0.12);
  color: var(--error);
}

.changelog-category ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.changelog-category li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}

.changelog-category li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
  padding: var(--section-padding) 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.contact-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-subtle), var(--accent-light));
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.contact-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.contact-card-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.15s ease;
}

.contact-card:hover .contact-card-link {
  color: var(--accent-hover);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-default);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  padding: 80px 0 60px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 100px;
}

.footer-column h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  font-size: 15px;
  color: var(--text-secondary);
  padding: 8px 0;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 28px 0;
  border-top: 1px solid var(--border-default);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========================================
   Responsive Design
   ======================================== */

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

}

@media (max-width: 768px) {
  :root {
    --section-padding: 100px;
  }

  .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

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

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

  .section-title {
    font-size: 36px;
  }

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

  .pricing-card-new.featured {
    order: -1;
    transform: none;
  }

  .pricing-card-new.featured:hover {
    transform: translateY(-8px);
  }

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

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

  .footer-content {
    flex-direction: column;
    gap: 32px;
    padding: 40px 0 32px;
  }

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

  .footer-column h4 {
    margin-bottom: 10px;
  }

  .footer-column a {
    padding: 4px 0;
    font-size: 14px;
  }

  .footer-bottom {
    padding: 16px 0;
  }

  /* App window responsive */
  .app-content {
    flex-direction: column;
    height: auto;
  }

  .app-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-default);
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }

  .sidebar-section {
    width: 100%;
    margin-top: 4px;
    padding: 8px 8px 4px;
  }

  .sidebar-add {
    display: none;
  }

  .app-main {
    flex-direction: column;
  }

  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-preview {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border-default);
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .preview-video {
    width: 140px;
    flex-shrink: 0;
  }

  .preview-info {
    text-align: left;
    border-top: none;
    padding-top: 0;
  }

  .app-header-content {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 30px;
  }

  .price-amount {
    font-size: 48px;
  }

  .testimonial-text {
    font-size: 20px;
  }

  .testimonial-card {
    padding: 36px 24px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .footer-content {
    gap: 24px;
    padding: 32px 0 24px;
  }
}
