:root {
  --primary: #00B0FF;
  --primary-light: #ffffff;
  --secondary: #3B3A65;
  --background: #f0ebe3;
  --surface: #fbf9f8;
  --surface-variant: #f6eee8;
  --text-primary: #000000;
  --text-secondary: #3C3C4399;
  --text-tertiary: #3C3C434D;
  --white: #FFFFFF;
  --ai-suggestions: #F4EAE0;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Navbar */
nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(240, 235, 227, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-cta {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 176, 255, 0.3);
}

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

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 320px;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transform: rotate(-2deg);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image:hover img {
  transform: rotate(0deg) scale(1.02);
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 176, 255, 0.1) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  z-index: -1;
}

/* Buttons */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
}

.store-button {
  transition: transform 0.2s ease;
}

.store-button:hover {
  transform: scale(1.05);
}

.store-button img {
  height: 48px;
}

/* Features */
.features {
  padding: 100px 0;
  background: var(--surface);
  border-radius: 60px 60px 0 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.feature-card {
  background: var(--white);
  padding: 40px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-secondary);
}

/* Secondary Screenshot Section */
.screenshot-section {
  padding: 100px 0;
  display: flex;
  align-items: center;
  gap: 60px;
}

.screenshot-section.reverse {
  flex-direction: row-reverse;
}

.screenshot-section .content {
  flex: 1;
}

.screenshot-section .image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.screenshot-section .image img {
  width: 280px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--surface-variant);
  background: var(--white);
}

.footer-logo {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: block;
  text-decoration: none;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
}

.copyright {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 0;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    margin: 0 auto 40px;
  }
  
  .store-buttons {
    justify-content: center;
  }
  
  .screenshot-section {
    flex-direction: column !important;
    text-align: center;
  }
}

/* Legal Pages Styling */
.legal-page {
  background-color: var(--background);
}

.legal-container {
  max-width: 800px;
  margin: 40px auto 100px;
  padding: 0 24px;
}

.legal-card {
  background: var(--white);
  padding: 60px;
  border-radius: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  font-weight: 800;
}

.legal-content .last-updated {
  color: var(--text-secondary);
  margin-bottom: 40px;
  display: block;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  font-weight: 700;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
  font-weight: 600;
}

.legal-content p, .legal-content li {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.legal-content ul {
  margin-left: 24px;
  margin-bottom: 24px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 32px;
    border-radius: 24px;
  }
  
  .legal-content h1 {
    font-size: 2rem;
  }
}
