/* Expio – Gold + Dark/Light theme */

/* ── Variables ── */
:root {
  --primary: #C9A84C;
  --primary-light: #D4B96A;
  --primary-soft: rgba(201, 168, 76, 0.12);
  --primary-glow: rgba(201, 168, 76, 0.25);

  /* Light mode defaults */
  --bg:       #F8F4ED;
  --bg-surface: #FFFFFF;
  --bg-card:  #FAF7F0;
  --bg-soft:  #F1EBE0;

  --text:       #1C1917;
  --text-muted: #78716C;
  --text-light: #A8A29E;

  --border:       rgba(201, 168, 76, 0.18);
  --border-hover: rgba(201, 168, 76, 0.45);

  --header-bg: rgba(248, 244, 237, 0.88);

  --shadow-soft:   0 4px 24px rgba(0,0,0,0.06);
  --shadow-medium: 0 8px 40px rgba(0,0,0,0.10);

  --radius:    18px;
  --radius-lg: 26px;
  --transition: 0.3s ease;
}

[data-theme="dark"] {
  --bg:       #18181B;
  --bg-surface: #27272A;
  --bg-card:  #1E1E22;
  --bg-soft:  #141417;

  --text:       #FAFAF9;
  --text-muted: #A8A29E;
  --text-light: #78716C;

  --border:       rgba(201, 168, 76, 0.14);
  --border-hover: rgba(201, 168, 76, 0.40);

  --header-bg: rgba(24, 24, 27, 0.90);

  --shadow-soft:   0 4px 24px rgba(0,0,0,0.35);
  --shadow-medium: 0 8px 40px rgba(0,0,0,0.50);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav { display: none; }

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  margin-left: 2rem;
  font-size: 0.95rem;
  transition: color var(--transition);
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Theme toggle ── */
.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
}

.theme-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Light mode → show moon, Dark mode → show sun */
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* ── Language selector ── */
.lang-selector { position: relative; z-index: 10; }

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.lang-trigger:hover { border-color: var(--primary); color: var(--primary); }

.lang-globe { flex-shrink: 0; color: var(--primary); }
.lang-value { white-space: nowrap; }

.lang-arrow {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.lang-selector.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: 100%; right: 0;
  margin-top: 0.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  min-width: 140px;
}

.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 0.65rem 1rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

.lang-option:hover,
.lang-option[aria-selected="true"] {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

/* ── Menu button ── */
.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Mobile nav ── */
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 80%;
  max-width: 300px;
  background: var(--bg-surface);
  z-index: 99;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}

.mobile-nav a:hover { color: var(--primary); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 7rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.blob-1 {
  width: 420px; height: 420px;
  background: var(--primary-glow);
  top: -80px; right: -100px;
}

.blob-2 {
  width: 320px; height: 320px;
  background: var(--primary-soft);
  bottom: 10%; left: -80px;
}

.blob-3 {
  width: 260px; height: 260px;
  background: rgba(201, 168, 76, 0.08);
  bottom: 30%; right: 15%;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content { text-align: center; }

.hero-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-title .accent {
  color: var(--primary);
  font-style: italic;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.75rem;
  justify-content: center;
}

.hero-visual { margin-top: 1rem; }

.phone-mockup {
  width: 250px;
  height: 500px;
  background: var(--bg-card);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-medium), 0 0 0 1px var(--border);
}

.phone-screen {
  width: 100%; height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg);
}

.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ── Store buttons ── */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface);
  color: var(--text) !important;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.store-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--primary-glow);
}

.store-btn svg { flex-shrink: 0; color: var(--primary); }

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.store-btn-sub  { font-size: 0.7rem; font-weight: 400; opacity: 0.75; }
.store-btn-main { font-size: 0.95rem; font-weight: 700; }

.store-btn-hero { padding: 0.85rem 1.35rem; }

/* ── Marquee ── */
.marquee-section {
  padding: 1.25rem 0;
  background: var(--bg-soft);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee {
  display: flex;
  gap: 1.5rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

.marquee span {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.marquee .dot { color: var(--primary); opacity: 0.6; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section common ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* ── Features ── */
.features { background: var(--bg-surface); }

.features-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 0;
}

.features-grid-4 { grid-template-columns: 1fr; }

.feature-card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap:20px;
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px var(--primary-soft);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.theme-screens-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.theme-screen {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.theme-screen img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .theme-screens-row {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.5rem;
  }
}

/* ── FAQ ── */
.faq { background: var(--bg); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] { border-color: var(--primary); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  user-select: none;
  transition: color var(--transition);
}

.faq-item[open] .faq-question { color: var(--primary); }
.faq-question::-webkit-details-marker { display: none; }
.faq-question span { flex: 1; }

.faq-arrow {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item[open] .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  padding: 0 1.5rem 1.2rem;
  margin-top: -0.25rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Download / CTA ── */
.download {
  background: var(--bg-soft);
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border);
}

.download-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.download-content { text-align: center; }

.download-desc {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.download-phone { margin-top: 0.5rem; }

.phone-frame {
  width: 200px; height: 400px;
  background: var(--bg-card);
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow-medium), 0 0 0 1px var(--border);
}

.phone-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* ── Footer ── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-company {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: underline;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}

.footer-company:hover { color: var(--primary); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--primary); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ── Legal / Page sections ── */
.page-section { padding-top: 5rem; min-height: calc(100vh - 200px); }

.legal-content { max-width: 760px; }

.legal-content h2 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 0.5rem;
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.legal-content ul {
  margin: 0.5rem 0 0.75rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.legal-content li { margin-bottom: 0.35rem; }

.legal-content a { color: var(--primary); text-decoration: underline; }

.legal-updated {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ── Contact form ── */
.contact-wrapper { max-width: 540px; margin: 0 auto; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #1C1917;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px var(--primary-glow);
  align-self: flex-start;
}

.contact-submit:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--primary-glow);
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-success {
  text-align: center;
  padding: 3rem 1rem;
}

.success-icon { margin-bottom: 1rem; }

.contact-success h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-success p { color: var(--text-muted); max-width: 400px; margin: 0 auto; }

/* ── Responsive – Mobile lang ── */
@media (max-width: 767px) {
  .lang-trigger { padding: 0.45rem 0.6rem; font-size: 0.8rem; }
  .lang-value { max-width: 56px; overflow: hidden; text-overflow: ellipsis; }
}

/* ── Responsive – Tablet ── */
@media (min-width: 768px) {
  .menu-btn { display: none; }
  .nav { display: flex; }

  .hero-inner { flex-direction: row; text-align: left; gap: 3rem; }
  .hero-content { flex: 1; text-align: left; }
  .hero-desc { margin-left: 0; }
  .hero-cta { justify-content: flex-start; }
  .hero-visual { flex-shrink: 0; margin-top: 0; }

  .phone-mockup { width: 270px; height: 540px; }

  .features-grid-4 { grid-template-columns: repeat(2, 1fr); }

  .download-inner { flex-direction: row; text-align: left; gap: 3rem; }
  .download-content { flex: 1; text-align: left; }
  .download-desc { margin-left: 0; }
  .store-buttons { justify-content: flex-start; }

  .phone-frame { width: 220px; height: 440px; }
}

/* ── Responsive – Desktop ── */
@media (min-width: 1024px) {
  .section-inner { padding: 5rem 2rem; }
  .header { padding: 1rem 2rem; }
  .phone-mockup { width: 290px; height: 580px; }
  .features-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
