/* ====================================================================
   PREMIUM LUXURY DARK THEME - APPLE & SAMSUNG INSPIRED GLASSMORPHISM UI
   Target: Customer Landing Page, Review Flow, Feedback & Thank You Pages
   Colors: Obsidian Black (#0A0A0C), Pure Black (#000000), Gold (#FFD700),
           Warm Gold (#E5C158), Soft Off-White (#F5F5F7), Glass White (rgba)
   ==================================================================== */

:root {
  --bg-primary: #0A0A0C;
  --bg-secondary: #121216;
  --bg-card: rgba(22, 22, 28, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  
  --gold-primary: #FFD700;
  --gold-secondary: #E5C158;
  --gold-glow: rgba(255, 215, 0, 0.25);
  --gold-border: rgba(255, 215, 0, 0.35);
  
  --text-main: #F5F5F7;
  --text-muted: #8E8E93;
  --text-dim: #636366;
  
  --danger: #FF453A;
  --success: #32D74B;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-full: 9999px;
  
  --blur-glass: blur(20px) saturate(180%);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lux: 0 30px 60px -12px rgba(0, 0, 0, 0.75), 0 0 30px var(--gold-glow);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dynamic Ambient Glow Background */
body::before {
  content: "";
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, rgba(10, 10, 12, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Main Layout Wrapper */
.app-viewport {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 24px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top Navigation / Header Bar */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.lang-toggle {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.lang-toggle:hover {
  background: var(--bg-glass-hover);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* Hero Section */
.hero-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.brand-logo-wrapper {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-primary), transparent);
  box-shadow: 0 0 20px var(--gold-glow);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-color: var(--bg-secondary);
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}

/* Social Trust Badge */
.trust-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
}

/* Star Rating Selector Component */
.rating-section {
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 24px;
}

.rating-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 20px;
}

.star-rating-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  direction: rtl; /* For clean hover CSS logic */
}

.star-btn {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 4px;
}

.star-rating-container .star-btn:hover,
.star-rating-container .star-btn:hover ~ .star-btn,
.star-btn.selected,
.star-btn.selected ~ .star-btn {
  color: var(--gold-primary);
  text-shadow: 0 0 15px var(--gold-glow);
  transform: scale(1.12);
}

/* Service Selector Chips */
.service-chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.chip-btn {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chip-btn.active, .chip-btn:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* Card Sections / Dynamic Container */
.interactive-panel {
  display: none;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.interactive-panel.active {
  display: block;
}

/* Custom Inputs & Textareas */
.glass-input-group {
  margin-bottom: 16px;
  text-align: left;
}

.glass-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  padding-left: 4px;
}

.glass-textarea, .glass-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: var(--transition-fast);
}

.glass-textarea:focus, .glass-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Call to Action Buttons */
.btn-gold-main {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  color: #000000;
  border: none;
  border-radius: var(--radius-full);
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 25px var(--gold-glow);
  transition: var(--transition-fast);
}

.btn-gold-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px var(--gold-glow);
}

.btn-gold-main:active {
  transform: translateY(0);
}

.btn-secondary-glass {
  width: 100%;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  transition: var(--transition-fast);
}

.btn-secondary-glass:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer Copyright */
.app-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 30px;
}