:root {
  --background: #ffffff;
  --foreground: #261820;
  --card: #ffffff;
  --muted-bg: #faf7f9;
  --muted-fg: #7c6b76;
  --primary: #ff4fb5;
  --primary-fg: #ffffff;
  --secondary: #ff77c8;
  --accent: #ffd8ee;
  --accent-fg: #7a2057;
  --border: #ececec;
  --gradient-primary: linear-gradient(135deg, #ff4fb5, #ff77c8);
  --gradient-hero: linear-gradient(135deg, #ff4fb5 0%, #ff77c8 45%, #ffb3df 100%);
  --shadow-soft: 0 10px 40px -12px rgba(255, 79, 181, 0.25);
  --shadow-elegant: 0 24px 60px -20px rgba(255, 79, 181, 0.35);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
}

body.dark {
  --background: #1a1418;
  --foreground: #f5eef2;
  --card: #241c21;
  --muted-bg: #241c21;
  --muted-fg: #b09aa6;
  --primary: #ff6ec1;
  --primary-fg: #1a1418;
  --accent: #4a2b3d;
  --accent-fg: #ffd8ee;
  --border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(36, 28, 33, 0.6);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 10px 40px -12px rgba(0, 0, 0, 0.5);
  --shadow-elegant: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, .font-display { font-family: "Playfair Display", Georgia, serif; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.muted { color: var(--muted-fg); }

.text-gradient {
  background-image: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: none; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background-image: var(--gradient-primary); color: var(--primary-fg); box-shadow: var(--shadow-soft); }
.btn-glass { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); color: var(--foreground); }
.btn-dark { background: var(--foreground); color: var(--background); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--foreground); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass-bg); border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.brand-logo { height: 40px; width: auto; border-radius: 8px; background: #fff; padding: 3px 6px; }
.brand-name { font-family: "Playfair Display", serif; font-size: 1.15rem; }
.nav { display: flex; gap: 1.5rem; }
.nav a { font-weight: 500; color: var(--muted-fg); transition: color 0.2s; }
.nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-toggle { background: transparent; border: 1px solid var(--border); border-radius: 999px; width: 40px; height: 40px; cursor: pointer; font-size: 1.1rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--foreground); border-radius: 2px; }
.mobile-nav { display: none; flex-direction: column; padding: 0 1.25rem 1rem; gap: 0.25rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-weight: 500; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg, .stats-bg { position: absolute; inset: 0; background-image: var(--gradient-hero); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(circle at 75% 25%, rgba(255,255,255,0.4), transparent 55%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; padding: 5rem 1.25rem; }
.hero-logo-wrap { display: flex; justify-content: center; }
.hero-logo-card { background: #fff; padding: 2rem; border-radius: 2rem; box-shadow: var(--shadow-elegant); }
.hero-logo-card img { max-width: 320px; }
.hero-copy { color: #fff; }
.hero-copy h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.1; text-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.hero-copy p { margin-top: 1.25rem; font-size: 1.15rem; opacity: 0.95; }
.hero-btns { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.floating-words span {
  position: absolute; padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(16px);
  font-size: 0.85rem; font-weight: 600; color: var(--foreground);
  animation: float-slow 9s ease-in-out infinite; pointer-events: none;
}

/* Sections */
.section { padding: 5rem 0; }
.section-tight { padding: 3rem 0; }
.section-muted { background: var(--muted-bg); }
.heading { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.heading h2, .section h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.eyebrow { display: inline-block; background: var(--accent); color: var(--accent-fg); padding: 0.3rem 1rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-item { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(16px); border-radius: 1.25rem; padding: 1.5rem; text-align: center; box-shadow: var(--shadow-soft); }
.trust-item .icon { font-size: 1.8rem; }
.trust-item span { display: block; font-weight: 600; margin-top: 0.5rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-img { aspect-ratio: 4/3; object-fit: cover; border-radius: 1.5rem; box-shadow: var(--shadow-elegant); width: 100%; }
.about-grid h2 { margin: 0.5rem 0 1rem; }
.about-grid p { margin-bottom: 1rem; }
.about-grid .btn { margin-top: 0.5rem; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.5rem; box-shadow: var(--shadow-soft); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.card .card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 0.85rem; background-image: var(--gradient-primary); color: #fff; font-size: 1.3rem; }
.card h3 { font-size: 1.1rem; margin: 0.9rem 0 0.5rem; }
.card p { font-size: 0.9rem; color: var(--muted-fg); }

.payment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.payment-card { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; padding: 1.5rem; box-shadow: var(--shadow-soft); font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: flex-start; gap: 0.9rem; text-align: left; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.payment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elegant); }
.payment-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--accent); color: var(--accent-fg); font-size: 1.4rem; }

/* Languages */
.lang-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.lang-item { display: flex; align-items: center; gap: 0.75rem; background: var(--card); border: 1px solid var(--border); border-radius: 0.85rem; padding: 0.75rem 1rem; box-shadow: var(--shadow-soft); transition: transform 0.2s; }
.lang-item:hover { transform: scale(1.03); }
.lang-item .flag { font-size: 1.4rem; }
.lang-item span:last-child { font-size: 0.9rem; font-weight: 500; }

/* Stats */
.stats-section { position: relative; overflow: hidden; padding: 5rem 0; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; color: #fff; }
.stat-value { font-family: "Playfair Display", serif; font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; }
.stat-label { margin-top: 0.5rem; font-size: 0.9rem; opacity: 0.9; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.testimonial { background: var(--card); border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.75rem; box-shadow: var(--shadow-soft); }
.testimonial .quote-mark { font-size: 2rem; color: var(--primary); opacity: 0.5; line-height: 1; }
.testimonial blockquote { margin: 0.5rem 0 1.25rem; color: var(--muted-fg); }
.testimonial figcaption { display: flex; align-items: center; gap: 0.75rem; }
.testimonial .avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background-image: var(--gradient-primary); color: #fff; font-weight: 600; }
.testimonial .name { font-weight: 600; }
.testimonial .role { font-size: 0.85rem; color: var(--muted-fg); }

/* Quote */
.quote-card { max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-elegant); display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; }
.quote-fields { display: flex; flex-direction: column; gap: 1rem; }
.quote-fields label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.quote-fields input, .quote-fields select { padding: 0.65rem 0.85rem; border: 1px solid var(--border); border-radius: 0.75rem; font: inherit; background: var(--background); color: var(--foreground); }
.quote-result { text-align: center; background: var(--muted-bg); border-radius: 1rem; padding: 1.5rem; }
.quote-result span { font-size: 0.85rem; color: var(--muted-fg); }
.quote-result strong { display: block; font-family: "Playfair Display", serif; font-size: 2.5rem; color: var(--primary); margin: 0.5rem 0 1rem; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.1rem 1.25rem; font: inherit; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; color: var(--foreground); }
.faq-q::after { content: "+"; color: var(--primary); font-size: 1.3rem; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; padding: 0 1.25rem; color: var(--muted-fg); transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.25rem 1.1rem; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 2.5rem; padding: 4rem 2rem; text-align: center; }
.cta-inner { position: relative; color: #fff; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.cta-inner p { max-width: 540px; margin: 1rem auto; opacity: 0.95; }
.cta-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin: 1.5rem 0; font-size: 0.9rem; }
.cta .btn { margin-top: 0.5rem; }

/* Footer */
.footer { background: var(--muted-bg); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.footer-brand img { height: 48px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; margin-bottom: 0.75rem; }
.footer-contact p { margin-bottom: 0.4rem; }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.85rem; }

/* Chat */
.chat-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 60; width: 56px; height: 56px; border-radius: 999px; border: none; background-image: var(--gradient-primary); color: #fff; font-size: 1.5rem; cursor: pointer; box-shadow: var(--shadow-elegant); transition: transform 0.2s ease; }
.chat-widget:hover { transform: scale(1.08); }
.chat-panel { position: fixed; bottom: 88px; right: 1.5rem; width: min(360px, calc(100vw - 2rem)); max-height: 480px; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; box-shadow: var(--shadow-elegant); overflow: hidden; opacity: 0; transform: translateY(16px) scale(0.98); pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; z-index: 70; }
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem; background: var(--muted-bg); border-bottom: 1px solid var(--border); }
.chat-header strong { display: block; font-size: 1rem; }
.chat-header p { margin-top: 0.35rem; font-size: 0.85rem; color: var(--muted-fg); max-width: 220px; }
.chat-close { background: none; border: none; color: var(--foreground); font-size: 1.1rem; cursor: pointer; }
.chat-messages { padding: 1rem; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 0.85rem; }
.chat-message { display: flex; gap: 0.75rem; line-height: 1.5; }
.chat-message.user { justify-content: flex-end; }
.chat-message.bot { justify-content: flex-start; }
.chat-bubble { max-width: 100%; padding: 0.85rem 1rem; border-radius: 1rem; background: var(--muted-bg); color: var(--foreground); box-shadow: var(--shadow-soft); }
.chat-message.user .chat-bubble { background: var(--primary); color: var(--primary-fg); }
.chat-message.bot .chat-bubble { background: var(--glass-bg); }
.chat-suggestions { padding: 0 1rem 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chat-suggestion { display: inline-flex; align-items: center; justify-content: center; padding: 0.65rem 0.9rem; border-radius: 999px; border: 1px solid var(--border); background: var(--muted-bg); color: var(--foreground); font-size: 0.85rem; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.chat-suggestion:hover { background: var(--accent); color: var(--accent-fg); transform: translateY(-1px); }
.chat-input-row { display: flex; gap: 0.75rem; padding: 1rem; border-top: 1px solid var(--border); background: var(--background); }
.chat-input-row input { flex: 1; border: 1px solid var(--border); border-radius: 999px; padding: 0.9rem 1rem; font: inherit; background: transparent; color: inherit; }
.chat-input-row button { min-width: 100px; }
@media (max-width: 520px) {
  .chat-panel { right: 1rem; left: 1rem; width: auto; bottom: 1rem; max-height: calc(100vh - 2rem); }
}

/* Animations */
@keyframes gradient-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes float-slow { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(6deg); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-gradient { background-size: 200% 200%; animation: gradient-shift 12s ease infinite; }
.reveal { opacity: 0; }
.reveal.visible { animation: fade-up 0.7s ease-out forwards; }

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero-grid, .about-grid, .quote-card, .footer-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; order: -1; }
  .hero-btns { justify-content: center; }
  .cards-grid, .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions .btn-primary { display: none; }
}
