/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* CSS VARIABLES */
:root {
  --primary: #ff5500;
  --primary-light: #ff7733;
  --dark: #0a0e17;
  --darker: #060a10;
  --navy: #0d1829;
  --slate: #1a2438;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --gradient-1: linear-gradient(135deg, #ff5500 0%, #ff8533 100%);
  --gradient-2: linear-gradient(180deg, #0a0e17 0%, #1a2438 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

/* UTILITY CLASSES */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 20px;
  padding: 8px 16px;
  border: 1px solid var(--primary);
  border-radius: 30px;
}

/* ========== HEADER ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  background: var(--navy);
}

header.scrolled {
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(20px);
  padding: 14px 50px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo-container {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.logo-text span {
  color: var(--primary);
}

header nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

header nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

header nav a:hover {
  color: #fff;
  background: rgba(255, 85, 0, 0.15);
}

header nav a.btn-nav {
  background: var(--primary);
  color: #fff;
}

header nav a.btn-nav:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ========== MOBILE NAV ========== */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--darker);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 85, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 85, 0, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  opacity: 0.4;
  background: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

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

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.hero .hero-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 20px;
  max-width: 600px;
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 8px 30px rgba(255, 85, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 85, 0, 0.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.stat-item {
  background: var(--navy);
  padding: 50px 30px;
  text-align: center;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 120px 0;
}

.section-dark {
  background: var(--darker);
}

.section-navy {
  background: var(--navy);
}

.section-gradient {
  background: var(--gradient-2);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.15rem;
  line-height: 1.8;
}

/* ========== PRODUCTS GRID ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 85, 0, 0.3);
  background: rgba(255, 85, 0, 0.05);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.product-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #fff;
}

.product-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.product-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 500;
  color: var(--primary);
}

/* ========== PRODUCT DETAIL (Products Page) ========== */
.product-detail {
  max-width: 900px;
}

.product-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.product-detail-header .product-icon {
  flex-shrink: 0;
}

.product-detail-header h2 {
  font-size: 2.4rem;
  margin-bottom: 4px;
}

.product-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.product-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.product-cta-row {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ========== SPECS TABLE ========== */
.specs-table-wrapper {
  margin-bottom: 20px;
}

.specs-table-wrapper h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 32px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.specs-table-wrapper h3:first-child {
  margin-top: 0;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.specs-table td {
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  vertical-align: top;
}

.specs-table td:first-child {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  width: 45%;
  padding-right: 24px;
}

.specs-table td:last-child {
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
}

/* ========== EXPORT NOTICE ========== */
.export-notice {
  background: rgba(255, 85, 0, 0.08);
  border-top: 1px solid rgba(255, 85, 0, 0.2);
  border-bottom: 1px solid rgba(255, 85, 0, 0.2);
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.3px;
}

/* ========== CAPABILITIES ========== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.capability-item {
  text-align: center;
  padding: 40px 30px;
}

.capability-icon {
  font-size: 3rem;
  margin-bottom: 24px;
}

.capability-item h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

/* ========== SHOWCASE ========== */
.showcase-section {
  position: relative;
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.showcase-text h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}

.showcase-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.showcase-list {
  list-style: none;
  margin: 30px 0;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: var(--text-muted);
}

.showcase-list li::before {
  content: '\2192';
  color: var(--primary);
  font-weight: bold;
}

.showcase-image {
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== CONTACT FORM ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 48px 40px;
}

.contact-form-wrapper h3 {
  font-size: 1.6rem;
  margin-bottom: 32px;
  color: #fff;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 85, 0, 0.05);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='rgba(255,255,255,0.5)'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--dark);
  color: #fff;
}

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

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.contact-info-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-info-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-item a {
  font-size: 1rem;
  color: #fff;
}

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

/* Form states */
.form-success {
  text-align: center;
  padding: 60px 20px;
}

.form-success h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 16px;
}

.form-success p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.copy-block {
  margin-top: 24px;
  text-align: left;
}

.copy-block pre {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
  max-height: 300px;
  overflow-y: auto;
}

.copy-btn {
  font-size: 0.85rem !important;
  padding: 10px 24px !important;
}

.form-error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #fca5a5;
}

/* ========== CERTIFICATIONS GRID ========== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
}

.cert-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.cert-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========== HERITAGE SECTION ========== */
.heritage-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.heritage-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 32px;
}

.heritage-item h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}

.heritage-item p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer-certs {
  margin-top: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-export {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========== CTA SECTION ========== */
.cta-section {
  text-align: center;
  padding: 140px 0;
  background:
    radial-gradient(ellipse at center, rgba(255, 85, 0, 0.2) 0%, transparent 60%),
    var(--darker);
}

.cta-section h2 {
  font-size: 3.2rem;
  margin-bottom: 24px;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ========== FOOTER ========== */
footer {
  background: #000;
  padding: 80px 0 40px;
}

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

.footer-brand p {
  margin-top: 20px;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 24px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

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

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

  .showcase-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .heritage-items {
    grid-template-columns: 1fr;
  }

  .product-detail-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 20px;
  }

  .header-logo {
    height: 34px;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  header nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 23, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
  }

  header nav.nav-open {
    display: flex;
  }

  header nav a {
    font-size: 1.2rem;
    padding: 16px 32px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 80px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

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

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

  .container {
    padding: 0 20px;
  }

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

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .certs-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .product-detail-header h2 {
    font-size: 1.8rem;
  }

  .product-cta-row {
    flex-direction: column;
  }

  .product-cta-row .btn {
    justify-content: center;
  }

  .specs-table td:first-child {
    width: 50%;
  }
}
