@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;900&display=swap');

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: rgba(30, 41, 59, 0.4);
  --border-color: rgba(255, 255, 255, 0.06);
  --primary: #ffb300;
  --primary-glow: rgba(255, 179, 0, 0.15);
  --primary-hover: #ffc43d;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-family: 'Outfit', sans-serif;
  --transition-normal: all 0.3s ease;
  --max-width: 1200px;
}

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

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

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

ul {
  list-style: none;
}

/* Background Gradients */
.bg-gradient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.08) 0%, rgba(255, 179, 0, 0) 70%);
  top: -100px;
  right: -100px;
  z-index: -1;
  pointer-events: none;
}

.bg-gradient-glow-left {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.05) 0%, rgba(255, 179, 0, 0) 70%);
  bottom: 10%;
  left: -200px;
  z-index: -1;
  pointer-events: none;
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 14, 23, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
}

.logo span {
  color: var(--primary);
  text-shadow: 0 0 15px var(--primary-glow);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), #e65100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(255, 179, 0, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Language Switcher Button */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 17px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.lang-btn.active {
  background: var(--primary);
  color: #000;
  box-shadow: 0 2px 6px rgba(255, 179, 0, 0.3);
}

.btn-cta {
  background: linear-gradient(135deg, var(--primary), #ff9800);
  color: #000;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: var(--transition-normal);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 179, 0, 0.4);
  background: linear-gradient(135deg, var(--primary-hover), #ffb300);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 10rem 2rem 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 4rem;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(255, 179, 0, 0.1);
  border: 1px solid rgba(255, 179, 0, 0.2);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, #ff6f00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  background: #1e293b;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  gap: 0.75rem;
  transition: var(--transition-normal);
}

.store-btn:hover {
  background: #334155;
  border-color: rgba(255, 179, 0, 0.3);
  transform: translateY(-2px);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-btn-text span:first-child {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.store-btn-text span:last-child {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Mockup Display */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-wrapper {
  position: relative;
  width: 280px;
  height: 560px;
  border-radius: 40px;
  background: #000;
  border: 8px solid #1e293b;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px var(--primary-glow);
  overflow: hidden;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.mockup-logo {
  font-weight: 800;
  color: var(--primary);
}

.mockup-camera-view {
  flex-grow: 1;
  margin: 1rem 0;
  border-radius: 12px;
  background: #020617;
  border: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.mockup-camera-view::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px solid rgba(255, 179, 0, 0.2);
  border-radius: 8px;
}

.mockup-scan-line {
  position: absolute;
  width: 80%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  top: 10%;
  animation: scan 3s infinite linear;
}

@keyframes scan {
  0% { top: 10%; }
  50% { top: 90%; }
  100% { top: 10%; }
}

.mockup-record-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ef4444;
  border: 4px solid #fff;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 179, 0, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 179, 0, 0.03);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 179, 0, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 179, 0, 0.2);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Call to Action Section */
.cta-section {
  padding: 6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid var(--border-color);
  padding: 4rem 2rem;
  border-radius: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .store-buttons {
  justify-content: center;
}

/* Policy Content Layout (privacy.html and terms.html) */
.policy-page {
  padding: 8rem 2rem 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.policy-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.policy-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.policy-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.policy-content p, .policy-content ul {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.policy-content ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem;
  background: rgba(10, 14, 23, 0.9);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-info {
  max-width: 320px;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.footer-links-grid {
  display: flex;
  gap: 4rem;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 968px) {
  .hero {
    padding-top: 8rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-badge {
    align-self: center;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .store-buttons {
    justify-content: center;
  }

  .footer-links-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide default nav links */
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
  }

  .mobile-toggle {
    display: block;
  }

  .nav-actions {
    margin-left: auto;
    margin-right: 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-links-grid {
    flex-direction: column;
    gap: 2rem;
  }
  
  .policy-card {
    padding: 2rem 1.5rem;
  }
  
  .policy-header h1 {
    font-size: 1.75rem;
  }
}
