/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a2a3a; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ============ COLOR VARIABLES ============ */
:root {
  --gold: #C9A03D;
  --gold-hover: #b8912e;
  --gold-light: #f7f0dc;
  --gold-10: rgba(201,160,61,0.10);
  --blue: #2C5F8A;
  --blue-dark: #1e3f5e;
  --blue-light: #3a7ab5;
  --jade: #4A8B71;
  --jade-light: #e8f4ee;
  --bg: #F5F7FA;
  --white: #ffffff;
  --text: #1a2a3a;
  --text-muted: #5a6a7a;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.10);
}

/* ============ TYPOGRAPHY ============ */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
p { color: var(--text-muted); }
.gold-text { color: var(--gold); }

/* ============ LAYOUT ============ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header h2 { color: var(--text); margin-bottom: 12px; }
.section-header p { font-size: 1.1rem; }
.section-tag { display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); background: var(--gold-10); padding: 4px 14px; border-radius: 20px; margin-bottom: 16px; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: inherit; font-weight: 600; font-size: 0.95rem; border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; transition: all 0.2s ease; white-space: nowrap; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,160,61,0.3); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); background: rgba(44,95,138,0.04); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ============ ICONS ============ */
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon-check { width: 18px; height: 18px; flex-shrink: 0; color: var(--jade); }
.icon-big { width: 56px; height: 56px; color: var(--jade); }

/* ============ NAVBAR ============ */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 6px; text-decoration: none; font-size: 1.3rem; font-weight: 800; color: var(--blue); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--border); padding: 6px 12px; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600; color: var(--blue); cursor: pointer; transition: all 0.2s; }
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
.lang-toggle .icon { width: 16px; height: 16px; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--text); padding: 4px; }

/* ============ HERO ============ */
.hero { padding: 140px 0 80px; background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--gold); background: var(--gold-10); padding: 6px 16px; border-radius: 20px; margin-bottom: 20px; }
.hero h1 { color: var(--blue); margin-bottom: 20px; }
.hero-subtitle { font-size: 1.15rem; max-width: 500px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 24px; align-items: center; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ============ DASHBOARD MOCK ============ */
.hero-visual { position: relative; }
.dashboard-mock { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.mock-header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--blue); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mock-dots span:nth-child(1) { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:nth-child(3) { background: #28c840; }
.mock-title { font-size: 0.75rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.mock-body { display: flex; min-height: 240px; }
.mock-sidebar { width: 140px; background: var(--blue-dark); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.mock-nav-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; font-size: 0.72rem; color: rgba(255,255,255,0.6); transition: all 0.2s; }
.mock-nav-item.active { background: rgba(201,160,61,0.2); color: var(--gold); }
.mock-nav-item .icon-sm { color: inherit; }
.mock-main { flex: 1; padding: 16px; background: var(--bg); }
.mock-card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-stat-card { background: #fff; border-radius: 8px; padding: 12px; border: 1px solid var(--border); }
.mock-stat-label { display: block; font-size: 0.65rem; color: var(--text-muted); margin-bottom: 4px; }
.mock-stat-value { display: block; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.mock-stat-change { display: inline-block; font-size: 0.65rem; font-weight: 600; margin-top: 2px; }
.mock-stat-change.up { color: var(--jade); }
.mock-stat-change.down { color: var(--gold); }
.mock-stat-change.neutral { color: var(--jade); }
.mock-chart { background: #fff; border-radius: 8px; padding: 12px; border: 1px solid var(--border); }
.mock-chart svg { width: 100%; height: 60px; }

/* ============ TRUST BAR ============ */
.trust-bar { padding: 32px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-items { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.trust-item .icon { color: var(--gold); }

/* ============ FEATURES ============ */
.features { padding: 96px 0; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.feature-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--gold-10); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-icon svg { width: 24px; height: 24px; color: var(--gold); }
.feature-card h3 { color: var(--text); margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; line-height: 1.6; }

/* ============ HOW IT WORKS ============ */
.how-it-works { padding: 96px 0; background: var(--white); }
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 16px; }
.step-card { background: var(--bg); border-radius: var(--radius); padding: 36px 28px; text-align: center; flex: 1; max-width: 300px; border: 1px solid var(--border); position: relative; }
.step-number { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-10); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-icon svg { width: 26px; height: 26px; color: var(--gold); }
.step-card h3 { color: var(--text); margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; }
.step-connector { flex-shrink: 0; }
.step-connector svg { width: 40px; height: 24px; color: var(--gold); }

/* ============ COMPLIANCE TIMELINE ============ */
.compliance { padding: 96px 0; background: var(--blue); color: #fff; }
.compliance .section-tag { color: var(--gold); background: rgba(201,160,61,0.15); }
.compliance .section-header h2 { color: #fff; }
.compliance .section-header p { color: rgba(255,255,255,0.7); }
.timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: rgba(201,160,61,0.3); }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -33px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--blue); }
.timeline-date { font-size: 0.8rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.timeline-content h3 { color: #fff; margin-bottom: 6px; }
.timeline-content p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 10px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-ready { background: rgba(74,139,113,0.2); color: #7cd4a8; }

/* ============ PRICING ============ */
.pricing { padding: 96px 0; background: var(--bg); }
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 48px; }
.toggle-label { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: color 0.2s; }
.toggle-label.active { color: var(--text); font-weight: 600; }
.toggle-switch { width: 48px; height: 26px; border-radius: 13px; background: var(--border); border: none; cursor: pointer; position: relative; transition: background 0.2s; }
.toggle-switch.active { background: var(--gold); }
.toggle-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.toggle-switch.active .toggle-knob { transform: translateX(22px); }
.save-badge { font-size: 0.75rem; font-weight: 600; color: var(--jade); background: var(--jade-light); padding: 3px 10px; border-radius: 12px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 780px; margin: 0 auto; }
.pricing-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; border: 2px solid var(--border); position: relative; }
.pricing-card.featured { border-color: var(--gold); }
.featured-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 16px; border-radius: 12px; white-space: nowrap; }
.plan-header { margin-bottom: 24px; }
.plan-header h3 { font-size: 1.3rem; color: var(--text); margin-bottom: 8px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.price-amount { font-size: 2.8rem; font-weight: 800; color: var(--blue); }
.price-period { font-size: 0.9rem; color: var(--text-muted); }
.plan-desc { font-size: 0.9rem; }
.plan-features { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text); }
.psg-note { text-align: center; font-size: 0.8rem; color: var(--gold); font-weight: 500; margin-top: 12px; }

/* ============ CONTACT FORM ============ */
.contact { padding: 96px 0; background: var(--white); }
.contact-form-wrapper { max-width: 680px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea { font-family: inherit; font-size: 0.9rem; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-10); }
.form-group textarea { resize: vertical; }
.form-success { text-align: center; padding: 48px 24px; }
.form-success h3 { color: var(--text); margin: 16px 0 8px; }
.form-success p { font-size: 0.95rem; }

/* ============ CTA SECTION ============ */
.cta-section { padding: 80px 0; background: var(--blue); text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer { padding: 56px 0 0; background: var(--blue-dark); color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer .logo span { color: #fff; }
.footer-desc { font-size: 0.88rem; margin-top: 12px; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ============ MODALS ============ */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity 0.3s; }
.modal-overlay.open { display: flex; opacity: 1; }
.modal { background: var(--white); border-radius: var(--radius-lg); max-width: 680px; width: 100%; max-height: 85vh; overflow-y: auto; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px 16px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal-header h2 { font-size: 1.4rem; color: var(--blue); }
.modal-close { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; border-radius: 6px; transition: all 0.2s; }
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 24px 28px 32px; }
.modal-body h3 { color: var(--text); margin: 24px 0 8px; font-size: 1.05rem; }
.modal-body h3:first-of-type { margin-top: 16px; }
.modal-body p { font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 8px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; gap: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: block; }
  .mock-sidebar { display: none; }
  .mock-card-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 40px; height: 1px; }
  .form-row { grid-template-columns: 1fr; }
  .trust-items { gap: 20px; }
  .hero h1 { font-size: 1.8rem; }
}
