﻿/* Import Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Design Tokens & Theme Variables */
:root {
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Color Palette */
  --primary: #00a4f4;          /* Electric Blue (Control Tech Theme) */
  --primary-hover: #008cd1;
  --secondary: #0f172a;        /* Slate Dark (Titles & Secondary Text) */
  --accent: #ff7a00;           /* Action Orange (High conversion CTA) */
  --accent-hover: #e06b00;
  
  --bg-white: #ffffff;
  --bg-light: #f8fafc;         /* Light Ice Grey (Section background alternates) */
  --bg-dark: #0b0f19;          /* Deep Slate for Footer */
  
  --text-main: #1e293b;        /* Charcoal for body text */
  --text-muted: #64748b;       /* Muted grey for descriptions */
  --text-light: #f8fafc;       /* Muted text on dark background */
  
  --border-color: #e2e8f0;
  --border-focus: #00a4f4;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-accent: 0 4px 14px 0 rgba(255, 122, 0, 0.4);
  
  /* Transitions */
  --transition-fast: all 0.15s ease-in-out;
  --transition-normal: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global resets & Base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--text-main);
  background-color: var(--bg-white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .btn, .nav-logo {
  font-family: var(--font-family);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
  color: var(--text-main);
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-light);
}

/* Header Component */
.header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  height: 45px;
  display: block;
}

.header-partner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-partner .badge {
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.header-partner img {
  height: 20px;
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  color: #ffffff;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.75) 100%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.75rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-content .highlight {
  color: var(--primary);
}

.hero-content p.subtitle {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-bullet-item {
  color: #f1f5f9;
}

.hero-bullets {
  margin-bottom: 2rem;
}

.hero-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-bullet-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: var(--transition-fast);
  gap: 0.5rem;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--bg-white);
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-whatsapp-float {
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.05);
}

/* Lead Form Card */
.form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.form-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.375rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 164, 244, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* Product Cards Grid */
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.product-image-wrapper {
  height: 180px;
  background-color: #f8fafc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid #f1f5f9;
}

.product-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-normal);
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.product-features {
  list-style: none;
}

.product-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Benefits & Engineering Section */
.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.benefits-list {
  margin-top: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.benefit-icon-wrapper {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.benefit-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--secondary);
}

.benefit-text p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin: 0;
}

/* Mockup Image Generator Frame */
.mockup-frame {
  position: relative;
  background-color: #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Locations & Shipping Section */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.locations-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.location-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 6px;
}

.location-item h4 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.location-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.shipping-box {
  background-color: var(--secondary);
  color: var(--bg-light);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.shipping-box h3 {
  color: var(--bg-white);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.shipping-badge {
  display: inline-block;
  background-color: rgba(0, 164, 244, 0.2);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.shipping-box p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Footer Section */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 0;
  border-top: 1px solid #1e293b;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-logos img {
  height: 35px;
  opacity: 0.8;
}

/* Modal / WhatsApp-Gate Backdrop */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: var(--bg-white);
  border-radius: 10px;
  width: 100%;
  max-width: 450px;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--secondary);
}

.modal-header h3 {
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  padding-right: 1.5rem;
}

.modal-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.modal-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Responsiveness Settings */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
  
  .header-nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .header-partner {
    justify-content: center;
  }
  
  .locations-list {
    grid-template-columns: 1fr;
  }
  
  .footer-layout {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
