/* Esoptro Landing Page — Midnight Indigo Theme */

:root {
  --bg: #0A0F1E;
  --bg-elevated: #111827;
  --bg-card: #1A2440;
  --primary: #7B9EFF;
  --primary-dark: #4A6BBF;
  --secondary: #A78BFA;
  --text: #E8ECF4;
  --text-secondary: #8B95AD;
  --text-tertiary: #5A6B7F;
  --border: #1E2A4A;
  --success: #4ADE80;
  --warning: #FBBF24;
  --error: #F87171;
  --radius: 16px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

.lang-btn:hover { border-color: var(--primary); }

.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.4rem 0;
  min-width: 150px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.lang-dropdown:hover .lang-menu { display: block; }

.lang-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary) !important;
  text-decoration: none;
}

.lang-menu a:hover {
  background: var(--bg-elevated);
  color: var(--text) !important;
}

.btn-nav {
  background: var(--primary) !important;
  color: var(--bg) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 600 !important;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 8rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content { flex: 1; max-width: 520px; }

.hero-label {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--bg);
  padding: 0.8rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.8rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.btn-secondary:hover { border-color: var(--primary); }

/* Phone Mockup */
.hero-visual { flex-shrink: 0; }

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--bg-elevated);
  border-radius: 36px;
  border: 2px solid var(--border);
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  width: 100%;
}

.phone-status {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.phone-prompt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 0.5rem;
}

.phone-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 40px rgba(123, 158, 255, 0.3);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(123, 158, 255, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 60px rgba(123, 158, 255, 0.5); }
}

.phone-hint {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 1px;
}

/* ===== SECTIONS ===== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  letter-spacing: -0.3px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ===== FEATURES ===== */
.features {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.feature-card:hover { border-color: var(--primary); }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.steps {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== SAFETY ===== */
.safety {
  padding: 4rem 2rem;
  margin: 2rem auto;
  max-width: 800px;
}

.safety-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border);
  text-align: center;
}

.safety-content h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.safety-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.safety-badges {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  background: var(--bg-elevated);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
}

.badge-red { border-color: var(--error); }

/* ===== PRICING ===== */
.pricing {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card li {
  padding: 0.4rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pricing-card li::before {
  content: "✓ ";
  color: var(--primary);
}

.pricing-card-premium {
  border-color: var(--primary);
  position: relative;
}

.premium-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--bg);
  padding: 0.2rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price-yearly {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

/* ===== DOWNLOAD ===== */
.download {
  padding: 6rem 2rem;
  text-align: center;
}

.download-content {
  max-width: 500px;
  margin: 0 auto;
}

.download-content h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.download-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.btn-download {
  display: inline-block;
  background: var(--primary);
  color: var(--bg);
  padding: 1rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: opacity 0.2s;
}

.btn-download:hover { opacity: 0.9; }

.download-note {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 0.8rem;
  font-weight: 400;
  margin-left: 1rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
  margin: 2rem 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 6rem;
    gap: 2rem;
  }

  .hero h1 { font-size: 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .pricing-cards { grid-template-columns: 1fr; }
  .nav-links a:not(.btn-nav) { display: none; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .safety-badges { flex-direction: column; align-items: center; }
}
