@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

html {
  scroll-behavior: smooth;
}

:root {
  /* Colors - "Premium Navy" Palette (Slightly Lighter & More Vibrant) */
  --color-primary: #1e293b;
  /* Slate 800 for contrast sections */
  --color-primary-light: #2d405f;
  /* Lighter navy for cards/sections */
  --color-primary-dark: #0f172a;
  /* Deepest elements */

  --color-accent: #3B82F6;
  /* Future Blue - Bright Tech Blue */
  --color-secondary: #f1f5f9;
  /* Bright White-Silver */

  --color-text: #94a3b8;
  /* Slate 400 */
  --color-text-light: #f8fafc;
  /* Slate 50 */
  --color-white: #ffffff;

  --color-bg: #111827;
  /* Gray 900 - Clean dark background (less muddy than before) */

  /* Fonts - Sophisticated */
  --font-main: 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans', sans-serif;

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 5rem;
  /* Increased whitespace for sophistication */

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  /* Sophisticated Radial Gradient Background */
  background-image: radial-gradient(circle at 50% 0%, #1e293b 0%, #111827 80%);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

/* 4. Branding: Text Selection Color */
::selection {
  background: var(--color-accent);
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography - Sophisticated Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text-light);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  /* Premium Metallic Gradient Text */
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
  /* Fallback */
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

p {
  margin-bottom: var(--spacing-md);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: 100px 0;
  /* More breathing room for luxury feel */
}

/* Buttons - Modern Pill Shape & Gradients */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  /* Default: Outline Style */
  background: transparent;
  border: 1px solid #ffffff;
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-primary:hover {
  /* Neon Glow Effect */
  background: rgba(59, 130, 246, 0.1);
  /* Slight Blue Tint */
  border-color: #3B82F6;
  /* Future Blue Border */
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  /* Blue Neon Glow */
}

/* Secondary Button (Product Catalog) - Unified Style */
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.btn-secondary:hover {
  /* Neon Glow Effect */
  background: rgba(59, 130, 246, 0.1);
  border-color: #3B82F6;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  /* Blue Neon Glow */
}

/* Header - Frosted Glass */
header {
  height: 80px;
  display: flex;
  align-items: center;
  position: fixed;
  /* Fixed to top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.7);
  /* Darker semi-transparent */
  backdrop-filter: blur(20px);
  /* Strong blur */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  justify-self: start;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  gap: 10px;
  /* Brand Glow Update with Hover Interaction */
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  color: #3B82F6;
  /* Future Blue */
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.9), 0 0 20px rgba(59, 130, 246, 0.7), 0 0 40px rgba(59, 130, 246, 0.5);
  /* Strong Multi-layer Neon Glow */
  transform: translateY(-2px);
  /* Slight Lift */
}

/* Centered Navigation */
.main-nav {
  display: flex;
  gap: 3rem;
  justify-self: center;
}

.main-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.main-nav a:hover,
.lang-switcher a:hover {
  color: #3B82F6 !important;
  /* Future Blue */
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.9), 0 0 20px rgba(59, 130, 246, 0.7), 0 0 40px rgba(59, 130, 246, 0.5);
  /* Strong Multi-layer Neon Glow */
  transform: translateY(-2px);
  display: inline-block;
  /* Required for transform */
}

/* Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  /* Fixed 20px gap */
  justify-self: end;
}

/* Contact Button in Header - Unified Outline Style */
.header-actions .open-rfq.desktop-only {
  background: transparent !important;
  color: #fff !important;
  /* White Text */
  border: 1px solid #ffffff !important;
  /* White Border */
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}

.header-actions .open-rfq.desktop-only:hover {
  background: rgba(59, 130, 246, 0.1) !important;
  /* Blue Tint */
  color: #3B82F6 !important;
  /* Future Blue Text */
  border-color: #3B82F6 !important;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  /* Blue Glow */
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
  border-left: none;
}

.lang-btn {
  background: none;
  border: none;
  color: #64748b;
  font-family: var(--font-main);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  /* Deep, layered gradient overlay */
  background:
    linear-gradient(to bottom, rgba(17, 24, 39, 0.4) 0%, rgba(17, 24, 39, 1) 100%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.7) 100%),
    url('assets/magnets.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

/* 2. Motion: Scroll Reveal Fade In */
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 1. Motion: Hero Fade In Up */
.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
  /* Hidden initially */
  animation: fadeInUp 1s ease-out 0.5s forwards;
  /* Delay 0.5s */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.hero p {
  margin: 0 auto var(--spacing-md) auto;
  text-align: center;
  max-width: 800px;
}

/* History Grid Layout */
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  /* Give timeline slightly more space */
  gap: 4rem;
  align-items: start;
}

.history-intro {
  text-align: left;
  /* Align left in grid */
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.intro-text p {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Timeline */
.timeline {
  position: relative;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 30px;
}

.timeline-row {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -37px;
  /* Align with border line: -30px padding - 2px border - 5px half_dot? No. */
  /* Border is at left:0 of content box? No, margin-left: X. 
     Let's style .timeline as container with padding-left.
     Border is on .timeline.
  */
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
  /* Future blue glow */
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1;
}



.timeline-item {
  display: flex;
  margin-bottom: 12px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item:last-child {
  border-bottom: none;
}

.month {
  width: 40px;
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.desc {
  color: #e2e8f0;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .history-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .history-intro {
    text-align: center;
  }
}

/* History Section */
.history {
  background-color: transparent;
}

.history-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem auto;
}

.history-intro h2 {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}

.intro-text p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 20px;
  /* Space for mobile */
}

/* Vertical Line - Connecting the flow */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 120px;
  /* Line position aligned with dot center logic */
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  /* Lighter gray line as requested */
  z-index: 0;
}

.timeline-row {
  display: flex;
  position: relative;
  margin-bottom: 3rem;
  z-index: 1;
  /* Above line */
}

.timeline-year {
  width: 100px;
  text-align: right;
  padding-right: 30px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #94a3b8;
  /* Muted year color */
  line-height: 1;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: 114px;
  /* Center covering the 2px line at 120px: 120 - 7 + 1 = 114 */
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--color-accent);
  /* Neon Blue Ring */
  background: var(--color-bg);
  /* Dark bg center */
  z-index: 10;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.timeline-content {
  flex: 1;
  padding-left: 40px;
}

.timeline-item {
  display: flex;
  margin-bottom: 15px;
  align-items: baseline;
}

.month {
  width: 50px;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
}

.desc {
  color: #e2e8f0;
  font-size: 1rem;
}

/* Timeline End Arrow */
.timeline-end {
  position: absolute;
  left: 113px;
  bottom: -15px;
  color: rgba(255, 255, 255, 0.1);
  font-size: 1rem;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
    /* Move line to left */
  }

  .timeline-row {
    flex-direction: column;
    padding-left: 40px;
  }

  .timeline-year {
    width: auto;
    text-align: left;
    margin-bottom: 10px;
    font-size: 1.5rem;
  }

  .timeline-dot {
    left: 14px;
    /* Adjust dot to new line */
  }

  .timeline-content {
    padding-left: 0;
  }

  .timeline-end {
    left: 13px;
  }
}

.hero-subtitle {
  color: var(--color-accent);
  /* Use bright accent */
  font-family: monospace;
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.hero-buttons {
  margin-top: var(--spacing-lg);
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

/* About Section */
.about {
  background-color: var(--color-primary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 50:50 Split */
  gap: var(--spacing-xl);
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--color-text);
}

/* Products Section */
.products {
  background-color: transparent;
  /* Let body gradient show through */
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.product-card {
  background: rgba(255, 255, 255, 0.02);
  /* Glassy */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  /* Softer corners */
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-3px);
  /* Unified lift */
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-accent);
  /* Unified Accent Border */
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
  /* Unified Future Blue Glow */
}

.product-image {
  height: 250px;
  width: 100%;
  object-fit: cover;
  opacity: 0.9;
  opacity: 0.9;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
  /* Smooth zoom transition */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 3. Interaction: Solution Card Zoom */
.product-card:hover .product-image {
  opacity: 1;
  transform: scale(1.03);
  /* Subtle zoom */
}

.product-info {
  padding: 2rem;
}

.product-title {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-desc {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
  color: #94a3b8;
}

.product-items {
  margin-top: var(--spacing-md);
  padding-left: var(--spacing-md);
}

.product-items li {
  position: relative;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

.product-items li::before {
  content: '▹';
  position: absolute;
  left: -20px;
  color: var(--color-accent);
  /* Use accent color */
}

/* Trust Section */
.trust {
  background-color: transparent;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.trust-item {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.trust-item:hover {
  transform: translateY(-3px);
  /* Unified lift */
  background: rgba(255, 255, 255, 0.05);
  /* Brighter glass */
  border-color: var(--color-accent);
  /* Unified Accent Border */
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
  /* Unified Future Blue Glow */
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  /* Gradient Icon */
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  /* Fallback */
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

.trust-item:hover .trust-icon {
  transform: translateY(-10px) scale(1.1);
  filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
}

.trust-title {
  color: #fff;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}

/* Trust Numbers Section */


/* Footer */
footer {
  background-color: #111111;
  /* Real Black */
  padding: var(--spacing-xl) 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  /* Subtle border */
  color: #888888;
  /* Muted text */
}

footer p {
  color: #888888;
}

footer a {
  color: #888888;
  transition: color 0.3s;
}

footer a:hover {
  color: #fff;
}

/* Legal Links */
.legal-links {
  margin-top: 15px;
  font-size: 0.8rem;
}

.legal-links a {
  color: #555;
  margin: 0 10px;
}

.legal-links a:hover {
  color: #888;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  /* Slightly darker overlay */
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
}

/* Modal Theme: Dark Cybernetic */
/* Modal Theme: White (Reverted) */
/* Modal Theme: Modern Off-White & Future Blue */
/* Modal Theme: Modern Off-White & Future Blue (Refined) */
.modal-content {
  background: rgba(241, 245, 249, 0.95);
  /* Toned down off-white */
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  /* Refined full border instead of top strip */
  max-width: 500px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
  scrollbar-width: none;
}

/* Hide scrollbar for Chrome/Safari/Opera */
.modal-content::-webkit-scrollbar {
  display: none;
}

/* Modal Inputs Revert */
.form-group label {
  color: #1e293b;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #1e293b;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: #fff;
}

/* Submit Button: Solid Blue + Neon Glow */
/* Submit Button: Solid Bright Blue per Request */
.btn-block {
  width: 100%;
  margin-top: 1rem;
  background: #3B82F6 !important;
  /* Force Future Blue */
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
  /* Stronger glow */
  transition: all 0.3s ease;
}

.btn-block:hover {
  background: #60A5FA !important;
  /* Brighter Blue on hover, not Dark Navy */
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
  /* Intense Neon Glow */
}

.modal-content h3 {
  color: #1e293b;
  /* Dark Slate for readability */
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b 0%, #3B82F6 100%);
  /* Subtle gradient text */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-desc {
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  cursor: pointer;
  font-size: 1.5rem;
  color: #94a3b8;
  transition: color 0.2s;
}

.close-modal:hover {
  color: var(--color-primary-dark);
}

/* Product Modal Typography Revert */
.modal-product-title {
  color: var(--color-primary-dark);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.modal-product-desc {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Specs Grid Typography Revert */
.modal-specs-list {
  display: grid;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.modal-specs-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
  font-size: 0.95rem;
}

.spec-label {
  color: #64748b;
  font-weight: 500;
}

.spec-value {
  color: #334155;
  font-weight: 600;
}

/* Product Modal CTA Revert */
#modal-rfq-btn {
  background: var(--color-accent) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

#modal-rfq-btn:hover {
  background: #1d4ed8 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: #334155;
  /* Slate 700 - Dark text */
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: #f1f5f9;
  /* Slate 100 - Very light gray */
  border: 1px solid #cbd5e1;
  /* Slate 300 */
  color: #0f172a;
  /* Slate 900 - Almost black */
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 41, 66, 0.1);
}

.btn-block {
  width: 100%;
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 14px;
  font-size: 1rem;
  margin-top: 10px;
}

.btn-block:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }

  /* Simplified for now */
  .section {
    padding: 60px 0;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-secondary);
  cursor: pointer;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: rgba(17, 28, 46, 0.95);
  backdrop-filter: blur(15px);
  z-index: 1002;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.mobile-menu a:hover {
  color: var(--color-secondary);
  padding-left: 10px;
}

.close-mobile-menu {
  align-self: flex-end;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .header-actions .open-rfq.desktop-only {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* --- Readability Updates --- */
.intro-text p {
  line-height: 2.2 !important;
  /* Force better readability */
  font-size: 1.1rem !important;
}

/* --- Work Process Section --- */
.work-process {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, #0b1120 100%);
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      var(--color-accent) 50%,
      rgba(255, 255, 255, 0) 100%);
  opacity: 0.3;
  z-index: 0;
}

.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-icon-box {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

/* Step Number Badge */
.process-step {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: var(--color-accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.process-item:hover .process-icon-box {
  transform: translateY(-10px) scale(1.1);
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--color-accent);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.process-icon {
  font-size: 2.5rem;
  color: #94a3b8;
  transition: all 0.3s;
}

.process-item:hover .process-icon {
  color: #fff;
}

.process-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.process-desc {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-grid::before {
    display: none;
  }
}

/* --- Download Button --- */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--color-accent);
  color: #0f172a;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
  margin-top: 1rem;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
  background: #fff;
}

.btn-download i {
  font-size: 1.2rem;
}

/* --- Custom Footer (Refined) --- */
.custom-footer {
  background-color: #0f172a;
  padding: 4rem 0;
  /* Slightly reduced from 5rem */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.custom-footer h4 {
  font-size: 1.1rem;
  /* Smaller title */
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.footer-info {
  font-size: 0.85rem !important;
  /* Smaller, sleek size (approx 13-14px) */
  color: #cccccc !important;
  /* Bright Gray to stand out on dark */
  line-height: 1.7;
  /* Comfortable spacing */
}

.footer-info p {
  margin-bottom: 0.5rem;
}

.footer-info a {
  color: #fff !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s;
}

.footer-info a:hover {
  border-color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
}

/* --- Layout & Alignment Correction --- */
.container {
  max-width: 1200px;
  /* Fixed max-width */
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.section {
  padding: 6rem 0;
  /* Uniform vertical spacing */
}

/* Ensure Work Process is centered */
.process-item {
  justify-content: flex-start;
}

/* --- Product Detail Modal --- */
#product-modal .modal-content {
  max-width: 800px;
  width: 90%;
  background: #0f172a;
  /* Dark Navy Background */
  border: 1px solid rgba(56, 189, 248, 0.2);
  /* Subtle Blue Border */
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-product-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  background: #020617;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-product-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Fallback defined by gradient */
  -webkit-text-fill-color: transparent;
}

.modal-product-desc {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.modal-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-specs-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  color: #94a3b8;
}

.modal-specs-list li.spec-grid-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  /* Top align for multi-line values */
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-label {
  font-weight: 600 !important;
  /* Semi-Bold requested */
  color: #93C5FD !important;
  /* Lighter Sky Blue */
  text-align: left;
}

.spec-value {
  color: #cbd5e1;
  line-height: 1.6;
}

.modal-specs-list li i {
  /* Hide old icon if present in legacy styles, but we replaced innerHTML */
  display: none;
  /* Clean up removed icon styles */

  .modal-specs-list li:last-child {
    border-bottom: none;
  }

  @media (max-width: 900px) {
    #product-modal .modal-content {
      grid-template-columns: 1fr;
      max-height: 85vh;
      overflow-y: auto;
    }

    .modal-product-image {
      height: 250px;
      min-height: auto;
      border-right: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .modal-product-info {
      padding: 2rem;
    }
  }

  /* --- Final UX & Design Polish --- */

  /* Ghost Button Override for Download */
  .btn-download {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: #fff !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
  }

  .btn-download:hover {
    background: #fff !important;
    color: #0f172a !important;
    /* Dark text on hover */
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3) !important;
  }

  /* Float Effects & Rounded Corners */
  .product-card,
  .trust-item {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border-radius: 12px;
    overflow: hidden;
    /* Ensure images don't bleed */
  }

  .product-card:hover,
  .trust-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(56, 189, 248, 0.4);
  }

  .map-container {
    border-radius: 12px !important;
  }

  /* Nav Menu Underline Effect */
  .main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
  }

  /* --- Alignment Fixes for Hero Buttons & About Stats --- */

  .hero-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    /* Wider spacing as requested */
    flex-wrap: wrap;
    margin-top: 2.5rem;
  }

  .hero-buttons .btn {
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 0 35px;
    white-space: nowrap;
  }

  /* Ensure Quality Control box is transparent and borderless */
  .about-stats {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    /* No border as requested */
    padding: 20px !important;
  }

  /* Fix Brochure Ghost Button specifically if needed - REMOVE if unused, but keeping class for safety or future use */
  .hero-buttons .btn-download {
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
  }

  .hero-buttons .btn-download:hover {
    background: #fff;
    color: #0f172a;
  }

  /* --- Final Detail Polish --- */

  .hero-buttons .btn {
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 24px !important;
    padding: 0 30px !important;
  }

  /* Force Rebuild: About Stats Grid (50:50 Balance) */
  .about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two massive columns */
    gap: 20px;
    height: 100%;
    /* Fill height */
    align-items: stretch;
  }

  .stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 20px;
    /* Large padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .stat-card:hover {
    border-color: var(--color-accent);
    /* Blue Border */
    transform: translateY(-5px);
    /* Bounce */
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
  }

  .stat-icon {
    font-size: 3.5rem;
    /* Massive Icon */
    color: var(--color-accent);
    margin-bottom: 20px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  /* Interactive Styles for Force Rebuild Stats - Unified Bounce */
  .stat-box {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .stat-box:hover {
    border-color: #3B82F6 !important;
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.05) !important;
  }

  /* Bounce Effect for Icon */
  .stat-box i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Springy Bounce */
  }

  .stat-box:hover i {
    transform: translateY(-12px) scale(1.1);
    /* Significant Pop */
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.6));
    color: #60A5FA !important;
    /* Brighter Blue */
  }

  .stat-card:hover .stat-icon {
    transform: translateY(-10px) scale(1.1);
    /* Pop Up & Grow */
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  }

  .stat-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
  }

  .stat-desc {
    font-size: 0.95rem;
    color: #94a3b8;
  }

  .btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
  }

  /* Text Download Link Redesign */
  /* Text Download Link Redesign (Bordered Button) */
  /* Text Download Link Redesign (Pill Button) */
  /* Text Download Link Redesign (Bordered Button Revert) */
  .btn-text-download {
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: 25px;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;

    /* Bordered Button Style */
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    padding: 10px 20px;
    border-radius: 4px;
    justify-content: flex-start;
  }

  .btn-text-download:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: none;
    text-shadow: none;
  }

  /* Modal RFQ Button - Solid Style (Level 1) */
  #modal-rfq-btn {
    background: var(--color-accent) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  }

  #modal-rfq-btn:hover {
    background: #1d4ed8 !important;
    /* Darker Royal Blue */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
  }
}

/* Closing media query or file block */

/* 3. UX: Scroll Top Button Styles */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  font-size: 1.2rem;
  border: none;
  border-radius: 50%;
  /* Make it circular */
  outline: none;
  background-color: var(--color-accent);
  color: white;
  cursor: pointer;
  padding: 15px;
  /* Ensure sufficient size */
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  background-color: #2563EB;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.5);
}

/* 5. Design: Process Icon Color Shift */
.process-item:hover .process-icon {
  color: var(--color-accent) !important;
  transition: color 0.3s ease;
}

/* 4. Function: Toast Notification */
#toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 16px;
  position: fixed;
  z-index: 3000;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s, bottom 0.3s;
}

#toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}

/* --- FORCE INJECT: STAT BOX ANIMATION --- */
.stat-box {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  cursor: pointer !important;
}

.stat-box:hover {
  transform: translateY(-15px) scale(1.05) !important;
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: #3B82F6 !important;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3) !important;
}

.stat-box:hover i {
  transform: scale(1.2) !important;
  color: #60A5FA !important;
}