/* FlashMark Landing Page Styles */
/* Extracted from mobile app design tokens */

:root {
  --primary: #5ED6D0;
  --primary-dark: #3CB4B0;
  --primary-light: #E8FAFA;
  --secondary: #B794F6;
  --secondary-dark: #9F7AEA;
  --secondary-light: #F3E8FF;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --border: #B8E0DE;
  --text-main: #111827;
  --text-body: #374151;
  --text-muted: #6B7280;
  --error: #F87171;
  --success: #4ADE80;
  --radius-pill: 9999px;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --shadow-soft: 0 2px 15px rgba(94, 214, 208, 0.15);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--primary-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Atma', cursive;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.lang-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #1F2937;
}

/* Hero */
.hero {
  text-align: center;
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}

.hero h1 {
  font-family: 'Atma', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: #1F2937;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(94, 214, 208, 0.35);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Features */
.features {
  padding: 4rem 0;
}

.features h2 {
  font-family: 'Atma', cursive;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 2.5rem;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

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

/* Download */
.download {
  text-align: center;
  padding: 4rem 0 5rem;
  background: var(--secondary-light);
}

.download h2 {
  font-family: 'Atma', cursive;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.download > .container > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.download-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--primary-light);
  background: var(--bg);
}

.footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn, .feature-card, .lang-btn {
    transition: none;
  }
}
