/*
Theme Name: American Airframe
Theme URI: https://americanairframe.com
Author: American Airframe
Author URI: https://americanairframe.com
Description: A tactical dark-mode military aviation theme built for raw content, video archives, flight sim affiliate reviews, and RSS feed aggregation. Optimized for speed and Google AdSense compliance.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: americanairframe
*/

/* ============================================
   CSS VARIABLES — TACTICAL DARK MODE
   ============================================ */
:root {
  --bg-primary: #0d0d0d;
  --bg-secondary: #1a1a1a;
  --bg-card: #141414;
  --bg-card-hover: #1f1f1f;
  --bg-input: #222222;
  --text-primary: #e8e6e3;
  --text-secondary: #9a9a9a;
  --text-muted: #666666;
  --accent-yellow: #f5c518;
  --accent-red: #e02020;
  --accent-yellow-dim: rgba(245,197,24,0.15);
  --accent-red-dim: rgba(224,32,32,0.12);
  --border-color: #2a2a2a;
  --border-light: #333333;
  --font-head: 'Black Ops One', cursive;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow-yellow: 0 0 20px rgba(245,197,24,0.15);
  --shadow-glow-red: 0 0 20px rgba(224,32,32,0.12);
  --max-width: 1280px;
  --transition: 0.25s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
}

a { color: var(--accent-yellow); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ffd94a; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

h1 { font-size: 42px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { margin-bottom: 16px; }

/* ============================================
   LAYOUT
   ============================================ */
.aa-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.aa-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-top: 30px;
}

#primary { min-width: 0; }
#secondary { min-width: 0; }

/* ============================================
   HEADER — COMMAND BAR
   ============================================ */
.aa-header {
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--accent-yellow);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.aa-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.aa-logo {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.aa-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #000;
  font-family: var(--font-head);
  border-radius: 4px;
}

.aa-logo span.logo-accent { color: var(--accent-yellow); }

/* NAV */
.aa-nav { display: flex; align-items: center; gap: 0; }

.aa-nav a {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 24px 18px;
  position: relative;
  transition: color var(--transition);
}

.aa-nav a:hover,
.aa-nav a.active {
  color: var(--accent-yellow);
}

.aa-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--accent-yellow);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.aa-nav a:hover::after,
.aa-nav a.active::after {
  transform: scaleX(1);
}

/* Mobile menu toggle */
.aa-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.aa-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-yellow);
  margin: 5px 0;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.aa-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
}

.aa-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.6) 60%,
    rgba(13,13,13,1) 100%
  );
  z-index: 2;
}

.aa-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.aa-hero-bg img,
.aa-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.aa-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 60px 24px;
}

.aa-hero h1 {
  font-size: 52px;
  margin-bottom: 16px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.8);
}

.aa-hero h1 .highlight { color: var(--accent-yellow); }

.aa-hero-tagline {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent-yellow);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.9;
}

.aa-hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Scanline overlay effect */
.aa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.aa-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.aa-section-header h2 {
  font-size: 22px;
  white-space: nowrap;
}

.aa-section-header .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-light), transparent);
}

.aa-section-header .badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-yellow);
  background: var(--accent-yellow-dim);
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================
   VIDEO CARDS / POST CARDS
   ============================================ */
.aa-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.aa-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.aa-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-yellow);
  box-shadow: var(--shadow-glow-yellow);
}

.aa-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
}

.aa-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.aa-card:hover .aa-card-thumb img {
  transform: scale(1.05);
}

.aa-card-thumb .category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 2;
}

.badge-fifth-gen { background: var(--accent-red); color: #fff; }
.badge-cas { background: var(--accent-yellow); color: #000; }
.badge-rotary { background: #1a8cff; color: #fff; }
.badge-sim { background: #00cc66; color: #000; }
.badge-news { background: #9a4dff; color: #fff; }
.badge-rss { background: var(--text-muted); color: #fff; }

.aa-card-body {
  padding: 16px;
}

.aa-card-body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.aa-card-body h3 a { color: inherit; }
.aa-card-body h3 a:hover { color: var(--accent-yellow); }

.aa-card-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.aa-card-meta .source {
  color: var(--accent-yellow);
  font-weight: 600;
}

/* ============================================
   LATEST DROP — FEATURED VIDEO
   ============================================ */
.aa-latest-drop {
  margin: 40px 0;
}

.aa-video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.aa-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   FUNNEL BLOCKS — 3-Column CTA
   ============================================ */
.aa-funnel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 50px 0;
}

.aa-funnel-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.aa-funnel-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.aa-funnel-block.vault-block:hover { border-color: var(--accent-red); box-shadow: var(--shadow-glow-red); }
.aa-funnel-block.sim-block:hover { border-color: var(--accent-yellow); box-shadow: var(--shadow-glow-yellow); }
.aa-funnel-block.network-block:hover { border-color: #1a8cff; box-shadow: 0 0 20px rgba(26,140,255,0.15); }

.aa-funnel-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.aa-funnel-block h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.aa-funnel-block p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.aa-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 24px;
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.aa-btn-yellow {
  background: var(--accent-yellow);
  color: #000;
}
.aa-btn-yellow:hover {
  background: #ffd94a;
  color: #000;
  box-shadow: var(--shadow-glow-yellow);
}

.aa-btn-red {
  background: var(--accent-red);
  color: #fff;
}
.aa-btn-red:hover {
  background: #ff3333;
  color: #fff;
  box-shadow: var(--shadow-glow-red);
}

.aa-btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.aa-btn-outline:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

/* ============================================
   CATEGORY TABS (for Vault page)
   ============================================ */
.aa-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border-color);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.aa-tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 14px 22px;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  position: relative;
  transition: color var(--transition);
}

.aa-tab:hover { color: var(--text-primary); }

.aa-tab.active {
  color: var(--accent-yellow);
}

.aa-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-yellow);
}

/* ============================================
   SIDEBAR
   ============================================ */
.aa-sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.aa-sidebar-widget h4 {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  color: var(--accent-yellow);
}

.aa-sidebar-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition);
}

.aa-sidebar-item:last-child { border-bottom: none; }

.aa-sidebar-item:hover { background: var(--bg-card-hover); margin: 0 -10px; padding: 10px; border-radius: 4px; }

.aa-sidebar-item .thumb {
  width: 80px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #222;
}

.aa-sidebar-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aa-sidebar-item .info h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.aa-sidebar-item .info span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* RSS FEED TICKER */
.aa-ticker {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}

.aa-ticker-inner {
  display: inline-block;
  animation: tickerScroll 40s linear infinite;
}

.aa-ticker-item {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  padding: 0 30px;
}

.aa-ticker-item .label {
  color: var(--accent-red);
  font-weight: 700;
  margin-right: 8px;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SIM HANGAR — PRODUCT CARDS
   ============================================ */
.aa-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.aa-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.aa-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-yellow);
  box-shadow: var(--shadow-glow-yellow);
}

.aa-product-card .product-img {
  width: 100%;
  padding-top: 75%;
  position: relative;
  background: #1a1a1a;
}

.aa-product-card .product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.aa-product-card .product-info {
  padding: 16px;
}

.aa-product-card .product-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.aa-product-card .product-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.aa-product-card .product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.aa-product-card .product-price {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--accent-yellow);
  margin-bottom: 12px;
}

/* ============================================
   SINGLE POST
   ============================================ */
.aa-single-header {
  padding: 40px 0 20px;
}

.aa-single-header .cat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 3px;
}

.aa-single-header h1 {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.aa-single-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.aa-single-meta .author { color: var(--accent-yellow); }

.aa-single-featured {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
  border: 1px solid var(--border-color);
}

/* Post content */
.aa-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
}

.aa-content h2 {
  font-size: 26px;
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.aa-content h3 {
  font-size: 20px;
  margin: 28px 0 10px;
  color: var(--accent-yellow);
}

.aa-content p { margin-bottom: 18px; }

.aa-content ul, .aa-content ol { margin: 0 0 18px 24px; }
.aa-content li { margin-bottom: 8px; }

.aa-content a { color: var(--accent-yellow); text-decoration: underline; text-underline-offset: 3px; }
.aa-content a:hover { color: #ffd94a; }

.aa-content img {
  border-radius: var(--radius);
  margin: 20px 0;
  border: 1px solid var(--border-color);
}

.aa-content blockquote {
  border-left: 4px solid var(--accent-yellow);
  padding: 14px 20px;
  margin: 24px 0;
  background: var(--accent-yellow-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.aa-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.aa-content th {
  background: var(--accent-yellow);
  color: #000;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.aa-content td { padding: 10px 14px; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.aa-content tr:nth-child(even) td { background: var(--bg-card); }

/* ============================================
   FOOTER
   ============================================ */
.aa-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.aa-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.aa-footer h4 {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--accent-yellow);
  margin-bottom: 16px;
}

.aa-footer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.aa-footer-links {
  list-style: none;
}

.aa-footer-links li { margin-bottom: 8px; }

.aa-footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.aa-footer-links a:hover { color: var(--accent-yellow); }

.aa-footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aa-footer-bottom p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   RSS FEED SECTION
   ============================================ */
.aa-rss-section {
  margin: 40px 0;
}

.aa-rss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.aa-rss-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color var(--transition), transform var(--transition);
}

.aa-rss-item:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
}

.aa-rss-item .rss-source {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.aa-rss-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: 8px;
}

.aa-rss-item h4 a { color: var(--text-primary); }
.aa-rss-item h4 a:hover { color: var(--accent-yellow); }

.aa-rss-item .rss-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================
   PAGINATION
   ============================================ */
.aa-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}

.aa-pagination a,
.aa-pagination span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: all var(--transition);
}

.aa-pagination a:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

.aa-pagination .current {
  background: var(--accent-yellow);
  color: #000;
  border-color: var(--accent-yellow);
}

/* ============================================
   AFFILIATE DISCLOSURE
   ============================================ */
.aa-affiliate-notice {
  background: var(--accent-yellow-dim);
  border-left: 4px solid var(--accent-yellow);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 32px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.aa-affiliate-notice strong { color: var(--accent-yellow); }

/* General disclosure */
.aa-disclosure {
  background: var(--bg-card);
  border-left: 4px solid var(--border-light);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 1024px) {
  .aa-wrap {
    grid-template-columns: 1fr;
  }
  .aa-funnel {
    grid-template-columns: 1fr 1fr;
  }
  .aa-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .aa-header-inner { height: 60px; }

  .aa-logo { font-size: 18px; }

  .aa-nav { 
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    border-bottom: 2px solid var(--accent-yellow);
    z-index: 999;
  }

  .aa-nav.active { display: flex; }

  .aa-nav a { padding: 16px 24px; border-bottom: 1px solid var(--border-color); }

  .aa-menu-toggle { display: block; }

  .aa-hero { min-height: 360px; }
  .aa-hero h1 { font-size: 32px; }
  .aa-hero-sub { font-size: 15px; }

  .aa-funnel { grid-template-columns: 1fr; }

  .aa-card-grid { grid-template-columns: 1fr; }

  .aa-single-header h1 { font-size: 26px; }

  .aa-footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .aa-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .aa-container { padding: 0 16px; }

  .aa-wrap { gap: 24px; margin-top: 20px; }
}

@media (max-width: 480px) {
  .aa-hero h1 { font-size: 26px; }
  .aa-hero-tagline { font-size: 12px; letter-spacing: 2px; }
  .aa-product-grid { grid-template-columns: 1fr; }
}
