/* theme.css */
:root {
  /* Colors */
  --primary-color: #0f172a; /* Deep Blue - Professional/Industrial */
  --secondary-color: #334155; /* Slate - Secondary text/bg */
  --accent-color: #f97316; /* Orange - CTA/Highlights */
  --accent-hover: #ea580c;
  --background-light: #f8fafc;
  --white: #ffffff;
  --text-main: #1e293b;
  --text-light: #64748b;
  --border-color: #e2e8f0;

  /* Typography */
  --font-main: "Noto Sans SC", system-ui, -apple-system, sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 5rem 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

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

.text-center {
  text-align: center;
}
.text-primary {
  color: var(--primary-color);
}
.text-accent {
  color: var(--accent-color);
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
}

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

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

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

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

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

/* Components */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--secondary-color);
}

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

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  background-color: #0f172a;
  background-image: 
    radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
    radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
    radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
  color: var(--white);
  padding: 10rem 0 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-text p {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Products Section */
.products {
  padding: var(--section-padding);
  background-color: var(--background-light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.product-icon-wrapper {
  height: 160px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 4rem;
  transition: var(--transition-normal);
}

.product-card:hover .product-icon-wrapper {
  color: var(--accent-color);
  background: #fff7ed;
}

.product-info {
  padding: 2rem 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.product-desc {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Advantages */
.reasons {
  padding: var(--section-padding);
  background: var(--white);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.reason-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--background-light);
  transition: var(--transition-normal);
}

.reason-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.reason-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-color);
  border-radius: 50%;
  font-size: 1.75rem;
}

/* Industries / Application Scenes */
.industries {
  padding: var(--section-padding);
  background: var(--primary-color);
  color: var(--white);
}

.industries .section-title {
  color: var(--white);
}

.industries .section-subtitle {
  color: #94a3b8;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.industry-card-simple {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
}

.industry-card-simple i {
  font-size: 3rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.industry-card-simple:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.industry-card-simple:hover i {
  color: var(--accent-color);
  transform: scale(1.1);
}

.industry-title {
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Testimonials */
.testimonials {
  padding: var(--section-padding);
  background: var(--background-light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

.quote {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.client {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 48px;
  height: 48px;
  background: #cbd5e1;
  border-radius: 50%;
}

.client-info h4 {
  font-weight: 700;
  font-size: 0.95rem;
}

.client-info p {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Contact / Form */
.contact {
  padding: var(--section-padding);
  background: var(--white);
}

.contact-layout {
  display: flex;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--background-light);
  color: var(--primary-color);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-form-wrapper {
  flex: 1.2;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

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

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid #1e293b;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  font-size: 0.9rem;
}

/* Privacy Page Specific */
.privacy-page {
  padding: 8rem 0 4rem 0;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h1 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.privacy-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.privacy-content p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

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

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

  .contact-layout {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Add mobile menu styles here via JS class toggling if needed */
  }

  .hamburger {
    display: block;
  }

  .mobile-menu-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 2rem;
    box-shadow: var(--shadow-md);
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
}
