:root {
  --bg: #070913;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.4);
  --card-bg: rgba(15, 23, 42, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);
  --container: 1200px;
  --radius: 16px;
  --font-title: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: #f8fafc;
  font-family: var(--font-body);
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
}

/* Ambient glow background container and orbs */
.bg-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}
.glow-1 {
  width: clamp(200px, 35vw, 400px);
  height: clamp(200px, 35vw, 400px);
  background: radial-gradient(circle, #3b82f6 0%, #8b5cf6 100%);
  top: 5%;
  left: 10%;
}
.glow-2 {
  width: clamp(250px, 45vw, 500px);
  height: clamp(250px, 45vw, 500px);
  background: radial-gradient(circle, #ec4899 0%, #8b5cf6 100%);
  top: 40%;
  right: 5%;
}

.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 60px) clamp(16px, 4vw, 24px);
  box-sizing: border-box;
}

/* Header Topbar Navigation */
.topbar {
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  width: 100%;
}
.brand {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}
.brand-bolt {
  color: #eab308;
  filter: drop-shadow(0 0 6px rgba(234, 179, 8, 0.4));
}
.accent-text {
  color: var(--accent);
}
.links {
  display: flex;
  gap: clamp(12px, 3vw, 24px);
  flex-wrap: wrap;
  max-width: 100%;
}
.links a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}
.links a:hover, .links a.active {
  color: #fff;
}
.links a.active {
  position: relative;
}
.links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
  box-shadow: 0 0 8px var(--accent);
}
.right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 100%;
}
.credits {
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 99px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.credits.box {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}
.credits .credit-num {
  font-family: var(--font-title);
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 700;
}
.login {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}
.login:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Glass Card Definition */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}
.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(30px, 6vw + 1rem, 56px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: clamp(12px, 3vw, 20px);
  letter-spacing: -1.5px;
  max-width: 100%;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  color: var(--muted);
  max-width: 680px;
  width: 100%;
  margin: 0 auto clamp(20px, 4vw, 36px);
  font-size: clamp(14px, 2vw + 0.5rem, 17px);
  line-height: 1.6;
}

/* Search Bar Wrapper */
.search-wrapper {
  max-width: 720px;
  width: 100%;
  margin: 0 auto clamp(20px, 4vw, 28px);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}
.search {
  display: flex;
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: 99px;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  align-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.input-container {
  display: flex;
  flex: 1;
  position: relative;
  align-items: center;
  padding-right: 12px;
}
.search input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 20px;
  color: #fff;
  font-size: 16px;
  font-family: var(--font-body);
}
.search input:focus {
  outline: none;
}
.search input::placeholder {
  color: #64748b;
}

/* Input clear button */
.clear-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  opacity: 0;
  visibility: hidden;
}
.clear-btn.visible {
  opacity: 0.7;
  visibility: visible;
}
.clear-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

.search button[type="submit"] {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  border: 0;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 700;
  font-family: var(--font-title);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.search button[type="submit"]:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}
.search button[type="submit"]:active {
  transform: scale(0.98);
}
.search button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Platforms interactive row */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 2vw, 16px);
  margin-top: clamp(24px, 4vw, 36px);
  max-width: 100%;
  width: 100%;
}
.plat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 18px;
  border-radius: 99px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #94a3b8;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.plat-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.plat:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Individual Brand Glow States (Active via detected platform) */
.plat[data-platform="youtube"].active {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}
.plat[data-platform="tiktok"].active {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 242, 254, 0.5);
  color: #a5f3fc;
  box-shadow: -2px 0 10px rgba(0, 242, 254, 0.3), 2px 0 10px rgba(254, 9, 121, 0.3);
}
.plat[data-platform="instagram"].active {
  background: linear-gradient(45deg, rgba(251, 113, 133, 0.1), rgba(168, 85, 247, 0.1));
  border-color: rgba(168, 85, 247, 0.5);
  color: #f5d0fe;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}
.plat[data-platform="facebook"].active {
  background: rgba(24, 119, 242, 0.15);
  border-color: rgba(24, 119, 242, 0.5);
  color: #93c5fd;
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.3);
}
.plat[data-platform="twitter"].active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}
.plat[data-platform="pinterest"].active {
  background: rgba(189, 8, 28, 0.15);
  border-color: rgba(189, 8, 28, 0.5);
  color: #fca5a5;
  box-shadow: 0 0 15px rgba(189, 8, 28, 0.3);
}

/* Faded status when some other platform is active */
.platforms.has-active .plat:not(.active) {
  opacity: 0.4;
  filter: grayscale(80%);
}

/* Info Details Card */
.info-card {
  margin: 32px auto 0;
  max-width: 720px;
  width: 100%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(16px, 4vw, 24px);
  border-radius: 20px;
  display: flex;
  gap: clamp(16px, 4vw, 24px);
  align-items: center;
  text-align: left;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.info-card img {
  width: 180px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.info-meta {
  flex: 1;
}
.info-meta h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.info-meta .uploader {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Dropdown Container */
.formats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.format-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f172a;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.format-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.download-row {
  margin-top: 18px;
}
.download-btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-family: var(--font-title);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.download-btn:hover:not(:disabled) {
  background: #2563eb;
  transform: translateY(-1px);
}
.download-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Dynamic Fake Progress Bar Panel */
.progress-card-wrapper {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 8px;
  font-weight: 600;
}
.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 99px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Sections Global Styling */
section h2 {
  font-family: var(--font-title);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
  text-align: center;
  margin-bottom: clamp(24px, 5vw, 40px);
  letter-spacing: -0.8px;
}
.grid {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  width: 100%;
}
.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

/* How to Download Steps styling */
.step-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.step-num {
  font-family: var(--font-title);
  font-size: clamp(36px, 6vw, 54px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.step-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}
.step-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Premium / Pricing Cards section */
.pricing {
  position: relative;
}
.price-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.03) 60%), rgba(15, 23, 42, 0.85);
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.price-card.featured:hover {
  transform: translateY(-12px);
  border-color: rgba(96, 165, 250, 0.6);
}
.popular-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 99px;
  color: #fff;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}
.tier {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 12px;
}
.price-card.featured .tier {
  color: #60a5fa;
}
.price {
  font-family: var(--font-title);
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 16px;
}
.currency {
  font-size: 24px;
  vertical-align: super;
}
.period {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.features-list li {
  font-size: 14px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.features-list li span {
  font-weight: bold;
}
.features-list li:not(.disabled) span {
  color: #10b981;
}
.features-list li.disabled {
  color: #475569;
}
.features-list li.disabled span {
  color: #ef4444;
}
.price-btn {
  margin-top: auto;
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-family: var(--font-title);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 0;
}
.price-btn.primary {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}
.price-btn.primary:hover {
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}
.price-btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}
.price-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Why Choose Us features list */
.feature-box {
  padding: 36px 28px;
  text-align: center;
}
.icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}
.feature-box h3 {
  font-family: var(--font-title);
  font-size: 19px;
  color: #fff;
  margin-bottom: 10px;
}
.feature-box p {
  color: var(--muted);
  font-size: 14px;
}

/* FAQ Accordion Styling */
.accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border-radius: 12px;
  overflow: hidden;
}
.faq-item .q {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: transparent;
  border: 0;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-title);
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-item .chev {
  color: var(--accent);
  font-size: 18px;
  font-weight: 400;
}
.faq-item .a {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 14px;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

/* Footer Section */
.sitefoot {
  background: rgba(5, 7, 15, 0.95);
  border-top: 1px solid var(--card-border);
  padding: 48px 0;
  margin-top: 80px;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.brand-block .tagline {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.brand-block .copyright {
  font-size: 12px;
  color: #475569;
  margin-top: 8px;
}
.foot-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.foot-links a:hover {
  color: #fff;
}

/* Modal Overlay base (Universal Dialog / Auth Modal) */
.auth-modal, .modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-inner, .modal-card {
  width: 100%;
  max-width: min(440px, 95vw);
  padding: clamp(20px, 6vw, 36px);
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-color: rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}
@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.auth-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.auth-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.auth-forms {
  display: flex;
  flex-direction: column;
}
.auth-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-box h3 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.auth-box .muted {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.auth-box .muted.center {
  text-align: center;
}
.auth-box .muted a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.auth-box input {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.auth-box input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}
.submit-btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--font-title);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}
.submit-btn:hover {
  background: #2563eb;
}

/* User profile detailed status inside modal */
.profile-details-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.profile-row .label {
  color: var(--muted);
  font-weight: 500;
}
.profile-row .value {
  color: #fff;
  font-weight: 700;
}
.logout-btn {
  background: transparent;
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.logout-btn:hover {
  background: rgba(248, 113, 113, 0.08);
  border-color: #f87171;
}

/* Custom error/premium popup structure */
.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.modal-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.modal-card h3 {
  font-family: var(--font-title);
  font-size: 22px;
  color: #fff;
  font-weight: 700;
  margin: 0;
}
.modal-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.modal-body p {
  margin-bottom: 12px;
}
.modal-body p:last-child {
  margin-bottom: 0;
}
.modal-body ul {
  padding-left: 20px;
  margin: 10px 0;
  color: var(--muted);
}
.modal-body li {
  margin-bottom: 6px;
}

/* Premium Modal Themes */
.modal-card.danger {
  border-color: rgba(239, 68, 68, 0.25);
  background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.12) 0%, rgba(15, 23, 42, 0.95) 75%), rgba(15, 23, 42, 0.85);
  box-shadow: 0 24px 60px rgba(239, 68, 68, 0.15);
}
.modal-card.danger .modal-icon {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #f87171;
}

.modal-card.warning {
  border-color: rgba(245, 158, 11, 0.25);
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.12) 0%, rgba(15, 23, 42, 0.95) 75%), rgba(15, 23, 42, 0.85);
  box-shadow: 0 24px 60px rgba(245, 158, 11, 0.15);
}
.modal-card.warning .modal-icon {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}

.modal-card.premium {
  border-color: rgba(234, 179, 8, 0.35);
  background: radial-gradient(circle at top left, rgba(234, 179, 8, 0.15) 0%, rgba(15, 23, 42, 0.95) 75%), rgba(15, 23, 42, 0.85);
  box-shadow: 0 24px 60px rgba(234, 179, 8, 0.2);
}
.modal-card.premium .modal-icon {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.3);
  color: #facc15;
}

.modal-card.info {
  border-color: rgba(59, 130, 246, 0.25);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.12) 0%, rgba(15, 23, 42, 0.95) 75%), rgba(15, 23, 42, 0.85);
  box-shadow: 0 24px 60px rgba(59, 130, 246, 0.15);
}
.modal-card.info .modal-icon {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
  color: #60a5fa;
}

/* Monospace Accordion for Technical Error Info */
.tech-details-accordion {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}
.tech-details-accordion summary {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  outline: none;
  user-select: none;
  transition: color 0.2s;
}
.tech-details-accordion summary:hover {
  color: #fff;
}
.tech-details-accordion pre {
  margin-top: 8px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  max-height: 150px;
}
.tech-details-accordion pre code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  color: #f87171;
  white-space: pre-wrap;
  word-break: break-all;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.modal-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--font-title);
  font-size: 14px;
  cursor: pointer;
  border: 0;
  transition: all 0.2s;
}
.modal-btn.primary {
  background: var(--accent);
  color: #fff;
}
.modal-btn.primary:hover {
  background: #2563eb;
}
.modal-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}
.modal-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hidden {
  display: none !important;
}

/* Spinner (still useful inside small contexts) */
.spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast notifications */
.toast-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  min-width: 280px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s, transform 0.3s;
}
@keyframes slideIn {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.toast.info {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(30, 41, 59, 0.95);
}
.toast.error {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(30, 41, 59, 0.95);
  color: #fecaca;
}
.toast.success {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(30, 41, 59, 0.95);
  color: #d1fae5;
}

/* --- COMPREHENSIVE RESPONSIVE DESIGN SYSTEM --- */

/* Small Laptop / Desktop break (1024px) */
@media (max-width: 1024px) {
  .price-card.featured {
    transform: none;
  }
  .price-card.featured:hover {
    transform: translateY(-4px);
  }
}

/* Tablet viewports (768px) */
@media (max-width: 768px) {
  /* Flex wrap Topbar Nav */
  .topbar .nav {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }
  .links {
    gap: 16px;
  }
  .right {
    margin: 0 auto;
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .grid.three {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  
  /* Stack info card vertically */
  .info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }
  .info-card img {
    width: 100%;
    max-width: 280px;
  }
  .info-meta {
    width: 100%;
  }
  .info-meta h3 {
    font-size: 16px;
  }
  
  /* Flex wraps for footer links */
  .foot-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .brand-block .copyright {
    margin-top: 12px;
  }
  .foot-links {
    justify-content: center;
    width: 100%;
  }
}

/* Pocket phones / Medium mobile (480px) */
@media (max-width: 480px) {
  /* Convert search form to vertical layout to prevent button squishing */
  .search-wrapper {
    width: 100%;
  }
  .search {
    flex-direction: column;
    border-radius: 16px;
    padding: 8px;
    gap: 8px;
    width: 100%;
  }
  .input-container {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 4px;
    padding-right: 0;
  }
  .search input {
    padding: 10px 12px;
    font-size: 15px;
    text-align: center;
    width: 100%;
  }
  .search button[type="submit"] {
    width: 100%;
    border-radius: 99px;
    padding: 12px;
    font-size: 15px;
  }
  .clear-btn {
    right: 8px;
  }
  
  /* Platform wraps spacing */
  .plat {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  /* Pricing modules scale down details */
  .price-card {
    padding: 32px 20px;
  }
  
  /* Modals sizing and padding overlays */
  .auth-inner, .modal-card {
    padding: 28px 20px;
    max-width: 95vw;
    width: 100%;
  }
  .auth-box h3, .modal-card h3 {
    font-size: 20px;
  }
}

/* Auth Error messages and validation outlines */
.auth-error-msg {
  color: #ef4444;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  margin-top: -8px;
  padding: 0 4px;
}
.auth-box input.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.3) !important;
  background: rgba(239, 68, 68, 0.03) !important;
}
