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

:root {
  --primary: #2ECC71;
  --primary-dark: #27AE60;
  --primary-light: #E8F8F5;
  --secondary: #2C3E50;
  --accent: #F1C40F;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--secondary);
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Header & Nav */
header {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

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

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

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

/* Base Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Utility layout */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 100%);
  padding: 6rem 2rem;
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
}

.hero .container {
  padding: 0;
}

.hero-content {
  animation: fadeUp 0.8s ease-out;
}

.hero-tagline {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  max-width: 500px;
}

.privacy-notice {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  background: var(--surface);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: inline-block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background-color: var(--secondary);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
  background-color: #1a252f; /* slightly darker secondary */
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-visual img {
  max-width: 100%;
  height: auto;
  transform: scale(1.05);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Features List */
.features-section {
  padding: 6rem 2rem;
  background-color: var(--surface);
}

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

.features-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  min-height: 200px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  background: var(--primary-light);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: var(--surface);
  width: 64px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Privacy Page Typesetting */
.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  padding: 4rem 5rem;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.policy-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.policy-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.policy-content section {
  margin-bottom: 2.5rem;
}

.policy-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.policy-content p {
  margin-bottom: 1rem;
  color: var(--text-main);
}

.policy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

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

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
}

.policy-content th, .policy-content td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.policy-content th {
  background-color: var(--primary-light);
  color: var(--secondary);
  font-weight: 600;
}

.policy-content tr:last-child td {
  border-bottom: none;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.footer-logo img {
  height: 32px;
  filter: brightness(0) invert(1);
}

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

.footer-links a {
  color: #A0AEC0;
}

.footer-links a:hover {
  color: white;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-links {
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .logo img {
    height: 28px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero {
    text-align: center;
    padding: 3rem 1.25rem;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-desc {
    margin: 0 auto 2rem;
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
  
  .blob {
    width: 300px;
    height: 300px;
  }

  .features-section {
    padding: 4rem 1.25rem;
  }

  .features-header {
    margin-bottom: 2.5rem;
  }

  .features-header h2 {
    font-size: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
    min-height: auto;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    line-height: 56px;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .policy-container {
    padding: 2rem 1.25rem;
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
    margin-top: 0;
    margin-bottom: 2rem;
  }

  .policy-header h1 {
    font-size: 2rem;
  }

  .policy-content th, .policy-content td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }
}
