/* SkipLegDay — Shared Styles */

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== CSS Variables ===== */
:root {
  /* Light theme (default) */
  --primary: #FF6B35;
  --primary-hover: #E55A2B;
  --primary-light: #FF8A5C;
  --bg: #FFFBF7;
  --bg-alt: #FFF3EB;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #9A9A9A;
  --border: #E5E5E5;
  --success: #4CAF50;
  --warning: #FFC107;
  --error: #F44336;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

.dark {
  --primary: #FF8A5C;
  --primary-hover: #FFa070;
  --primary-light: #FF6B35;
  --bg: #1A1A1A;
  --bg-alt: #242424;
  --surface: #2A2A2A;
  --text: #F5F5F5;
  --text-secondary: #CCCCCC;
  --text-muted: #888888;
  --border: #3A3A3A;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ===== Typography ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 800;
}

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

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

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.logo-emoji {
  font-size: 1.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1.1rem;
}

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

.lang-btn {
  width: auto;
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== Hero Section ===== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===== Phone Mockup ===== */
.mockup-section {
  padding: 20px 0 60px;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--surface);
  border-radius: 36px;
  border: 4px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.phone-frame:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: var(--border);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}

.phone-screen {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: calc(100% - 28px);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.phone-app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}

.phone-card {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--border);
}

.phone-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.phone-card-body {
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.phone-avatar-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.phone-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
}

.phone-progress {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.phone-progress-bar {
  height: 100%;
  border-radius: 3px;
  background: var(--primary);
}

.phone-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 0.6rem;
  color: var(--text-muted);
}

.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.phone-nav-item.active {
  color: var(--primary);
}

.phone-nav-icon {
  font-size: 1rem;
}

/* ===== Features Section ===== */
.features {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-icon.orange { background: rgba(255, 107, 53, 0.12); }
.feature-icon.green  { background: rgba(76, 175, 80, 0.12); }
.feature-icon.blue   { background: rgba(66, 165, 245, 0.12); }
.feature-icon.purple { background: rgba(171, 71, 188, 0.12); }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

/* ===== Privacy Page ===== */
.privacy-content {
  padding: 60px 0;
  max-width: 720px;
  margin: 0 auto;
}

.privacy-content .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 32px;
}

.privacy-content .back-link:hover {
  color: var(--primary);
}

.privacy-content h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.privacy-content .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.privacy-content h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--primary);
}

.privacy-content p,
.privacy-content ul {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.privacy-content ul {
  padding-left: 24px;
}

.privacy-content li {
  margin-bottom: 8px;
}

.privacy-content a {
  color: var(--primary);
  text-decoration: underline;
}

/* ===== 404 Page ===== */
.not-found {
  padding: 120px 0;
  text-align: center;
}

.not-found .emoji-big {
  font-size: 4rem;
  margin-bottom: 24px;
}

.not-found h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.not-found p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 48px 0 36px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .feature-card {
    padding: 20px 18px;
  }

  .phone-frame {
    width: 240px;
    height: 480px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .privacy-content h1 {
    font-size: 1.7rem;
  }

  .cta-group {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.7rem;
  }
}
