/* ================================================
   OptimicPress — Dynamic Express
   Design System & Styles
   ================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --black: #0a0a0a;
  --black-light: #141414;
  --black-card: #1a1a1a;
  --red: #c8102e;
  --red-dark: #9b0d23;
  --red-glow: rgba(200, 16, 46, 0.3);
  --gold: #d4a843;
  --gold-light: #e8c96a;
  --gold-glow: rgba(212, 168, 67, 0.25);
  --grey: #2a2a2a;
  --grey-mid: #555;
  --grey-light: #b0b0b0;
  --white: #f5f5f5;
  --white-pure: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --gap: 2rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.6s ease;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 20px rgba(212, 168, 67, 0.15);
  --shadow-red: 0 0 30px rgba(200, 16, 46, 0.2);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey-light);
  max-width: 600px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

.text-center .section-label {
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white-pure);
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 16, 46, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav-logo-img {
  height: 70px;
  width: auto;
  transition: height var(--transition-base), filter var(--transition-base);
  mix-blend-mode: screen;
  filter: brightness(1.15) contrast(1.05) drop-shadow(0 0 1px rgba(255,255,255,0.1));
}

.navbar.scrolled .nav-logo-img {
  height: 56px;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.15) contrast(1.05) drop-shadow(0 0 1px rgba(255,255,255,0.1));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-light);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white-pure);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

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

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    rgba(155, 13, 35, 0.2) 70%,
    rgba(10, 10, 10, 0.8) 100%
  );
}

/* Diagonal gold accent line */
.hero-bg::before {
  content: '';
  position: absolute;
  top: -10%;
  right: 15%;
  width: 1px;
  height: 140%;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0.15;
  transform: rotate(15deg);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 16, 46, 0.15);
  border: 1px solid rgba(200, 16, 46, 0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--red-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 0.6rem;
  color: var(--white-pure);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--red), #ff4060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slogan {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--grey-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey);
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--grey-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Hero Visual Side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device-showcase {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-device-showcase img {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 60px rgba(200, 16, 46, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Glowing ring behind the device */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* ================================================
   ABOUT
   ================================================ */
.about {
  padding: var(--section-padding);
  background: var(--black);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--grey-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--black-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey);
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateX(5px);
}

.value-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.value-icon.innovation {
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.2), rgba(200, 16, 46, 0.05));
  color: var(--red);
}

.value-icon.quality {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.2), rgba(212, 168, 67, 0.05));
  color: var(--gold);
}

.value-icon.trust {
  background: linear-gradient(135deg, rgba(245, 245, 245, 0.15), rgba(245, 245, 245, 0.05));
  color: var(--white);
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 0.3rem;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--grey-light);
  line-height: 1.6;
  margin: 0;
}

/* ================================================
   PRODUCTS
   ================================================ */
.products {
  padding: var(--section-padding);
  background: var(--black-light);
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey), transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-top: 3.5rem;
}

.product-card {
  position: relative;
  background: var(--black-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  group: true;
}

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover), 0 0 30px var(--gold-glow);
}

.product-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--black), #111);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

/* Coming Soon overlay */
.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(200, 16, 46, 0.9);
  backdrop-filter: blur(10px);
  color: var(--white-pure);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.4); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.product-card-info {
  padding: 1.5rem;
  text-align: center;
}

.product-card-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 0.4rem;
}

.product-card-info p {
  font-size: 0.85rem;
  color: var(--grey-light);
  line-height: 1.5;
}

.product-card-info .product-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  margin: 0.8rem auto;
  border-radius: 2px;
}

/* ================================================
   SERVICES
   ================================================ */
.services {
  padding: var(--section-padding);
  background: var(--black-light);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey);
  padding: 2.2rem;
  position: relative;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--red), var(--gold), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.25;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 67, 0.25);
  box-shadow: var(--shadow-card-hover), 0 0 30px var(--red-glow);
}

.service-card:hover::before {
  opacity: 0.8;
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--grey-light);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 1px;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.15), rgba(200, 16, 46, 0.03));
  color: var(--red);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Alternate icons styles for visual diversity */
.service-card:nth-child(even) .service-icon {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.03));
  color: var(--gold);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--grey-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  margin-top: auto;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.service-price span {
  font-size: 0.9rem;
  color: var(--grey-light);
  font-weight: 500;
  text-transform: lowercase;
}

.service-price.coffee {
  font-size: 1.35rem;
  color: var(--red);
  letter-spacing: 0.5px;
}

.service-features {
  border-top: 1px solid var(--grey);
  padding-top: 1.2rem;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--grey-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li svg {
  color: var(--gold);
  flex-shrink: 0;
}

.service-features li.excluded {
  opacity: 0.65;
}

.service-features li.excluded svg {
  color: var(--red);
}

.service-cta {
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.88rem;
  border-radius: 12px;
}

/* ================================================
   WHY CHOOSE US
   ================================================ */
.why-us {
  padding: var(--section-padding);
  background: var(--black);
  position: relative;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey), transparent);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.why-card {
  padding: 2.5rem;
  background: var(--black-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.why-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.15), rgba(200, 16, 46, 0.05));
  color: var(--red);
}

.why-card:nth-child(2) .why-icon {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.05));
  color: var(--gold);
}

.why-card:nth-child(3) .why-icon {
  background: linear-gradient(135deg, rgba(245, 245, 245, 0.1), rgba(245, 245, 245, 0.03));
  color: var(--white);
}

.why-card:nth-child(4) .why-icon {
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.15), rgba(212, 168, 67, 0.1));
  color: var(--gold-light);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 0.7rem;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--grey-light);
  line-height: 1.7;
}

/* ================================================
   CONTACT
   ================================================ */
.contact {
  padding: var(--section-padding);
  background: var(--black-light);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.15), rgba(200, 16, 46, 0.05));
  color: var(--red);
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 0.2rem;
}

.contact-item p,
.contact-item a {
  font-size: 0.9rem;
  color: var(--grey-light);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-card);
  border: 1px solid var(--grey);
  color: var(--grey-light);
  font-size: 1.1rem;
  transition: all var(--transition-base);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* Contact Form */
.contact-form {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey);
  padding: 2.5rem;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--black);
  border: 1px solid var(--grey);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey-mid);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit-btn {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
  font-size: 1rem;
  padding: 15px 32px;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--black);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--grey);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--grey);
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--grey-light);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--grey-light);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-col ul a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--grey-mid);
}

.footer-bottom p a {
  color: var(--gold);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--grey-mid);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ================================================
   BACK TO TOP
   ================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-pure);
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px var(--red-glow);
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200, 16, 46, 0.5);
}

/* ================================================
   RESPONSIVE
   ================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-description {
    margin: 0 auto 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right var(--transition-base);
    border-left: 1px solid var(--grey);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .hero-stat {
    text-align: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}
