/* =============================================
   RTB MACHINERY - MAIN STYLESHEET
   rtbmachine.com
   Industrial Dark Theme
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0f1923;
  --primary-dark: #0a1018;
  --primary-light: #1a2e3d;
  --green: #1a6b4f;
  --green-light: #22916a;
  --green-dark: #145540;
  --accent: #f0a030;
  --accent-dark: #d88a20;
  --accent-light: #ffc05c;
  --text: #e8eef3;
  --text-light: #9aabb8;
  --text-muted: #5e7382;
  --bg: #f4f6f8;
  --bg-card: #ffffff;
  --bg-dark: #0f1923;
  --bg-section: #141f2b;
  --white: #ffffff;
  --border: #1e3345;
  --border-light: #253a4d;
  --shadow: 0 4px 24px rgba(0,0,0,0.20);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.30);
  --shadow-accent: 0 6px 20px rgba(240,160,48,0.25);
  --radius: 8px;
  --radius-lg: 14px;
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ar: 'Noto Sans Arabic', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
html[dir="rtl"] { direction: rtl; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-dark);
  line-height: 1.7;
  font-size: 15px;
}
html[dir="rtl"] body { font-family: var(--font-ar); }

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

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

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

ul { list-style: none; }

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.btn-outline-sm {
  padding: 8px 18px;
  font-size: 13px;
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.btn-outline-sm:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,107,79,0.35);
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ---- Section Common ---- */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-dark); }
.section-alt { background: var(--bg-section); }

.section-tag {
  display: inline-block;
  background: rgba(26,107,79,0.15);
  color: var(--green-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(26,107,79,0.25);
}
.section-tag--accent {
  background: rgba(240,160,48,0.12);
  color: var(--accent);
  border-color: rgba(240,160,48,0.25);
}

.section-title {
  font-size: 32px;
  color: var(--text);
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 40px;
}
.section-header.centered {
  text-align: center;
}
.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--primary-light);
  border-radius: 6px;
  padding: 3px;
  border: 1px solid var(--border);
}
.lang-btn {
  padding: 5px 10px;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font);
  letter-spacing: 0.3px;
}
html[dir="rtl"] .lang-btn { font-family: var(--font-ar); }
.lang-btn:hover {
  color: var(--accent);
  background: rgba(240,160,48,0.1);
}
.lang-btn.active {
  background: var(--accent);
  color: var(--primary-dark);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
#header.scrolled {
  background: var(--primary-dark);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 2px;
}
.logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav a {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
}
nav a:hover,
nav a.active {
  color: var(--white);
  background: var(--primary-light);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-dark);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 8px;
  transition: all var(--transition);
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--white);
  background: var(--primary-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: var(--primary-dark);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26,107,79,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(240,160,48,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-block;
  background: rgba(26,107,79,0.2);
  color: var(--green-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(26,107,79,0.3);
}
.hero-badge--accent {
  background: rgba(240,160,48,0.15);
  color: var(--accent);
  border-color: rgba(240,160,48,0.3);
}
.hero h1 {
  font-size: 44px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span {
  color: var(--accent);
}
.hero p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero slider dots */
.hero-slider-dots {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}
.hero-dot {
  width: 40px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.hero-dot.active {
  background: var(--accent);
  width: 60px;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--green-dark);
  padding: 32px 0;
  border-top: 1px solid rgba(26,107,79,0.3);
  border-bottom: 1px solid rgba(26,107,79,0.3);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-item .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.product-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--primary);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.05);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card-body {
  padding: 20px;
}
.product-card-category {
  font-size: 11px;
  color: var(--green-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.product-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.product-card-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card-model {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
}

/* Products page filter */
.products-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.products-search {
  flex: 1;
  min-width: 200px;
  padding: 10px 16px;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  outline: none;
}
.products-search:focus {
  border-color: var(--green);
}

/* Product detail */
.product-detail-hero {
  padding: 120px 0 60px;
  background: var(--primary-dark);
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--primary);
}
.product-gallery-main img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  background: var(--primary);
}
.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.product-gallery-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  opacity: 0.6;
}
.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
  border-color: var(--accent);
  opacity: 1;
}

.product-info { }
.product-info h1 {
  font-size: 28px;
  margin-bottom: 8px;
}
.product-info .model-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.product-info .description {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.8;
}

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.specs-table tr:nth-child(even) {
  background: rgba(255,255,255,0.03);
}
.specs-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
  width: 40%;
}
.specs-table td:last-child {
  color: var(--text);
}

/* Features list */
.features-list {
  margin-bottom: 24px;
}
.features-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-light);
  font-size: 14px;
}
html[dir="rtl"] .features-list li { padding-left: 0; padding-right: 28px; }
.features-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-size: 13px;
}
html[dir="rtl"] .features-list li::before { left: auto; right: 0; }

/* ============================================
   ABOUT / APPLICATIONS
   ============================================ */
.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.about-feat-card {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.about-feat-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.about-feat-card .feat-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 16px;
}
.about-feat-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.about-feat-card p {
  color: var(--text-light);
  font-size: 14px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.app-card {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}
.app-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
}
.app-card .app-icon {
  font-size: 42px;
  color: var(--green-light);
  margin-bottom: 16px;
}
.app-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.app-card p {
  color: var(--text-light);
  font-size: 14px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--primary) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 32px;
}
.cta-section .btn {
  margin: 0 8px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-card i {
  font-size: 22px;
  color: var(--accent);
  margin-top: 2px;
}
.contact-card h4 {
  font-size: 14px;
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 14px;
  color: var(--text-light);
}
.contact-card a {
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group { margin-bottom: 0; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
}
html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group textarea { font-family: var(--font-ar); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.form-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--transition);
}
@media (max-width: 480px) {
  .form-actions { flex-direction: column; }
  .form-actions .btn { flex: unset; width: 100%; }
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--primary-dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.8;
}
.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 2px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact-item i {
  color: var(--green-light);
  font-size: 14px;
  margin-top: 4px;
}
.footer-contact-item p {
  color: var(--text-muted);
  font-size: 14px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 16px 0;
  background: var(--primary-dark);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb .current { color: var(--text-light); font-weight: 500; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
  box-shadow: var(--shadow);
}
html[dir="rtl"] .back-to-top { right: auto; left: 30px; }
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 120px 0 40px;
  background: var(--primary-dark);
  text-align: center;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(26,107,79,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}
.page-header p {
  color: var(--text-light);
  font-size: 16px;
  position: relative;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-image { display: none; }
  .hero h1 { font-size: 36px; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .hero { min-height: auto; padding: 100px 0 48px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .section-title { font-size: 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  nav { display: none; }
  .hamburger { display: block; }

  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item .stat-number { font-size: 30px; }

  .product-card-image { height: 200px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 24px; }
  .hero-btns { flex-direction: column; }
  .btn { padding: 10px 20px; font-size: 13px; }
  .page-header h1 { font-size: 26px; }
  .page-header { padding: 96px 0 32px; }
}
