*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #C9802B; --brand-dark: #B0701F; --brand-light: #E8B96E; --brand-bg: #FFF5E6;
  --accent: #214E73; --accent-light: #9BC4E8; --accent-bg: #EBF3FA;
  --bg: #F8F3EA; --surface: #FFFCF6;
  --text: #1C1A17; --text-2: #6B655A; --text-3: #A09787;
  --border: #E8E0D2; --success: #1F8A70; --success-bg: #E6F5F0;
  --danger: #D64545; --shadow: rgba(201, 128, 43, 0.07);
  --radius-sm: 10px; --radius-md: 16px; --radius-lg: 24px; --radius-xl: 32px;
  --max-w: 1100px; --gap: 120px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248,243,234,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,224,210,0.5); transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 24px rgba(0,0,0,0.05); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-weight: 800; font-size: 1.25rem; color: var(--brand); text-decoration: none; display: flex; align-items: center; gap: 10px; letter-spacing: -0.5px; }
.nav-logo-icon { width: 32px; height: 32px; background: var(--brand); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.nav-logo-icon svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { text-decoration: none; font-size: 0.875rem; font-weight: 500; color: var(--text-2); padding: 8px 16px; border-radius: var(--radius-sm); transition: all 0.2s; }
.nav-links a:hover { color: var(--brand); background: var(--brand-bg); }
.nav-cta { background: var(--brand) !important; color: #fff !important; font-weight: 600 !important; border-radius: var(--radius-sm) !important; }
.nav-cta:hover { background: var(--brand-dark) !important; transform: translateY(-1px); }

/* Language Dropdown */
.lang-dropdown { position: relative; }
.lang-btn {
  cursor: pointer; font-size: 0.8125rem; font-weight: 600; color: var(--text-2);
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); transition: all 0.2s; user-select: none;
  display: flex; align-items: center; gap: 6px; text-decoration: none;
}
.lang-btn:hover { border-color: var(--brand-light); color: var(--brand); }
.lang-btn-chevron {
  width: 12px; height: 12px; transition: transform 0.2s;
}
.lang-dropdown.open .lang-btn-chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1); min-width: 180px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s ease; z-index: 200; overflow: hidden;
}
.lang-dropdown.open .lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-option {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  cursor: pointer; font-size: 0.875rem; color: var(--text-2);
  transition: background 0.15s; white-space: nowrap;
}
.lang-option:hover { background: var(--brand-bg); }
.lang-option.active { background: rgba(201, 128, 43, 0.08); color: var(--brand); font-weight: 600; }
.lang-option-code {
  font-weight: 700; font-size: 0.8125rem; width: 24px; text-align: center; flex-shrink: 0;
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 14px; font-size: 1rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: all 0.25s; font-family: inherit; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 20px rgba(201,128,43,0.3); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(201,128,43,0.4); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--brand-light); color: var(--brand); transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { padding: 140px 0 80px; text-align: center; position: relative; }
.hero::before { content: ''; position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(201,128,43,0.08) 0%, transparent 65%); pointer-events: none; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-bg); color: var(--brand); padding: 6px 18px; border-radius: 100px; font-size: 0.8125rem; font-weight: 600; margin-bottom: 24px; letter-spacing: 0.02em; }
.hero-badge-dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; max-width: 740px; margin: 0 auto 20px; }
.hero .gradient { background: linear-gradient(135deg, var(--brand), #D79B47, var(--success)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--text-2); max-width: 560px; margin: 0 auto 40px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-platform { margin-top: 16px; font-size: 0.8125rem; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* Demo */
.demo { margin-top: 64px; max-width: 820px; margin-left: auto; margin-right: auto; background: var(--surface); border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: 0 20px 80px rgba(0,0,0,0.06), 0 4px 20px var(--shadow); padding: 40px 48px; display: flex; gap: 32px; align-items: stretch; }
.demo-col { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.demo-box { border-radius: var(--radius-md); padding: 20px; }
.demo-input { background: #FDF6ED; border-left: 3px solid var(--brand-light); }
.demo-output { background: var(--success-bg); border-left: 3px solid var(--success); }
.demo-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 8px; }
.demo-label-in { color: var(--brand); }
.demo-label-out { color: var(--success); }
.demo-box p { font-size: 0.9375rem; color: var(--text-2); line-height: 1.6; font-style: italic; }
.demo-box h4 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.demo-box ul { list-style: none; font-size: 0.875rem; color: var(--text-2); }
.demo-box li { padding: 3px 0; }
.demo-box li::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--success); border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.demo-arrow { display: flex; align-items: center; justify-content: center; color: var(--brand); flex-shrink: 0; align-self: center; }
.demo-arrow svg { width: 32px; height: 32px; }

/* Proof */
.proof { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.proof-val { font-size: 2rem; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.proof-label { font-size: 0.8125rem; color: var(--text-3); margin-top: 4px; font-weight: 500; }

/* Section */
.section { padding: var(--gap) 0; }
.section-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); background: var(--brand-bg); padding: 5px 14px; border-radius: 100px; margin-bottom: 16px; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px; }
.section-desc { font-size: 1.0625rem; color: var(--text-2); max-width: 540px; line-height: 1.65; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-desc { margin: 0 auto; }

/* Problems */
.problems { background: var(--surface); }
.problems-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 700px; margin: 0 auto; }
.problem-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; border-radius: var(--radius-md); background: #FFF8F0; border: 1px solid #F0DCC8; transition: transform 0.2s; }
.problem-card:hover { transform: translateY(-2px); }
.problem-icon { flex-shrink: 0; width: 38px; height: 38px; background: var(--brand-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.problem-text { font-size: 0.9375rem; color: #5C4A36; font-weight: 500; line-height: 1.5; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; transition: all 0.3s; position: relative; overflow: hidden; }
.feat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--success)); opacity: 0; transition: opacity 0.3s; }
.feat:hover { border-color: var(--brand-light); box-shadow: 0 8px 40px var(--shadow); transform: translateY(-4px); }
.feat:hover::before { opacity: 1; }
.feat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.fi-gold { background: var(--brand-bg); } .fi-blue { background: var(--accent-bg); } .fi-green { background: var(--success-bg); } .fi-warm { background: #FFF0E0; }
.feat h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.feat p { font-size: 0.9375rem; color: var(--text-2); line-height: 1.6; }

/* Steps */
.how { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 800; margin-bottom: 24px; box-shadow: 0 4px 16px rgba(201,128,43,0.3); }
.step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.9375rem; color: var(--text-2); max-width: 260px; margin: 0 auto; line-height: 1.55; }

/* Cases */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: all 0.3s; display: flex; gap: 20px; align-items: flex-start; }
.case-card:hover { box-shadow: 0 8px 40px var(--shadow); transform: translateY(-3px); }
.case-emoji { font-size: 2rem; width: 56px; height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--brand-bg); border-radius: 14px; }
.case-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.case-card p { font-size: 0.9375rem; color: var(--text-2); line-height: 1.55; }

/* Reviews */
.reviews { background: var(--surface); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: all 0.3s; }
.review:hover { box-shadow: 0 8px 40px var(--shadow); transform: translateY(-3px); }
.review-stars { color: var(--brand); font-size: 0.875rem; letter-spacing: 2px; margin-bottom: 16px; }
.review-text { font-size: 0.9375rem; line-height: 1.65; color: var(--text); margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-light), var(--success)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.875rem; }
.review-name { font-weight: 600; font-size: 0.875rem; }
.review-role { font-size: 0.75rem; color: var(--text-3); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 740px; margin: 0 auto; }
.price-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 40px 36px; text-align: center; transition: all 0.3s; position: relative; }
.price-card:hover { transform: translateY(-4px); }
.price-featured { border-color: var(--brand); box-shadow: 0 8px 40px rgba(201,128,43,0.15); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; padding: 4px 18px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; }
.price-name { font-size: 1.125rem; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.price-amount { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-3); }
.price-desc { font-size: 0.875rem; color: var(--text-3); margin-bottom: 28px; }
.price-list { list-style: none; text-align: left; margin-bottom: 32px; }
.price-list li { padding: 8px 0; font-size: 0.9375rem; color: var(--text-2); display: flex; align-items: center; gap: 10px; }
.price-list .check::before { content: ''; display: inline-block; width: 18px; height: 18px; flex-shrink: 0; background: var(--success-bg); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231F8A70'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E"); background-size: 14px; background-repeat: no-repeat; background-position: center; }
.price-list .cross::before { content: ''; display: inline-block; width: 18px; height: 18px; flex-shrink: 0; background: #FFF0F0; border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23D64545'%3E%3Cpath fill-rule='evenodd' d='M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }
.price-card .btn { width: 100%; justify-content: center; }

/* Langs */
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 640px; margin: 0 auto; }
.lang-tag { padding: 8px 18px; border-radius: 100px; font-size: 0.875rem; font-weight: 500; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); transition: all 0.2s; }
.lang-tag:hover { border-color: var(--brand-light); color: var(--brand); background: var(--brand-bg); }

/* FAQ */
.faq-bg { background: var(--surface); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 1rem; font-weight: 600; color: var(--text); text-align: left; font-family: inherit; transition: color 0.2s; }
.faq-q:hover { color: var(--brand); }
.faq-chevron { width: 24px; height: 24px; flex-shrink: 0; color: var(--text-3); transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 24px; font-size: 0.9375rem; color: var(--text-2); line-height: 1.65; }

/* CTA */
.cta-section { padding: var(--gap) 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--brand-bg) 0%, var(--success-bg) 100%); }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-section p { font-size: 1.0625rem; color: var(--text-2); max-width: 480px; margin: 0 auto 36px; }

/* Footer */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.875rem; color: var(--text-3); margin-top: 12px; max-width: 260px; line-height: 1.55; }
.footer-col h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.9375rem; color: var(--text-2); text-decoration: none; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--border); font-size: 0.8125rem; color: var(--text-3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-3); text-decoration: none; }
.footer-links a:hover { color: var(--brand); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .demo { flex-direction: column; padding: 28px; }
  .demo-arrow svg { transform: rotate(90deg); }
  .features-grid, .cases-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .problems-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --gap: 80px; }
  .hero { padding: 120px 0 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links .lang-dropdown { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
