/* ==========================================================================
   SOFTGM THEME DESIGN SYSTEM (Persian RTL - Ice Blue & Cosmic Dark Mode)
   ========================================================================== */

/* 1. Reset & Global Box-Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-fa: 'YekanBakh', 'Yekan Bakh FaNum', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Ice Blue & Frosted Cyan Brand Palette (Very Chic Light Blue Leaning to White) */
  --ice-primary: #38bdf8;
  --ice-hover: #0ea5e9;
  --ice-deep: #0284c7;
  --ice-glow: rgba(56, 189, 248, 0.28);
  --ice-glow-soft: rgba(56, 189, 248, 0.12);
  --ice-soft: #e0f2fe;
  --ice-mist: #f0f9ff;
  --ice-white: #f8fafc;
  --ice-cyan: #06b6d4;
  --cyan-accent: #38bdf8;

  /* Backward Compatibility Tokens */
  --emerald-primary: #38bdf8;
  --emerald-hover: #0ea5e9;
  --mint-accent: #38bdf8;
  --emerald-glow: rgba(56, 189, 248, 0.25);

  /* Dark Theme Default Variables (Cosmic Dark / Deep Sapphire) */
  --bg-dark: #050b14;
  --bg-dark-card: rgba(12, 21, 39, 0.82);
  --bg-dark-elevated: #0f1c32;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --border-glass: rgba(56, 189, 248, 0.18);
  --border-hover: rgba(56, 189, 248, 0.55);
  --bg-section-alt: rgba(8, 18, 34, 0.55);

  /* Geometry & Utilities */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 28px rgba(56, 189, 248, 0.22);
  --shadow-luxury: 0 20px 45px -12px rgba(2, 6, 23, 0.75), 0 0 30px rgba(56, 189, 248, 0.12);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 80px;
}

/* ==========================================================================
   2. Light Theme Comprehensive & Chic Overrides (Frosted Ice Blue Aesthetic)
   ========================================================================== */
html[data-theme="light"],
:root[data-theme="light"],
[data-theme="light"] {
  --bg-dark: #f4f9fd;
  --bg-dark-card: rgba(255, 255, 255, 0.94);
  --bg-dark-elevated: #ffffff;
  --text-main: #0c1829 !important;
  --text-muted: #334155 !important;
  --text-dim: #64748b !important;
  --border-glass: rgba(56, 189, 248, 0.24);
  --border-hover: rgba(2, 132, 199, 0.6);
  --shadow-glow: 0 10px 30px rgba(56, 189, 248, 0.18);
  --shadow-luxury: 0 16px 36px -8px rgba(56, 189, 248, 0.14), 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 24px rgba(14, 165, 233, 0.08);
  --cyan-accent: #0284c7 !important;
  --mint-accent: #0284c7 !important;
  --emerald-primary: #0284c7 !important;
  --bg-section-alt: #edf6fe;
}

[data-theme="light"] body {
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.14) 0%, transparent 60%),
              radial-gradient(circle at 85% 30%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
              #f4f9fd !important;
  color: #0c1829 !important;
}

/* Light Theme Header (Initial AND Scrolled — Fixes dark header glitch!) */
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.05) !important;
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1) !important;
}

[data-theme="light"] .brand-text {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .main-nav a {
  color: #1e293b !important;
  font-weight: 700 !important;
}

[data-theme="light"] .main-nav a:hover,
[data-theme="light"] .main-nav .current-menu-item > a {
  color: #0284c7 !important;
  background: rgba(56, 189, 248, 0.12) !important;
}

/* Light Theme Hero */
[data-theme="light"] .hero-title {
  color: #082f49 !important;
}

[data-theme="light"] .hero-title span {
  background: linear-gradient(135deg, #0284c7 10%, #38bdf8 90%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .hero-description {
  color: #334155 !important;
}

[data-theme="light"] .badge-glow,
[data-theme="light"] .section-tag {
  background: #f0f9ff !important;
  color: #0284c7 !important;
  border-color: #bae6fd !important;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.15) !important;
}

[data-theme="light"] .section-title {
  color: #082f49 !important;
}

[data-theme="light"] .section-subtitle {
  color: #475569 !important;
}

/* Light Theme Cards */
[data-theme="light"] .card-glass {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.08) !important;
}

[data-theme="light"] .card-glass:hover {
  border-color: rgba(2, 132, 199, 0.5) !important;
  box-shadow: 0 20px 40px rgba(56, 189, 248, 0.16) !important;
}

[data-theme="light"] .product-title,
[data-theme="light"] .post-title a {
  color: #0c1829 !important;
}

[data-theme="light"] .product-desc,
[data-theme="light"] .post-excerpt {
  color: #475569 !important;
}

[data-theme="light"] .inquiry-box {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.12) !important;
}

[data-theme="light"] .form-control {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .form-control:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

[data-theme="light"] .site-footer {
  background: #edf6fe !important;
  border-top-color: rgba(56, 189, 248, 0.25) !important;
  color: #334155 !important;
}

[data-theme="light"] .footer-col h4 {
  color: #082f49 !important;
}

[data-theme="light"] .footer-col a {
  color: #475569 !important;
}

[data-theme="light"] .footer-col a:hover {
  color: #0284c7 !important;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(56, 189, 248, 0.2) !important;
  color: #64748b !important;
}

/* ==========================================================================
   3. Base Layout & Typography (Default Dark Mode)
   ========================================================================== */
body {
  font-family: var(--font-fa);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(56, 189, 248, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 90% 25%, rgba(14, 165, 233, 0.08) 0%, transparent 45%);
  background-repeat: no-repeat;
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* ==========================================================================
   4. Header & Navigation (Ultra-Luxury Glassmorphism)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(6, 11, 20, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(6, 11, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--border-hover);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
}

.brand-text {
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* Desktop Navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--ice-primary);
  background: rgba(56, 189, 248, 0.1);
}

.main-nav .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2.5px;
  background: var(--ice-primary);
  box-shadow: 0 0 10px var(--ice-primary);
  border-radius: var(--radius-full);
}

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

/* Dark / Light Mode Toggle Button */
.theme-toggle-btn {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--border-hover);
  transform: rotate(20deg);
}

.mobile-menu-toggle {
  display: none;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   5. Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary,
.btn-emerald {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.38);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover,
.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.55);
  color: #ffffff !important;
}

.btn-outline {
  background: rgba(56, 189, 248, 0.06);
  border: 1.5px solid var(--border-glass);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  color: var(--ice-primary);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ice-primary);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
}

.link-arrow:hover {
  gap: 12px;
  color: var(--ice-soft);
}

/* ==========================================================================
   6. Hero Section (State-of-the-Art Aesthetic)
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 175px;
  padding-bottom: 110px;
  text-align: center;
  overflow: hidden;
}

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

.badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-full);
  color: var(--ice-primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.8px;
  margin-bottom: 24px;
  color: var(--text-main);
  text-wrap: balance;
}

.hero-title span {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #e0f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 760px;
  margin: 0 auto 36px auto;
  text-wrap: balance;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-features-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Hero Stats / Trust Strip */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 60px auto 0 auto;
  padding: 24px 30px;
  background: var(--bg-dark-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-luxury);
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--ice-primary);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ==========================================================================
   7. Products & Cards System
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--ice-primary);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--text-main);
  letter-spacing: -0.5px;
  text-wrap: balance;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  text-wrap: balance;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.card-glass {
  background: var(--bg-dark-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  /* Crucial: overflow visible so badges on top don't get sliced! */
  overflow: visible;
}

.card-glass:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-luxury);
}

.product-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice-primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.card-glass:hover .product-icon-wrap {
  background: var(--ice-primary);
  color: #031427;
  transform: scale(1.08);
}

.product-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ice-primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.1);
  margin-bottom: 12px;
}

.product-title {
  font-size: 1.38rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
  line-height: 1.4;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
  margin-top: auto;
}

.product-version {
  font-size: 0.82rem;
  font-family: monospace;
  color: var(--text-dim);
  background: rgba(56, 189, 248, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   8. Dedicated Pricing & License Cards (Super-Clean Layout)
   ========================================================================== */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
  padding-top: 24px;
}

.pricing-card-box {
  background: var(--bg-dark-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  transition: var(--transition);
}

.pricing-card-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-luxury);
  border-color: var(--border-hover);
}

.pricing-card-box.featured {
  border: 2px solid var(--ice-primary) !important;
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.18), 0 0 24px rgba(56, 189, 248, 0.15) !important;
}

[data-theme="light"] .pricing-card-box {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(56, 189, 248, 0.22);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.08);
}

[data-theme="light"] .pricing-card-box.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
  border-color: #0284c7 !important;
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.16), 0 0 0 1px rgba(56, 189, 248, 0.4) !important;
}

.pricing-top-pill {
  position: absolute;
  top: -15px;
  right: 28px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pricing-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.pricing-card-price {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--ice-primary);
  line-height: 1.2;
  margin: 12px 0;
}

[data-theme="light"] .pricing-card-price {
  color: #0284c7 !important;
}

.pricing-card-price span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-card-cta {
  margin-top: auto;
  padding-top: 24px;
}

/* ==========================================================================
   9. Comparison Grid (Pro vs Con)
   ========================================================================== */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
}

.compare-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.compare-card:hover {
  transform: translateY(-5px);
}

.compare-card-con {
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  background: var(--bg-dark-card);
}

.compare-card-pro {
  border: 2px solid var(--ice-primary);
  background: var(--bg-dark-card);
  box-shadow: var(--shadow-luxury);
}

.compare-con-icon, .compare-pro-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.compare-con-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #f87171;
  margin-bottom: 16px;
}

.compare-pro-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ice-primary);
  margin-bottom: 16px;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.compare-con-list { color: var(--text-muted); }
.compare-pro-list { color: var(--text-main); font-weight: 600; }

[data-theme="light"] .compare-card-con {
  background: #ffffff !important;
  border: 1.5px solid rgba(220, 38, 38, 0.35) !important;
}

[data-theme="light"] .compare-card-pro {
  background: #ffffff !important;
  border: 2px solid #0284c7 !important;
}

[data-theme="light"] .compare-con-title { color: #b91c1c !important; }
[data-theme="light"] .compare-pro-title { color: #0284c7 !important; }
[data-theme="light"] .compare-con-list { color: #475569 !important; }
[data-theme="light"] .compare-pro-list { color: #0c1829 !important; }

/* ==========================================================================
   10. Interactive Sandbox & Calculator
   ========================================================================== */
.sandbox-card {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-luxury);
}

.karaoke-text-box {
  background: rgba(5, 11, 20, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--text-main);
}

[data-theme="light"] .karaoke-text-box {
  background: #ffffff !important;
  border: 1.5px solid rgba(56, 189, 248, 0.25) !important;
  color: #0f172a !important;
}

/* Calculator Result Boxes */
.calc-box-softgm,
.calc-box-studio,
.calc-box-gift {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  min-height: 145px;
  transition: var(--transition);
}

.calc-box-softgm:hover,
.calc-box-studio:hover,
.calc-box-gift:hover {
  transform: translateY(-3px);
}

.calc-box-softgm {
  background: rgba(56, 189, 248, 0.08);
  border: 1.5px solid var(--ice-primary);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.12);
}

.calc-box-studio {
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid rgba(239, 68, 68, 0.35);
}

.calc-box-gift {
  background: rgba(56, 189, 248, 0.06);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
}

.calc-box-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.calc-val-softgm {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--ice-primary);
}

.calc-val-studio {
  font-size: 1.9rem;
  font-weight: 900;
  color: #f87171;
}

.calc-val-gift {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--ice-primary);
}

.calc-box-badge {
  font-size: 0.82rem;
  margin-top: 8px;
  display: block;
  font-weight: 700;
}

.calc-badge-softgm { color: var(--ice-primary); }
.calc-badge-studio { color: #f87171; }
.calc-badge-gift { color: var(--ice-primary); }

[data-theme="light"] .calc-box-softgm {
  background: #f0f9ff !important;
  border-color: #0284c7 !important;
}

[data-theme="light"] .calc-box-studio {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
}

[data-theme="light"] .calc-box-gift {
  background: #f0f9ff !important;
  border-color: #0ea5e9 !important;
}

[data-theme="light"] .calc-val-softgm { color: #0284c7 !important; }
[data-theme="light"] .calc-val-studio { color: #dc2626 !important; }
[data-theme="light"] .calc-val-gift { color: #0284c7 !important; }
[data-theme="light"] .calc-badge-softgm { color: #0284c7 !important; }
[data-theme="light"] .calc-badge-studio { color: #dc2626 !important; }
[data-theme="light"] .calc-badge-gift { color: #0284c7 !important; }

/* Pricing Table */
.tts-pricing-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.tts-pricing-matrix-table th {
  background: rgba(56, 189, 248, 0.1);
  color: var(--ice-primary);
  padding: 14px 18px;
  text-align: right;
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-glass);
}

.tts-pricing-matrix-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 0.92rem;
  vertical-align: middle;
}

.tts-pricing-matrix-table tr:last-child td {
  border-bottom: none;
}

.tts-pricing-matrix-table tr:hover td {
  background: rgba(56, 189, 248, 0.05);
}

[data-theme="light"] .tts-pricing-matrix-table th {
  background: #f0f9ff !important;
  color: #0284c7 !important;
  border-bottom-color: rgba(56, 189, 248, 0.25) !important;
}

[data-theme="light"] .tts-pricing-matrix-table td {
  color: #0c1829 !important;
  border-bottom-color: rgba(56, 189, 248, 0.2) !important;
}

[data-theme="light"] .tts-pricing-matrix-table tr:hover td {
  background: #edf7fe !important;
}

.tts-table-engine-name { font-weight: 800; font-size: 1rem; color: var(--text-main); }
.tts-table-engine-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }
.tts-table-price-1k { font-size: 1.15rem; font-weight: 900; color: var(--ice-primary); }
.tts-table-cost-post { font-size: 1.05rem; font-weight: 800; color: var(--ice-primary); }
.tts-table-badge { font-size: 0.82rem; font-weight: 700; color: var(--ice-primary); }

[data-theme="light"] .tts-table-engine-name { color: #0c1829 !important; }
[data-theme="light"] .tts-table-price-1k { color: #0284c7 !important; }
[data-theme="light"] .tts-table-cost-post { color: #0284c7 !important; }
[data-theme="light"] .tts-table-badge { color: #0284c7 !important; }

/* Real Estate App Landing Window */
.re-mockup-window {
  background: #050b14;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
}

.re-window-bar {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-glass);
}

.re-dot { width: 12px; height: 12px; border-radius: 50%; }
.re-dot-red { background: #ef4444; }
.re-dot-yellow { background: #f59e0b; }
.re-dot-green { background: #10b981; }

[data-theme="light"] .re-mockup-window {
  background: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}

[data-theme="light"] .re-window-bar {
  background: #f1f5f9 !important;
  border-bottom-color: rgba(56, 189, 248, 0.2) !important;
}

/* ==========================================================================
   11. Inquiry & Form Controls
   ========================================================================== */
.inquiry-box {
  background: var(--bg-dark-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  box-shadow: var(--shadow-luxury);
}

.inquiry-info h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.3;
}

.inquiry-info p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.features-list li svg {
  color: var(--ice-primary);
  flex-shrink: 0;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  background: rgba(5, 11, 20, 0.6);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--ice-primary);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
  background: rgba(5, 11, 20, 0.85);
}

/* ==========================================================================
   12. Blog Section
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--bg-dark-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-luxury);
}

.post-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-meta {
  font-size: 0.82rem;
  color: var(--ice-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-title {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.45;
}

.post-title a:hover {
  color: var(--ice-primary);
}

.post-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ==========================================================================
   13. Mega Footer (Trust, Enamad, Legal, Navigation)
   ========================================================================== */
.site-footer {
  background: #03070e;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 35px 0;
  margin-top: 80px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-brand {
  grid-column: span 1.3;
}

.footer-col h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2.5px;
  background: var(--ice-primary);
  border-radius: var(--radius-full);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--ice-primary);
  padding-right: 4px;
}

.enamad-trust-box {
  background: rgba(56, 189, 248, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.enamad-badge-wrapper {
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.enamad-badge-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ==========================================================================
   14. Mobile Slide-over Drawer
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 14, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--bg-dark-card);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-glass);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer-overlay.active .mobile-drawer-content {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 20px;
}

.drawer-close-btn {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu .current-menu-item > a {
  background: rgba(56, 189, 248, 0.12);
  color: var(--ice-primary);
}

.drawer-quick-card {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.88rem;
}

.drawer-theme-btn {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-glass);
  color: var(--ice-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
  font-weight: 700;
}

/* ==========================================================================
   15. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .inquiry-box {
    grid-template-columns: 1fr;
    padding: 36px;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-description {
    font-size: 1.02rem;
  }
  .header-actions .header-cta-btn {
    display: none;
  }
  .products-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .inquiry-box {
    padding: 24px;
  }
}
