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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.5px;
}

h3 {
  font-size: 20px;
}

p {
  color: #555;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: #1a73e8;
  color: #fff;
}

.btn-primary:hover {
  background: #1557b0;
}

.btn-outline {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #ddd;
}

.btn-outline:hover {
  border-color: #1a1a1a;
}

.btn-nav {
  padding: 10px 20px;
  background: #1a1a1a;
  color: #fff;
}

.btn-nav:hover {
  background: #333;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #1a73e8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: #555;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a.btn-primary {
  color: #fff;
}

.nav-links a:hover {
  color: #1a1a1a;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 999;
}

.mobile-menu a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 0;
}

.mobile-menu.active {
  display: flex;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 20px;
  color: #1a1a1a;
}

.hero-content > p {
  font-size: 18px;
  color: #555;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}

.stat-label {
  font-size: 14px;
  color: #888;
}

/* Phone Mockup */
.hero-image {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  border-radius: 32px;
  overflow: hidden;
}

.screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.app-header {
  background: #1a73e8;
  padding: 48px 20px 20px;
}

.app-title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.app-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card {
  background: #fff;
  border-radius: 12px;
  height: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.app-card.small {
  height: 60px;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: #fafafa;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
  color: #1a1a1a;
}

.section-header p {
  font-size: 17px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #eee;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: #e8f0fe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #1a73e8;
}

.feature-card h3 {
  margin-bottom: 12px;
  color: #1a1a1a;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.7;
}

/* How it Works */
.how-it-works {
  padding: 100px 0;
}

.steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  background: #1a73e8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 8px;
  color: #1a1a1a;
}

.step-content p {
  font-size: 16px;
}

/* For Organizations */
.for-orgs {
  padding: 80px 0;
  background: #fff;
}

.orgs-content {
  max-width: 600px;
}

.orgs-content h2 {
  color: #1a1a1a;
  margin-bottom: 16px;
}

.orgs-content > p {
  color: #555;
  font-size: 17px;
  margin-bottom: 24px;
}

.orgs-benefits {
  list-style: none;
  margin-bottom: 32px;
}

.orgs-benefits li {
  color: #555;
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 15px;
}

.orgs-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1a73e8;
  font-weight: 600;
}

.orgs-note {
  margin-top: 12px;
  font-size: 14px;
  color: #888;
}

/* About Section */
.about {
  padding: 100px 0;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  margin-bottom: 32px;
  color: #1a1a1a;
}

.about-content p {
  font-size: 17px;
  margin-bottom: 20px;
}

/* Download Section */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
}

.download-content {
  text-align: center;
}

.download-content h2 {
  color: #fff;
  margin-bottom: 16px;
}

.download-content > p {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s;
}

.store-btn:hover {
  transform: scale(1.02);
}

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-text {
  text-align: left;
}

.store-text span {
  font-size: 11px;
  opacity: 0.8;
  display: block;
}

.store-text strong {
  font-size: 16px;
}

/* Footer */
.footer {
  background: #fafafa;
  padding: 60px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: #888;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #1a73e8;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content > p {
    margin: 0 auto 32px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 40px;
  }
  
  .phone-mockup {
    width: 200px;
    height: 400px;
  }
  
  .phone-screen {
    border-radius: 24px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-content > p {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .stat {
    align-items: center;
  }
  
  .features {
    padding: 60px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 24px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .how-it-works {
    padding: 60px 0;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .steps {
    gap: 32px;
  }
  
  .for-orgs {
    padding: 60px 0;
  }
  
  .orgs-content {
    text-align: center;
  }
  
  .orgs-benefits {
    text-align: left;
    display: inline-block;
  }
  
  .about {
    padding: 60px 0;
  }
  
  .about-content p {
    font-size: 16px;
  }
  
  .download {
    padding: 60px 0;
  }
  
  .download-content h2 {
    font-size: 24px;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .store-btn {
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-brand .logo {
    justify-content: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }
  
  .footer-col {
    min-width: 120px;
  }
}

/* Extra small devices */
@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .stat-number {
    font-size: 24px;
  }
}

/* Page styles for privacy/terms */
.page-header {
  padding: 140px 0 60px;
  background: #fafafa;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 40px);
}

.page-header p {
  margin-top: 12px;
  color: #888;
}

.page-content {
  padding: 60px 0 100px;
}

.page-content .container {
  max-width: 800px;
}

.page-content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.page-content h3 {
  font-size: 18px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.page-content p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.page-content ul, .page-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 8px;
  color: #555;
  line-height: 1.7;
}

.page-content a {
  color: #1a73e8;
}

/* Action Page (email buttons) */
.action-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #f5f5f5;
}

.action-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  max-width: 480px;
  width: 100%;
  padding: 48px 40px;
  text-align: center;
}

.action-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
}

.action-icon.success { background: #e8f5e9; }
.action-icon.error { background: #ffebee; }
.action-icon.pending { background: #e3f2fd; }

.action-card h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.action-card > p {
  margin-bottom: 24px;
}

.message-input {
  text-align: left;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.message-input label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #888;
  margin-bottom: 8px;
}

.message-input textarea {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
}

.message-input textarea:focus {
  outline: none;
  border-color: #1a73e8;
}

.action-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-success {
  background: #1e8e3e;
  color: #fff;
}

.btn-success:hover {
  background: #167c34;
}

.btn-danger {
  background: #d93025;
  color: #fff;
}

.btn-danger:hover {
  background: #b92d23;
}

.btn-secondary {
  background: #fff;
  color: #666;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background: #f5f5f5;
}

.action-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.action-footer p {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 8px;
}
