/* Eluxin Tech - Global Styles */
:root {
  --primary: #0a1628;
  --primary-light: #1a2d4a;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-gray: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
}

.logo img {
  height: 36px;
}

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

nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

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

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.5);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 500px;
}

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

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* Stats */
.stats {
  background: var(--bg-gray);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* Section */
.section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 17px;
  color: var(--text-light);
}

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

.capability-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.capability-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
}

.capability-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.capability-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Why Choose Us */
.why-us {
  background: var(--bg-gray);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.why-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 15px;
  color: var(--text-light);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 30px;
  font-size: 24px;
  color: var(--accent);
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-light);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

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

.footer-brand h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
}

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

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

.footer-col a {
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 140px 0 80px;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* About Page */
.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 60px 0;
}

.about-stat {
  text-align: center;
  padding: 32px;
  background: var(--bg-gray);
  border-radius: 12px;
}

.about-stat h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.about-stat p {
  font-size: 14px;
  color: var(--text-light);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 2;
  text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-year {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 15px;
  color: var(--text-light);
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 60px 0;
}

.mission-card, .vision-card {
  padding: 40px;
  background: var(--bg-gray);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.mission-card h3, .vision-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.mission-card p, .vision-card p {
  font-size: 16px;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.8;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.compliance-item {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}

.compliance-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.compliance-item p {
  font-size: 13px;
  color: var(--text-light);
}

/* Products Page */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-image {
  height: 240px;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-image img {
  max-height: 200px;
  object-fit: contain;
}

.product-info {
  padding: 28px;
}

.product-moq {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.product-specs {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.contact-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 15px;
  color: var(--text-light);
}

.contact-form {
  background: var(--bg-gray);
  padding: 40px;
  border-radius: 12px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

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

/* Responsive */
@media (max-width: 968px) {
  .hero-content,
  .contact-grid,
  .mission-vision {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 40px;
  }

  .capabilities-grid,
  .why-grid,
  .products-grid,
  .compliance-grid {
    grid-template-columns: 1fr;
  }

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

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

  .process-step:not(:last-child)::after {
    display: none;
  }

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

  nav {
    display: none;
  }

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

@media (max-width: 576px) {
  .hero h1 {
    font-size: 32px;
  }

  .section-header h2 {
    font-size: 28px;
  }

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

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

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

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