/* ==========================================================================
   PRO AUTO CLICKER - MASTER DESIGN SYSTEM & SEO-OPTIMIZED STYLES
   High-Converting, Modern Obsidian & Cyan Clean Tech Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Obsidian Space Palette */
  --bg-main: #060911;
  --bg-card: #0c1322;
  --bg-card-hover: #111a2e;
  --bg-card-border: #18253d;
  --bg-nav: rgba(6, 9, 17, 0.94);

  /* Cyan & Neon Laser Accents */
  --cyan: #00d2ff;
  --cyan-glow: rgba(0, 210, 255, 0.35);
  --cyan-dim: rgba(0, 210, 255, 0.08);

  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);

  --purple: #a855f7;
  --amber: #f59e0b;
  --red: #ef4444;

  /* Typography */
  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Subtle Technical Grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

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

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 70px;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-card-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.brand-text span {
  color: var(--cyan);
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}

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

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

/* Fixed Language Dropdown Popover */
.lang-wrapper {
  position: relative;
}

.lang-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.lang-toggle-btn:hover {
  border-color: var(--cyan);
  color: var(--text-white);
}

.lang-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #09101d;
  border: 1px solid var(--cyan);
  border-radius: 6px;
  padding: 6px;
  min-width: 170px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: none;
  flex-direction: column;
  z-index: 1100;
  max-height: 320px;
  overflow-y: auto;
}

.lang-menu-dropdown.show {
  display: flex;
}

.lang-item {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 12px;
  text-align: left;
  font-size: 13px;
  font-family: var(--font-main);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-item:hover, .lang-item.selected {
  background: var(--cyan-dim);
  color: var(--cyan);
}

/* Store Buttons */
.btn-store-nav {
  background: linear-gradient(180deg, #0078d4 0%, #005a9e 100%);
  border: 1px solid #2893ea;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.35);
  transition: transform 0.15s ease;
}

.btn-store-nav:hover {
  transform: translateY(-1px);
}

/* SEO Hero Section */
.hero-section {
  padding: 48px 0 32px;
  text-align: center;
}

.hero-tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-h1-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--text-white);
  max-width: 860px;
  margin: 0 auto 16px;
}

.hero-h1-title .cyan-gradient {
  background: linear-gradient(135deg, #00d2ff, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

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

.btn-hero-primary {
  background: var(--cyan);
  color: #050b14;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px var(--cyan-glow);
  transition: all 0.15s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  background: #38bdf8;
}

.btn-hero-store {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  color: var(--text-white);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.btn-hero-store:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Dual Interactive Studio Workspace */
.studio-workspace-wrapper {
  margin: 16px 0 60px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}

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

/* Features Section */
.section {
  padding: 80px 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtext {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 10px;
  padding: 28px;
  transition: all 0.2s ease;
}

.feature-box:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 210, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--cyan);
  margin-bottom: 16px;
}

.feature-h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

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

/* Store Callout Banner */
.store-cta-block {
  background: linear-gradient(180deg, #0f1a2e 0%, #080e1a 100%);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 14px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.store-cta-block h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}

.store-cta-block p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 28px;
}

/* Footer */
.main-footer {
  border-top: 1px solid var(--bg-card-border);
  padding: 36px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--cyan);
}

@media (max-width: 768px) {
  .hero-h1-title {
    font-size: 32px;
  }
  .nav-menu {
    display: none;
  }
  .store-cta-block {
    padding: 32px 20px;
  }
}
