/* Avast Mirror — avastofficial.com */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --primary: #FF7800;
  --primary-dark: #e06600;
  --primary-light: #FF9A3C;
  --bg: #ffffff;
  --bg-dark: #071D2B;
  --surface: #f7f8fa;
  --surface-2: #eef0f3;
  --text: #071D2B;
  --text-muted: #5a6270;
  --text-light: #8a929e;
  --accent: #FF7800;
  --border: #e2e6ea;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── HEADER ── */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); border-bottom: 1px solid var(--border); height: var(--header-h); }
.nav { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { flex-shrink: 0; }
.logo { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; flex: 1; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-btn { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; cursor: pointer; padding: 6px 10px; border-radius: var(--radius-sm); transition: background 0.2s; color: var(--text); }
.dropdown-btn:hover { background: var(--surface); }
.dropdown-panel { position: absolute; top: 100%; right: 0; margin-top: 0; padding-top: 8px; min-width: 140px; display: none; z-index: 1001; }
.dropdown-panel ul { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 8px 0; box-shadow: var(--shadow-hover); }
.dropdown-panel a { display: block; padding: 10px 18px; font-size: 14px; color: var(--text); transition: background 0.2s; white-space: nowrap; }
.dropdown-panel a:hover { background: var(--surface); color: var(--primary); }
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel { display: block; }

/* Hover intent */
.btn-cta { background: var(--primary); color: var(--white); padding: 10px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; transition: background 0.2s, transform 0.1s; white-space: nowrap; }
.btn-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-cta-outline { border: 2px solid var(--primary); color: var(--primary); padding: 10px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; transition: all 0.2s; }
.btn-cta-outline:hover { background: var(--primary); color: var(--white); }
.btn-lg { padding: 15px 36px; font-size: 17px; border-radius: var(--radius-sm); font-weight: 700; display: inline-block; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; font-size: 22px; color: var(--text); margin-left: auto; }
.mobile-menu { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); z-index: 999; padding: 16px 24px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-lang { margin-top: 16px; text-align: center; }
.mobile-lang a { display: inline-block; padding: 8px 16px; margin: 4px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; color: var(--text); }

/* ── HERO ── */
.hero { background: var(--bg-dark); color: var(--white); padding: 80px 24px 60px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('/assets/images/hero-bg.jpg') center/cover no-repeat; opacity: 0.15; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,120,0,0.2); border: 1px solid rgba(255,120,0,0.4); color: var(--primary-light); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--primary); }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,0.65); }

/* ── TRUST BAR ── */
.trust-bar { background: var(--surface); padding: 28px 24px; }
.trust-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.trust-item i { font-size: 20px; color: var(--primary); }

/* ── SECTIONS ── */
.section { padding: var(--space-xl) 24px; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--text-muted); max-width: 640px; line-height: 1.7; }
.section-header { margin-bottom: 56px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── FEATURES GRID ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; transition: box-shadow 0.25s, transform 0.25s; }
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.feature-icon { width: 56px; height: 56px; background: rgba(255,120,0,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary); margin-bottom: 20px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ── SPLIT ROW ── */
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }
.split-content h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.split-content p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.check-list { margin-top: 20px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 15px; }
.check-list li::before { content: '✓'; color: var(--primary); font-weight: 700; margin-top: 2px; flex-shrink: 0; }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 40px 32px; text-align: center; }
.stat-card strong { display: block; font-size: 48px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-card span { font-size: 15px; color: rgba(255,255,255,0.7); }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pricing-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; transition: box-shadow 0.25s; }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,120,0,0.1); }
.pricing-badge { display: inline-block; background: var(--primary); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.pricing-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.pricing-card .price { font-size: 42px; font-weight: 800; color: var(--primary); line-height: 1; }
.pricing-card .price span { font-size: 18px; font-weight: 400; color: var(--text-muted); }
.pricing-card .price-note { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { margin: 24px 0; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { color: var(--primary); font-size: 14px; margin-top: 2px; }
.pricing-card .btn-cta, .pricing-card .btn-cta-outline { width: 100%; text-align: center; display: block; }

/* ── IMAGE STRIP ── */
.img-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.img-strip img { border-radius: var(--radius-md); width: 100%; height: 220px; object-fit: cover; }

/* ── TESTIMONIALS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; }
.review-stars { color: #f59e0b; font-size: 16px; margin-bottom: 14px; }
.review-card p { font-size: 15px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.review-author { font-weight: 700; font-size: 14px; }
.review-location { font-size: 13px; color: var(--text-light); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 20px 0; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q i { color: var(--primary); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 20px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 80px 24px; text-align: center; color: var(--white); }
.cta-banner h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; margin-bottom: 16px; }
.cta-banner p { font-size: 18px; opacity: 0.9; margin-bottom: 36px; }
.cta-banner .btn-white { background: var(--white); color: var(--primary); padding: 15px 40px; border-radius: var(--radius-sm); font-size: 17px; font-weight: 700; display: inline-block; transition: transform 0.2s; }
.cta-banner .btn-white:hover { transform: translateY(-2px); }

/* ── FOOTER ── */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.75); padding: 64px 24px 32px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-footer { height: 32px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.45); }
.social-links { display: flex; gap: 16px; }
.social-links a { color: rgba(255,255,255,0.5); font-size: 18px; transition: color 0.2s; }
.social-links a:hover { color: var(--primary); }

/* ── INNER PAGE HERO ── */
.page-hero { background: var(--bg-dark); color: var(--white); padding: 72px 24px 56px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 32px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; font-family: inherit; margin-bottom: 16px; background: var(--white); color: var(--text); transition: border-color 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-icon { width: 48px; height: 48px; background: rgba(255,120,0,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary); flex-shrink: 0; }
.contact-info-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-muted); }

/* ── LEGAL ── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; }
.legal-content h3 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; }
.legal-content p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content ul li { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; list-style: disc; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; }
  .nav { gap: 0; padding-right: 0; }
  .brand { margin-right: auto; }
  /* Mobile menu panel (nav-links toggled open) */
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    z-index: 999; padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); list-style: none;
  }
  .nav-links.open li { list-style: none; }
  .nav-links.open li a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
  .nav-links.open .lang-switcher { border-bottom: none; margin-top: 8px; text-align: center; }
  .nav-links.open .lang-switcher a { display: inline-block !important; width: auto !important; padding: 3px 12px; margin: 3px 2px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; line-height: 1.2; white-space: nowrap; color: var(--text); border-bottom: none; }
  /* Grid resets */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .split-row { grid-template-columns: 1fr; }
  .split-row.reverse { direction: ltr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .img-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  /* CTA centering */
  .btn-cta, .btn-cta-outline { display: block !important; width: 100%; text-align: center; box-sizing: border-box; }
  .cta-banner .btn-white { display: block; width: fit-content; margin: 0 auto; }
}

@media (max-width: 390px) {
  .hero { padding: 56px 16px 40px; }
  .section { padding: 56px 16px; }
}
