/* ===========================
   Fridoumi — Global Styles
   =========================== */

:root {
  --orange: #D97642;
  --orange-dark: #c0622f;
  --orange-light: #f5e6dc;
  --bg: #FAF8F5;
  --bg-card: #FFFFFF;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e8e2da;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 2px 20px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 40px rgba(217,118,66,0.18);
  --max-width: 1100px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===========================
   Typography
   =========================== */

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { color: var(--text-muted); }

/* ===========================
   Layout
   =========================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ===========================
   Header
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--border);
  border-radius: 20px;
  padding: 3px;
  font-size: 0.8rem;
  font-weight: 700;
}

.lang-switcher a {
  padding: 4px 12px;
  border-radius: 18px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.lang-switcher a.active {
  background: white;
  color: var(--orange);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: white;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: white;
  text-decoration: none;
}

/* ===========================
   Hero
   =========================== */

.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero p.lead {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.app-store-badge {
  height: 52px;
  border-radius: 10px;
  transition: transform 0.2s;
}

.app-store-badge:hover { transform: scale(1.04); }

/* ===========================
   Features
   =========================== */

.features { background: white; }

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

.section-header p {
  margin-top: 12px;
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s;
}

.feature-card:hover {
  border-color: var(--orange-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ===========================
   Pricing
   =========================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transition: all 0.25s;
}

.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-hover);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===========================
   FAQ / Support
   =========================== */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: white;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.15s;
}

.faq-question:hover { background: var(--bg); }

.faq-icon {
  font-size: 1.2rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.2s;
  font-style: normal;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ===========================
   Contact Box
   =========================== */

.contact-box {
  background: var(--orange-light);
  border: 1px solid rgba(217, 118, 66, 0.2);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 560px;
  margin: 48px auto 0;
}

.contact-box h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.contact-box p { margin-bottom: 20px; }

.contact-email {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange-dark);
  word-break: break-all;
}

/* ===========================
   Policy Pages
   =========================== */

.policy-content {
  max-width: 720px;
  margin: 0 auto;
}

.policy-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.policy-section {
  margin-bottom: 48px;
}

.policy-section h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--text);
}

.policy-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--text);
}

.policy-section p,
.policy-section li {
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.75;
  font-size: 0.95rem;
}

.policy-section ul {
  padding-left: 20px;
  margin: 8px 0;
}

.policy-section li { margin-bottom: 6px; }

.no-collect-list {
  list-style: none;
  padding: 0;
  background: #fff5f0;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 8px 0;
}

.no-collect-list li { color: var(--text-muted); }
.no-collect-list li::before { content: none; }

/* ===========================
   Page Hero (inner pages)
   =========================== */

.page-hero {
  padding: 72px 0 56px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ===========================
   Footer
   =========================== */

.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 8px;
}

.footer-brand p { max-width: 260px; }

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

.footer-col h4 {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.footer-col a:hover { color: white; text-decoration: none; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .page-hero { padding: 48px 0 40px; }

  .header-inner { height: 56px; }
  .logo span { display: none; }

  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-box { padding: 28px 20px; }
  .pricing-card { padding: 28px 20px; }
  .feature-card { padding: 22px; }
}
