/* AQVONA — shared stylesheet */

:root {
  --brand: #5B4FEA;
  --accent: #E08A2E;
  --bg: #FBF9F6;
  --surface: #FFFFFF;
  --border: #E7E3DC;
  --text: #1C1B22;
  --text-muted: #6B6875;
  --up: #B4483A;
  --down: #3E8E5A;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Public Sans', system-ui, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: #3E33C4; }
h1, h2, h3, .aq-head { font-family: 'Space Grotesk', system-ui, sans-serif; margin: 0; }
img, svg { display: block; max-width: 100%; }
.aq-container { max-width: 1440px; margin: 0 auto; }
.aq-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.aq-nav a:hover { color: var(--brand); }
button { font-family: 'Public Sans', sans-serif; cursor: pointer; }
input, textarea, select { font-family: 'Public Sans', sans-serif; }
main { display: block; }

/* --- utility bar --- */
.aq-utility {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 48px; background: #1C1B22; color: #B7B4BF; font-size: 12px;
}
.aq-utility-left, .aq-utility-right { display: flex; align-items: center; gap: 16px; }
.aq-utility a { color: #B7B4BF; }

/* --- header --- */
.aq-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px; background: var(--surface); border-bottom: 1px solid var(--border);
  position: relative;
}
.aq-logo { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.aq-logo:hover { color: var(--text); }
.aq-logo .o { color: var(--brand); }
.aq-nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 600; }
.aq-nav a.active { color: var(--brand); }
.aq-nav a:not(.active) { color: var(--text); }
.aq-header-actions { display: flex; align-items: center; gap: 22px; }
.aq-btn-accent {
  background: var(--accent); color: #fff; border: none; border-radius: 6px;
  padding: 11px 22px; font-weight: 700; font-size: 14px;
}
.aq-menu-btn {
  display: none; background: none; border: none; padding: 4px; flex-direction: column; gap: 4px;
}
.aq-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* --- ticker --- */
.aq-ticker {
  display: flex; align-items: center; gap: 16px; padding: 12px 48px;
  background: #F3F1FA; border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.aq-tag-breaking {
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; padding: 4px 10px; border-radius: 4px; font-family: 'Space Grotesk', sans-serif;
  flex-shrink: 0;
}

/* --- page header (category / static pages) --- */
.aq-page-header { padding: 44px 48px 32px; border-bottom: 1px solid var(--border); background: var(--surface); }
.aq-page-header .aq-breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.aq-page-header .aq-breadcrumb a { color: var(--text-muted); }
.aq-page-header .aq-breadcrumb a:hover { color: var(--brand); }
.aq-page-header h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.aq-page-header p.aq-lede { margin: 0; color: var(--text-muted); font-size: 15px; max-width: 640px; line-height: 1.6; }

/* --- hero --- */
.aq-hero { display: flex; gap: 32px; padding: 40px 48px; flex-wrap: wrap; }
.aq-hero-main { flex: 2 1 480px; display: flex; flex-direction: column; gap: 18px; }
.aq-hero-image { width: 100%; height: 320px; object-fit: cover; border-radius: 10px; background: #ddd; }
.aq-hero-side { flex: 1 1 320px; display: flex; flex-direction: column; }
.aq-side-item { display: flex; gap: 14px; padding: 20px 0; border-top: 1px solid var(--border); }
.aq-side-item:first-child { padding-top: 0; border-top: none; }
.aq-side-thumb { width: 104px; height: 78px; flex-shrink: 0; border-radius: 8px; object-fit: cover; background: #ddd; }
.aq-tag { font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.aq-tag.mobiles { color: var(--brand); }
.aq-tag.laptops { color: #C97A2A; }
.aq-tag.wearables { color: #2F8F86; }
.aq-tag.apps { color: #3B6FB0; }
.aq-tag.deals { color: #3B6FB0; }
.aq-tag.howto { color: #C4436B; }
.aq-pill {
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px;
  background: rgba(91,79,234,.12); color: var(--brand); display: inline-block;
}

/* --- generic section --- */
.aq-section { padding: 40px 48px; }
.aq-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
.aq-section-head h2 { font-size: 22px; font-weight: 700; }
.aq-section-head a { font-size: 13px; font-weight: 600; }
.aq-main-cols { display: flex; gap: 32px; flex-wrap: wrap; }
.aq-news-col { flex: 2.2 1 560px; }
.aq-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .aq-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .aq-news-grid { grid-template-columns: 1fr; } }
.aq-news-card { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.aq-news-thumb { width: 100%; height: 140px; border-radius: 6px; object-fit: cover; background: #ddd; }
.aq-news-card span.headline, .aq-side-item span.headline, .aq-trend-item span.headline { font-size: 15px; font-weight: 600; line-height: 1.35; }
.aq-time { color: var(--text-muted); font-size: 12px; }

.aq-sidebar { flex: 1 1 320px; display: flex; flex-direction: column; gap: 28px; }
.aq-trending { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.aq-trending h3 { font-size: 17px; font-weight: 700; }
.aq-trend-item { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--border); }
.aq-trend-item:first-child { padding-top: 0; border-top: none; }
.aq-trend-num { font-family: 'Space Grotesk', sans-serif; color: var(--brand); font-size: 20px; font-weight: 700; width: 20px; flex-shrink: 0; }

.aq-newsletter { background: #1C1B22; border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.aq-newsletter h3 { color: #fff; font-size: 18px; font-weight: 700; }
.aq-newsletter p { margin: 0; color: #B7B4BF; font-size: 13px; line-height: 1.5; }
.aq-newsletter-form { display: flex; gap: 8px; }
.aq-newsletter-form input { flex: 1; min-width: 0; border: none; border-radius: 6px; padding: 11px 14px; font-size: 13px; }
.aq-newsletter-form button { background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: 11px 18px; font-weight: 700; font-size: 13px; white-space: nowrap; }

.aq-ad-slot { border: 1px dashed var(--border); border-radius: 10px; padding: 18px; text-align: center; color: var(--text-muted); font-size: 12px; letter-spacing: .04em; }

/* --- reviews --- */
.aq-reviews-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .aq-reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .aq-reviews-grid { grid-template-columns: 1fr; } }
.aq-review-card { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.aq-review-thumb { width: 100%; height: 160px; border-radius: 6px; object-fit: cover; background: #ddd; }
.aq-review-card .product { font-size: 16px; font-weight: 700; }
.aq-score { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.aq-review-card p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.aq-review-card a { font-size: 13px; font-weight: 600; }

/* --- deals --- */
.aq-deals-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .aq-deals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .aq-deals-grid { grid-template-columns: 1fr; } }
.aq-deal-card { padding: 16px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.aq-deal-thumb { width: 100%; height: 170px; border-radius: 6px; object-fit: cover; background: #ddd; }
.aq-discount-badge {
  position: absolute; top: 24px; left: 24px; background: var(--down); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px;
}
.aq-price-row-inline { display: flex; align-items: baseline; gap: 10px; }
.aq-price-now { font-size: 18px; font-weight: 700; }
.aq-price-was { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }

/* --- price watch table --- */
.aq-price-table { overflow-x: auto; }
.aq-price-row { display: flex; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--border); min-width: 640px; }
.aq-price-row:last-child { border-bottom: none; }
.aq-price-row.head { background: #F5F3EF; font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: .03em; }
.aq-price-product { flex: 2.4; display: flex; align-items: center; gap: 14px; }
.aq-price-thumb { width: 44px; height: 44px; border-radius: 6px; flex-shrink: 0; object-fit: cover; background: #ddd; }
.aq-price-cat { flex: 1.2; font-size: 13px; color: var(--text-muted); }
.aq-price-value { flex: 1; font-size: 14px; font-weight: 700; }
.aq-price-change { flex: 1; display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; }
.aq-price-change.down { color: var(--down); }
.aq-price-change.up { color: var(--up); }
.aq-price-change.steady { color: var(--text-muted); }

/* --- how-to / guides --- */
.aq-guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .aq-guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .aq-guides-grid { grid-template-columns: 1fr; } }
.aq-guide-card { display: flex; flex-direction: column; gap: 12px; }
.aq-guide-thumb { width: 100%; height: 170px; border-radius: 10px; object-fit: cover; background: #ddd; }

/* --- pagination --- */
.aq-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 48px 48px; }
.aq-pagination a, .aq-pagination span {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--text);
}
.aq-pagination a:hover { background: #F3F1FA; }
.aq-pagination .current { background: var(--brand); color: #fff; }

/* --- article page --- */
.aq-article-wrap { display: flex; gap: 40px; padding: 40px 48px; flex-wrap: wrap; }
.aq-article-main { flex: 2.4 1 560px; }
.aq-article-main h1 { font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; margin: 14px 0; }
.aq-article-meta { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }
.aq-article-hero { width: 100%; height: 420px; object-fit: cover; border-radius: 10px; margin-bottom: 28px; background: #ddd; }
.aq-article-body p { font-size: 16px; line-height: 1.75; color: #322F38; margin: 0 0 20px; }
.aq-article-body h2 { font-size: 22px; font-weight: 700; margin: 32px 0 14px; }
.aq-verdict-box { background: #F3F1FA; border-radius: 10px; padding: 24px; display: flex; align-items: center; gap: 24px; margin: 28px 0; flex-wrap: wrap; }
.aq-verdict-score { font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700; color: var(--brand); flex-shrink: 0; }
.aq-share-row { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.aq-share-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }

/* --- static / legal pages --- */
.aq-legal { max-width: 780px; margin: 0 auto; padding: 48px; }
.aq-legal h1 { font-size: 30px; margin-bottom: 8px; }
.aq-legal .aq-updated { color: var(--text-muted); font-size: 13px; margin-bottom: 32px; }
.aq-legal h2 { font-size: 19px; font-weight: 700; margin: 32px 0 12px; }
.aq-legal p, .aq-legal li { font-size: 15px; line-height: 1.7; color: #322F38; }
.aq-note { background: #F3F1FA; border-radius: 8px; padding: 16px 18px; font-size: 13px; color: #4A4750; margin: 20px 0; }

/* --- about / careers / advertise / videos --- */
.aq-static-hero { padding: 56px 48px; text-align: center; border-bottom: 1px solid var(--border); background: var(--surface); }
.aq-static-hero h1 { font-size: 34px; margin-bottom: 12px; }
.aq-static-hero p { max-width: 620px; margin: 0 auto; color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.aq-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 800px) { .aq-values-grid { grid-template-columns: 1fr; } }
.aq-value-card { padding: 24px; }
.aq-value-card h3 { font-size: 17px; margin-bottom: 8px; }
.aq-value-card p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.aq-stats-row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; padding: 0 48px 48px; }
.aq-stat { text-align: center; }
.aq-stat .num { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: var(--brand); }
.aq-stat .label { font-size: 13px; color: var(--text-muted); }

.aq-job-list { display: flex; flex-direction: column; gap: 16px; }
.aq-job-row { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; flex-wrap: wrap; gap: 10px; }
.aq-job-row .role { font-weight: 700; font-size: 15px; }
.aq-job-row .meta { font-size: 13px; color: var(--text-muted); }

.aq-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .aq-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .aq-video-grid { grid-template-columns: 1fr; } }
.aq-video-thumb { position: relative; height: 170px; border-radius: 10px; overflow: hidden; }
.aq-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.aq-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: rgba(28,27,34,.75);
  display: flex; align-items: center; justify-content: center;
}

/* --- contact form --- */
.aq-contact-grid { display: flex; gap: 48px; padding: 48px; flex-wrap: wrap; }
.aq-contact-form { flex: 1.4 1 420px; display: flex; flex-direction: column; gap: 18px; }
.aq-field { display: flex; flex-direction: column; gap: 6px; }
.aq-field label { font-size: 13px; font-weight: 600; }
.aq-field input, .aq-field textarea {
  border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 14px; background: var(--surface);
}
.aq-field textarea { resize: vertical; min-height: 120px; }
.aq-contact-info { flex: 1 1 280px; display: flex; flex-direction: column; gap: 20px; }
.aq-contact-info .aq-card { padding: 20px; }
.aq-contact-info h3 { font-size: 15px; margin-bottom: 6px; }
.aq-contact-info p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* --- footer --- */
.aq-footer { background: #1C1B22; color: #B7B4BF; padding: 56px 48px 32px; }
.aq-footer-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .aq-footer-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .aq-footer-cols { grid-template-columns: repeat(2, 1fr); } }
.aq-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.aq-footer-brand .aq-logo { font-size: 24px; color: #fff; }
.aq-footer-brand .aq-logo:hover { color: #fff; }
.aq-footer-brand p { margin: 0; font-size: 13px; line-height: 1.6; max-width: 220px; }
.aq-social { display: flex; gap: 14px; margin-top: 6px; }
.aq-footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.aq-footer-col span.title { color: #fff; font-weight: 700; margin-bottom: 4px; }
.aq-footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 24px; margin-top: 40px; border-top: 1px solid #34323C; font-size: 12px;
}

/* --- mobile nav --- */
@media (max-width: 900px) {
  .aq-menu-btn { display: flex; }
  .aq-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start;
    gap: 0; max-height: 0; overflow: hidden; transition: max-height .25s ease;
    z-index: 20;
  }
  .aq-nav.open { max-height: 400px; }
  .aq-nav a { padding: 14px 24px; width: 100%; }
  .aq-nav a:hover { background: #F5F3EF; }
}
@media (max-width: 700px) {
  .aq-utility, .aq-header, .aq-ticker, .aq-hero, .aq-section, .aq-footer, .aq-page-header, .aq-article-wrap, .aq-static-hero, .aq-contact-grid, .aq-legal { padding-left: 20px; padding-right: 20px; }
  .aq-legal { padding-top: 32px; padding-bottom: 32px; }
}
