/* ==========================================================================
   SacredMote — Velvet Sanctuary Design System
   Aesthetic: Dark Velvet Wine, Rich Burgundy Glass, Champagne Gold, Dusty Rose
   ========================================================================== */

:root {
  --color-bg: #16070d;
  --color-surface: rgba(43, 13, 24, 0.75);
  --color-surface-hover: rgba(55, 17, 31, 0.85);
  --color-card-border: rgba(226, 189, 117, 0.22);
  --color-card-border-hover: rgba(226, 189, 117, 0.45);

  --color-gold: #e2bd75;
  --color-gold-bright: #ffd990;
  --color-gold-glow: rgba(226, 189, 117, 0.35);

  --color-rose: #c95b7e;
  --color-rose-glow: rgba(201, 91, 126, 0.25);
  --color-burgundy: #2b0d18;

  --color-text-primary: #f8f1f4;
  --color-text-secondary: #d2a8b5;
  --color-text-muted: #99838e;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:
    'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 16px 40px rgba(10, 2, 6, 0.65), 0 0 1px rgba(226, 189, 117, 0.35) inset;
  --shadow-card-hover: 0 20px 50px rgba(201, 91, 126, 0.18), 0 0 1px rgba(226, 189, 117, 0.5) inset;
  --shadow-gold: 0 6px 24px rgba(226, 189, 117, 0.35);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 91, 126, 0.18) 0%, transparent 70%),
    radial-gradient(circle at 10% 40%, rgba(43, 13, 24, 0.8) 0%, transparent 60%),
    radial-gradient(circle at 90% 70%, rgba(226, 189, 117, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Ambient glow orb behind hero */
.bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 100vw;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(201, 91, 126, 0.14) 0%,
    rgba(226, 189, 117, 0.08) 35%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
.header {
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(22, 7, 13, 0.7);
  border-bottom: 1px solid rgba(226, 189, 117, 0.12);
  transition: all 0.3s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--color-text-primary);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(226, 189, 117, 0.3));
  border-radius: 10px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    var(--color-gold-bright) 50%,
    var(--color-gold) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(43, 13, 24, 0.85);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.lang-btn[aria-pressed='true'] {
  background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
  color: var(--color-bg);
  box-shadow: 0 2px 8px rgba(226, 189, 117, 0.3);
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold) 100%);
  color: #16070d;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(226, 189, 117, 0.5);
  background: linear-gradient(135deg, #fff0c2 0%, var(--color-gold-bright) 100%);
}

.btn-secondary {
  background: rgba(43, 13, 24, 0.7);
  color: var(--color-text-primary);
  border: 1px solid rgba(201, 91, 126, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(65, 20, 37, 0.85);
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
  box-shadow: 0 6px 24px rgba(201, 91, 126, 0.3);
}

.btn-compact {
  padding: 8px 18px;
  font-size: 13px;
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 13, 24, 0.8);
  border: 1px solid rgba(201, 91, 126, 0.35);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-rose);
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(201, 91, 126, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-gold);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8e5ec 65%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

@media (min-width: 600px) {
  .hero-actions {
    flex-direction: row;
    gap: 20px;
  }
}

/* Feature Spec Bar */
.spec-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  padding: 20px 28px;
  background: rgba(31, 14, 21, 0.6);
  border: 1px solid rgba(226, 189, 117, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 780px;
  margin: 0 auto;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.spec-icon {
  color: var(--color-gold);
  display: flex;
  align-items: center;
}

/* Pillars Section */
.pillars {
  padding: 80px 0 60px;
}

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

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pillar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-card-border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201, 91, 126, 0.25) 0%, rgba(226, 189, 117, 0.15) 100%);
  border: 1px solid rgba(226, 189, 117, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 22px;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 14px;
}

.pillar-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* Android Instruction Banner */
.android-guide-section {
  padding: 40px 0 80px;
}

.guide-card {
  background: linear-gradient(135deg, rgba(43, 13, 24, 0.9) 0%, rgba(27, 8, 15, 0.95) 100%);
  border: 1px solid rgba(201, 91, 126, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(226, 189, 117, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.guide-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.guide-header-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(226, 189, 117, 0.15);
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-bright);
}

.guide-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .steps-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(22, 7, 13, 0.6);
  border: 1px solid rgba(226, 189, 117, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-gold);
}

.step-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.guide-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 189, 117, 0.15);
}

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

/* Footer */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(226, 189, 117, 0.15);
  background: rgba(15, 4, 9, 0.85);
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 380px;
}

.footer-notice-18 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 91, 126, 0.18);
  border: 1px solid rgba(201, 91, 126, 0.4);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-rose);
  margin-top: 16px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--color-gold-bright);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(226, 189, 117, 0.1);
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}
