/* ==========================================
   THE WEDDING OS — DESIGN SYSTEM & STYLE SHEET
   ========================================== */

:root {
  --bg-color: #FAF9F6;
  --text-color: #2C2C2C;
  --text-muted: #666666;
  --brand-dark: #1A1A1A;
  --brand-olive: #5A5A40;
  --brand-olive-light: #F5F5F0;
  --brand-olive-border: #E8E6DF;
  --brand-pink: #ec4899;
  --brand-pink-hover: #d83582;
  --white: #FFFFFF;
  
  --font-serif: "DM Serif Display", serif;
  --font-sans: "Inter", sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* 1. Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

/* 2. Typographic System */
h1, h2, h3, h4 {
  color: var(--brand-dark);
}

.font-serif {
  font-family: var(--font-serif);
}

.italic {
  font-style: italic;
}

.overline-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--brand-olive);
  display: block;
}

/* 3. Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* 4. Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 36px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--brand-pink);
  color: var(--white);
  border: none;
  box-shadow: 0 10px 15px -3px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
  background-color: var(--brand-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -3px rgba(236, 72, 153, 0.4);
}

.btn-secondary {
  background-color: var(--brand-dark);
  color: var(--white);
  border: none;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--brand-olive);
  border: 1px stroke var(--brand-olive-border);
  border: 1px solid var(--brand-olive);
}

.btn-outline:hover {
  background-color: var(--brand-olive-light);
  transform: translateY(-2px);
}

/* 5. Header Component */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brand-olive-border);
  z-index: 100;
  display: flex;
  align-items: center;
}

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

.logo-lockup {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.logo-the {
  font-size: 8px;
  letter-spacing: 0.4em;
  font-weight: 700;
  color: var(--brand-dark);
  text-transform: uppercase;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--brand-dark);
  line-height: 1;
}

.logo-os {
  font-size: 8px;
  letter-spacing: 0.4em;
  font-weight: 700;
  color: var(--brand-dark);
  text-transform: uppercase;
}

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

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
}

.header-link {
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-color);
  transition: var(--transition-smooth);
}

.header-link:hover {
  color: var(--brand-olive);
}

/* 6. Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.bg-circle-1 {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: rgba(90, 90, 64, 0.03);
}

.bg-circle-2 {
  bottom: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: rgba(236, 72, 153, 0.02);
}

.hero-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero-badge {
  background-color: var(--brand-olive-light);
  border: 1px solid var(--brand-olive-border);
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
  display: inline-block;
}

.hero-badge span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-olive);
}

.hero-title {
  font-size: 58px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--brand-dark);
}

.hero-title span {
  color: var(--brand-olive);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 10;
}

.hero-mockup {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--brand-olive-border);
}

/* 7. Pain / Solution Section */
.pain-section {
  background-color: #FAF9F6;
  position: relative;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .pain-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.pain-title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 400;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pain-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pain-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--brand-dark);
}

.pain-text p {
  font-size: 13px;
  color: var(--text-muted);
}

/* 8. Features Section */
.features-section {
  background-color: var(--white);
  border-top: 1px solid var(--brand-olive-border);
  border-bottom: 1px solid var(--brand-olive-border);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 400;
  margin-top: 12px;
  margin-bottom: 16px;
  line-height: 1.2;
}

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

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

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

.feature-card {
  background-color: var(--bg-color);
  border: 1px solid var(--brand-olive-border);
  padding: 40px;
  border-radius: 32px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-olive);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 9. Realtime Synchronization Section */
.sync-section {
  background-color: var(--brand-olive-light);
}

.sync-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .sync-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.sync-mockup {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.sync-content h2 {
  font-size: 38px;
  font-weight: 400;
  margin-top: 12px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.sync-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sync-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sync-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
}

.sync-benefit-item span.check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--brand-olive);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* 10. Pricing Section */
.pricing-section {
  background-color: var(--white);
  border-bottom: 1px solid var(--brand-olive-border);
}

.pricing-box {
  background-color: var(--bg-color);
  border: 1px solid var(--brand-olive-border);
  border-radius: 40px;
  padding: 60px;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .pricing-box {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }
}

.pricing-box-left h3 {
  font-size: 28px;
  font-weight: 400;
  margin-top: 8px;
  margin-bottom: 16px;
}

.pricing-box-left p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pricing-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-dark);
}

.pricing-check-item span.check {
  color: #22c55e;
  font-size: 16px;
  font-weight: 900;
}

.pricing-box-right {
  background-color: var(--white);
  border: 1px solid var(--brand-olive-border);
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.price-strike {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 4px;
}

.price-main {
  font-family: var(--font-serif);
  font-size: 52px;
  color: var(--brand-dark);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 8px;
}

.price-sub {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-olive);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 24px;
}

.pricing-box-right .btn {
  width: 100%;
  margin-bottom: 16px;
}

.price-guarantee {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
}

/* 11. FAQ Section */
.faq-section {
  background-color: var(--bg-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--brand-olive-border);
  border-radius: 20px;
  padding: 24px 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--brand-olive);
}

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

.faq-question h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
}

.faq-toggle {
  font-size: 18px;
  color: var(--brand-olive);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), margin-top 0.3s ease;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 16px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), margin-top 0.3s ease;
}

/* 12. Footer Component */
.site-footer {
  background-color: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--brand-olive-border);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-logo {
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--brand-dark);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-link {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--brand-olive);
}
