/* Wedding Hall OS — Static Demo Styles */
:root {
  --bg: #FAF7F2;
  --bg-elevated: #FFFFFF;
  --bg-muted: #F2EDE5;
  --bg-inverse: #16140F;
  --fg: #1A1814;
  --fg-muted: #5C564C;
  --fg-subtle: #8C8478;
  --fg-inverse: #FAF7F2;
  --border: #E8E0D2;
  --border-strong: #D4C9B5;
  --accent: #B8893F;
  --accent-fg: #FFFFFF;
  --accent-subtle: #F4EAD3;
  --accent-soft: rgba(184, 137, 63, 0.1);
  --success: #4F8A6B;
  --warning: #C68B2C;
  --danger: #A53A2A;
  --info: #4A6F94;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); font-family: 'Inter', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
body { line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #8B6526);
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 18px;
}
.brand-name { font-size: 16px; letter-spacing: -0.01em; }
.brand-tag { font-size: 11px; color: var(--fg-subtle); margin-top: -2px; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--fg-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 18px;
  border-radius: 10px; font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: #A07A35; }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--bg-muted); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--bg-muted); }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; }

/* Hero */
.hero {
  position: relative; padding: 90px 0 80px;
  text-align: center;
  background: radial-gradient(60% 60% at 50% 0%, var(--accent-soft), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--accent-subtle); color: var(--accent);
  font-size: 12px; font-weight: 500;
  border: 1px solid rgba(184, 137, 63, 0.2);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 800px; margin: 0 auto;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  max-width: 580px; margin: 18px auto 0;
  font-size: 18px; color: var(--fg-muted);
}
.hero .actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.hero .meta { font-size: 12px; color: var(--fg-subtle); margin-top: 14px; }

/* Sections */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 38px; font-weight: 500; letter-spacing: -0.02em;
}
.section-head .kicker {
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-head p { color: var(--fg-muted); margin-top: 12px; font-size: 17px; }

/* Feature grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--fg-muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 8px 32px var(--accent-soft);
}
.pricing-card .badge-popular {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
}
.pricing-card h3 { font-size: 14px; font-weight: 500; color: var(--fg-muted); }
.pricing-card .price { font-family: 'Fraunces', serif; font-size: 42px; font-weight: 600; margin: 8px 0 4px; }
.pricing-card .price .period { font-size: 14px; color: var(--fg-subtle); font-weight: 400; }
.pricing-card .desc { font-size: 13px; color: var(--fg-subtle); margin-bottom: 20px; }
.pricing-card ul { list-style: none; margin: 20px 0; }
.pricing-card ul li {
  font-size: 14px; padding: 6px 0;
  display: flex; align-items: center; gap: 8px;
  color: var(--fg-muted);
}
.pricing-card ul li::before {
  content: "✓"; color: var(--success); font-weight: 600;
}
.pricing-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* Dashboard preview */
.dashboard-preview {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-elevated);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}
.dashboard-preview .top {
  background: var(--bg-muted);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dashboard-preview .dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; }
.dashboard-preview .dot:nth-child(1) { background: #ff5f57; }
.dashboard-preview .dot:nth-child(2) { background: #febc2e; }
.dashboard-preview .dot:nth-child(3) { background: #28c840; }
.dashboard-preview .url { font-size: 12px; color: var(--fg-muted); margin-left: 12px; font-family: 'JetBrains Mono', monospace; }
.dashboard-preview .body { display: flex; min-height: 480px; }
.dashboard-preview .sidebar { width: 220px; background: #FAF7F2; border-right: 1px solid var(--border); padding: 16px 12px; }
.dashboard-preview .side-item { padding: 9px 12px; font-size: 13px; border-radius: 7px; color: var(--fg-muted); margin-bottom: 2px; display: flex; align-items: center; gap: 9px; }
.dashboard-preview .side-item.active { background: var(--accent-subtle); color: var(--accent); font-weight: 500; }
.dashboard-preview .main { flex: 1; padding: 24px; background: white; }
.dashboard-preview .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.dashboard-preview .stat {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px;
}
.dashboard-preview .stat .label { font-size: 11px; color: var(--fg-subtle); text-transform: uppercase; letter-spacing: 0.05em; }
.dashboard-preview .stat .value { font-size: 22px; font-weight: 600; margin-top: 4px; font-family: 'Fraunces', serif; }
.dashboard-preview .stat .change { font-size: 11px; color: var(--success); margin-top: 2px; }
.dashboard-preview .table-wrap { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.dashboard-preview table { width: 100%; border-collapse: collapse; }
.dashboard-preview th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; padding: 10px 14px; color: var(--fg-subtle); background: var(--bg-muted); border-bottom: 1px solid var(--border); font-weight: 600; }
.dashboard-preview td { padding: 12px 14px; font-size: 13px; border-bottom: 1px solid var(--border); }
.dashboard-preview tr:last-child td { border-bottom: none; }
.dashboard-preview .pill-mini {
  display: inline-block; font-size: 10px; padding: 2px 8px; border-radius: 999px;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
}
.dashboard-preview .pill-confirmed { background: rgba(79,138,107,0.12); color: #4F8A6B; }
.dashboard-preview .pill-pending { background: rgba(198,139,44,0.12); color: #C68B2C; }
.dashboard-preview .pill-new { background: rgba(74,111,148,0.12); color: #4A6F94; }

/* Demo nav */
.demo-nav {
  background: var(--bg-inverse);
  color: var(--fg-inverse);
  padding: 12px 0;
  border-bottom: 1px solid #2a2620;
}
.demo-nav .container { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.demo-nav a {
  font-size: 13px; color: #c5b8a8; padding: 4px 10px; border-radius: 6px;
  transition: background 0.2s;
}
.demo-nav a:hover { background: rgba(255,255,255,0.06); color: white; }
.demo-nav a.active { background: var(--accent); color: white; }
.demo-nav .label { font-size: 11px; color: #8c8478; text-transform: uppercase; letter-spacing: 0.1em; margin-right: auto; }

/* Form pages */
.auth-page { min-height: 100vh; display: flex; }
.auth-side {
  flex: 1;
  background: linear-gradient(135deg, #16140F 0%, #2a2218 100%);
  color: white;
  padding: 60px 50px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-side::before {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(184,137,63,0.18), transparent 60%);
  pointer-events: none;
}
.auth-side .brand { color: white; }
.auth-side .brand-tag { color: #8c8478; }
.auth-side .quote { font-family: 'Fraunces', serif; font-size: 26px; line-height: 1.4; max-width: 360px; position: relative; z-index: 1; }
.auth-side .quote-author { font-size: 13px; color: #8c8478; margin-top: 14px; }
.auth-side .features { display: flex; flex-direction: column; gap: 12px; max-width: 320px; position: relative; z-index: 1; }
.auth-side .feat { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #c5b8a8; }
.auth-side .feat-check { color: var(--accent); font-weight: 600; }

.auth-form-side {
  flex: 1; padding: 40px 60px;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 540px; margin: 0 auto;
}
.auth-form-side h1 { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 500; margin-bottom: 8px; }
.auth-form-side .sub { color: var(--fg-muted); margin-bottom: 32px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%; height: 42px; padding: 0 14px;
  border: 1px solid var(--border-strong); border-radius: 10px;
  font-size: 14px; font-family: inherit;
  background: var(--bg-elevated); color: var(--fg);
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 900px) {
  .auth-page { flex-direction: column; }
  .auth-side { padding: 30px; }
  .auth-form-side { padding: 30px; }
  .form-row { grid-template-columns: 1fr; }
}

.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--fg-subtle); font-size: 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.sso-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 42px;
  border: 1px solid var(--border-strong); border-radius: 10px;
  background: white; font-size: 14px; font-weight: 500; color: var(--fg);
}

/* Invitation page */
.invitation-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #16140F 0%, #1f1a14 100%);
  color: #F4EAD3;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.invitation-card {
  max-width: 720px; width: 100%;
  background: linear-gradient(160deg, #2a2018 0%, #1a1610 100%);
  border: 1px solid #3a2f24;
  border-radius: 24px;
  padding: 60px 50px;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.invitation-card::before, .invitation-card::after {
  content: ''; position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,137,63,0.15), transparent 70%);
  pointer-events: none;
}
.invitation-card::before { top: -110px; left: -110px; }
.invitation-card::after { bottom: -110px; right: -110px; }
.invitation-card .content { position: relative; z-index: 1; }
.invitation-card .eyebrow {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 30px;
}
.invitation-card .quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px; font-style: italic;
  color: #c5b89a; line-height: 1.7; margin-bottom: 30px;
}
.invitation-card .couple {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 60px; font-weight: 400; letter-spacing: 0.02em;
  color: #F4EAD3; line-height: 1.1; margin: 30px 0 20px;
}
.invitation-card .couple .and { color: var(--accent); font-size: 36px; font-style: italic; margin: 0 16px; }
.invitation-card .date {
  font-size: 18px; color: #c5b89a; margin: 30px 0 8px;
  letter-spacing: 0.05em;
}
.invitation-card .venue { font-size: 14px; color: #8c8478; margin-bottom: 36px; }
.invitation-card .details {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; padding: 24px; margin: 30px 0;
  background: rgba(0,0,0,0.3); border-radius: 14px;
  border: 1px solid #3a2f24;
}
.invitation-card .detail { text-align: center; }
.invitation-card .detail .l { font-size: 10px; color: #8c8478; text-transform: uppercase; letter-spacing: 0.15em; }
.invitation-card .detail .v { font-size: 17px; font-weight: 500; margin-top: 4px; color: #F4EAD3; }
.invitation-card .rsvp-form {
  display: flex; gap: 10px; max-width: 460px; margin: 20px auto 12px;
  flex-wrap: wrap;
}
.invitation-card .rsvp-form input {
  flex: 1; min-width: 200px;
  height: 46px; padding: 0 18px;
  background: rgba(0,0,0,0.4); color: #F4EAD3;
  border: 1px solid #3a2f24; border-radius: 10px;
  font-size: 14px; font-family: inherit;
}
.invitation-card .rsvp-form input::placeholder { color: #6a6058; }
.invitation-card .rsvp-form button {
  height: 46px; padding: 0 24px;
  background: var(--accent); color: white;
  border: none; border-radius: 10px;
  font-size: 14px; font-weight: 500;
}
.invitation-card .countdown {
  display: flex; gap: 12px; justify-content: center; margin: 24px 0;
}
.invitation-card .countdown .unit {
  background: rgba(0,0,0,0.4); border: 1px solid #3a2f24;
  border-radius: 10px; padding: 10px 16px; min-width: 60px;
}
.invitation-card .countdown .num { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; color: var(--accent); }
.invitation-card .countdown .lbl { font-size: 9px; color: #8c8478; text-transform: uppercase; letter-spacing: 0.15em; }
@media (max-width: 600px) {
  .invitation-card { padding: 40px 24px; }
  .invitation-card .couple { font-size: 36px; }
  .invitation-card .details { grid-template-columns: 1fr; }
  .invitation-card .countdown { gap: 6px; }
}

/* Site footer */
.site-footer {
  background: var(--bg-inverse);
  color: #c5b8a8;
  padding: 50px 0 30px;
  border-top: 1px solid #2a2620;
}
.site-footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
@media (max-width: 700px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: white; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 5px 0; font-size: 14px; }
.site-footer a:hover { color: white; }
.site-footer .bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid #2a2620; font-size: 12px; }

/* Notices / banner */
.notice {
  background: linear-gradient(90deg, rgba(184,137,63,0.1), transparent);
  border-left: 3px solid var(--accent);
  padding: 12px 20px; border-radius: 8px;
  font-size: 13px; color: var(--fg-muted);
  margin: 24px auto; max-width: 720px;
}
.notice strong { color: var(--accent); }

/* Code block for tech */
.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.tech-stack span {
  padding: 5px 12px; background: var(--bg-muted);
  border-radius: 999px; font-size: 12px; color: var(--fg-muted);
  border: 1px solid var(--border);
}
