:root {
  --primary: #4285F4;
  --primary-hover: #3367D6;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --text-main: #202124;
  --text-mute: #5f6368;
  --border: #e8eaed;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 32px rgba(66, 133, 244, 0.08);
  --nav-height: 72px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--text-mute);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}

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

.btn {
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* HERO SECTION */
header.hero {
  padding: calc(var(--nav-height) + 60px) 5% 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #202124 0%, #5f6368 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-mute);
  max-width: 600px;
  margin: 0 0 40px 0;
}

.hero-media {
  flex: 0 0 300px;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 100%;
  max-width: 300px;
  border-radius: 40px;
  background: white;
  border: 10px solid #202124;
  box-shadow: 0 24px 60px rgba(66, 133, 244, 0.15);
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/19.5;
  transform: translateY(-8px);
}

.phone-mockup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(66, 133, 244, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: #2b6ad4;
}

.play-overlay svg {
  transform: translateX(2px);
}

/* CARDS GRID */
section.features {
  padding: 40px 5%;
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: var(--nav-height);
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
}

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

.card {
  background: var(--card-bg);
  padding: 40px 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(66, 133, 244, 0.2);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: #e8f0fe;
  color: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 24px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.card p {
  color: var(--text-mute);
  font-size: 15px;
}

/* HOW TO USE LIST */
.how-to-section {
  padding: 40px 5% 60px;
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: var(--nav-height);
}

.how-to-content {
  max-width: 800px;
  margin: 0 auto;
}

.how-to-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 24px auto;
}

.step-text h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--text-main);
}

.step-text p {
  color: var(--text-mute);
  font-size: 15px;
}

/* LEGAL PAGES */
.legal-container {
  max-width: 800px;
  margin: calc(var(--nav-height) + 60px) auto 80px;
  padding: 40px;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.legal-container h1 {
  font-size: 32px;
  margin-bottom: 24px;
}

.legal-container h2 {
  font-size: 20px;
  margin: 32px 0 16px;
  color: var(--primary);
}

.legal-container p, .legal-container li {
  margin-bottom: 16px;
  color: var(--text-mute);
}

.legal-container ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

/* FOOTER */
footer {
  background: white;
  padding: 60px 5% 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--text-mute);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-col p {
  color: var(--text-mute);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 13px;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* MODAL POPUP */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-box {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.modal-input:focus {
  border-color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .legal-container { padding: 24px; margin: calc(var(--nav-height) + 40px) 5% 60px; }
  header.hero {
    flex-direction: column;
    text-align: center;
    padding: calc(var(--nav-height) + 40px) 5% 20px;
    gap: 40px;
  }
  section.features {
    padding: 20px 5%;
  }
  .how-to-section {
    padding: 20px 5% 40px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 40px;
  }
}
