/* Mochi Break Website Styles */
:root {
  --brand-pink: #FF6B9D;
  --brand-mint: #7FDBCA;
  --brand-peach: #FFB088;
  --brand-cream: #FFF8F0;
  --text-primary: #2D2D2D;
  --text-secondary: #666666;
  --text-muted: #999999;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

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

a:hover {
  color: #E55A8A;
}

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 16px 0;
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-peach));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

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

.nav a {
  color: var(--text-secondary);
  font-weight: 500;
}

.nav a:hover {
  color: var(--brand-pink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-pink), #FF8FB1);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
  color: white;
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--brand-cream);
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--brand-cream) 0%, var(--bg-white) 100%);
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-pink);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary), var(--brand-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

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

.hero-image {
  margin-top: 60px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image img {
  width: 100%;
  height: auto;
}

.mochi-preview {
  font-size: 8rem;
  line-height: 1;
  margin-top: 40px;
}

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

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

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand-cream), white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--brand-pink);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 12px;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-peach));
  text-align: center;
  color: white;
}

.cta h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

.cta .btn-primary {
  background: white;
  color: var(--brand-pink);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  background: var(--brand-cream);
}

/* Footer */
.footer {
  padding: 60px 0 40px;
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.7);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
}

/* Legal Pages */
.legal-page {
  padding: 120px 0 80px;
}

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

.legal-meta {
  color: var(--text-muted);
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.legal-content h4 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-secondary);
}

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

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.legal-content th,
.legal-content td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #eee;
}

.legal-content th {
  background: var(--bg-light);
  font-weight: 600;
}

.legal-content td {
  color: var(--text-secondary);
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-content hr {
  margin: 48px 0;
  border: none;
  border-top: 1px solid #eee;
}

/* Back to top */
.back-to-top {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

/* 404 Page */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.error-content h1 {
  font-size: 8rem;
  color: var(--brand-pink);
  margin-bottom: 16px;
}

.error-content p {
  font-size: 1.25rem;
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero {
    padding: 120px 0 60px;
  }

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

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

  .nav {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mochi-preview {
    font-size: 5rem;
  }

  .features, .how-it-works, .cta {
    padding: 60px 0;
  }

  .legal-content table {
    display: block;
    overflow-x: auto;
  }
}
