/* ==========================================================================
   SAWAI OVERSEAS - Modern, Minimalist & Elegant International Trade Stylesheet
   Selected Theme: Royal Iris Violet & Luminous Aquamarine / Opal Palette
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Cosmic Noir & Deep Iris (Default) */
  --bg-primary: #08060f;
  --bg-surface: #100d1c;
  --bg-elevated: #18142a;
  --bg-card: rgba(16, 13, 28, 0.82);
  --bg-card-hover: rgba(24, 20, 42, 0.95);

  --text-primary: #ffffff;
  --text-secondary: #a39eb8;
  --text-muted: #6f6888;

  /* Brand Accents - Royal Iris Violet */
  --accent-brand: #8b5cf6;
  --accent-brand-hover: #a78bfa;
  --accent-brand-dark: #6d28d9;
  --accent-brand-glow: rgba(139, 92, 246, 0.32);

  /* Luminous Aquamarine & Opal (Futuristic & Distinctive) */
  --accent-infinity: #2dd4bf;
  --accent-infinity-hover: #5eead4;
  --accent-infinity-dark: #0f766e;
  --accent-infinity-glow: rgba(45, 212, 191, 0.25);

  /* Gold & Emerald for Agricultural Commodities */
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.2);
  --accent-emerald: #2dd4bf;
  --accent-emerald-glow: rgba(45, 212, 191, 0.2);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(139, 92, 246, 0.45);
  --border-infinity: rgba(45, 212, 191, 0.4);

  /* Glassmorphism */
  --glass-bg: rgba(8, 6, 15, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(14px);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 35px rgba(139, 92, 246, 0.22);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Mode */
[data-theme="light"] {
  --bg-primary: #faf8ff;
  --bg-surface: #ffffff;
  --bg-elevated: #f1edfa;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;

  --text-primary: #171126;
  --text-secondary: #574e6d;
  --text-muted: #7f7499;

  --accent-brand: #7c3aed;
  --accent-brand-hover: #6d28d9;
  --accent-brand-dark: #5b21b6;
  --accent-brand-glow: rgba(124, 58, 237, 0.16);

  --accent-infinity: #0d9488;
  --accent-infinity-dark: #0f766e;
  --accent-infinity-glow: rgba(13, 148, 136, 0.15);

  --border-subtle: rgba(23, 17, 38, 0.08);
  --border-active: rgba(124, 58, 237, 0.35);
  --border-infinity: rgba(13, 148, 136, 0.3);

  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(23, 17, 38, 0.08);

  --shadow-sm: 0 2px 8px rgba(23, 17, 38, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(23, 17, 38, 0.08);
  --shadow-lg: 0 16px 40px -8px rgba(23, 17, 38, 0.12);
  --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.8rem;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #c084fc 45%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 45%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}

/* Section Header */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-brand);
  background: var(--accent-brand-glow);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-active);
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  line-height: 1.7;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

/* --------------------------------------------------------------------------
   3. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.78rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-brand) 0%, #6d28d9 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--accent-brand-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-brand-hover) 0%, var(--accent-brand) 100%);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.45);
  transform: translateY(-1px);
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-glass:hover {
  border-color: var(--border-active);
  background: var(--bg-elevated);
  transform: translateY(-1px);
}

.btn-outline-primary {
  background: transparent;
  border: 1px solid var(--border-active);
  color: var(--accent-brand);
  width: 100%;
}

.btn-outline-primary:hover {
  background: var(--accent-brand-glow);
  border-color: var(--accent-brand);
  color: var(--text-primary);
}

.btn-outline-sm {
  background: transparent;
  border: 1px solid var(--border-active);
  color: var(--accent-brand);
  font-size: 0.85rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
}

.btn-outline-sm:hover {
  background: var(--accent-brand);
  color: #ffffff;
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1010;
  pointer-events: auto;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn svg {
  pointer-events: none;
}

.icon-btn:hover {
  color: var(--accent-brand);
  border-color: var(--border-active);
  background: var(--bg-elevated);
}

/* Theme Icons */
.sun-icon {
  display: none;
}

.moon-icon {
  display: block;
}

[data-theme="light"] .sun-icon {
  display: block;
}

[data-theme="light"] .moon-icon {
  display: none;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(8, 6, 15, 0.96);
}

[data-theme="light"] .header.scrolled {
  background: rgba(255, 255, 255, 0.97);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 2.5px solid var(--accent-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 24px var(--accent-brand-glow),
    0 0 10px rgba(45, 212, 191, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  padding: 3px;
  transition: all var(--transition-normal);
}

.brand-logo:hover .logo-icon-wrapper {
  border-color: var(--accent-infinity);
  box-shadow:
    0 0 32px var(--accent-brand-glow),
    0 0 18px var(--accent-infinity-glow),
    0 8px 24px rgba(0, 0, 0, 0.55);
  transform: scale(1.05);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-full);
}

.footer-logo .logo-icon-wrapper {
  width: 52px;
  height: 52px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.05;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .logo-title {
  color: var(--text-primary);
  text-shadow: none;
}

.logo-accent {
  background: linear-gradient(135deg, var(--accent-brand-hover) 0%, var(--accent-infinity) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-infinity);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-tagline::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--accent-brand);
  box-shadow: 0 0 6px var(--accent-brand);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.3vw, 1.4rem);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.45rem 0.2rem;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-brand);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-mobile-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
  z-index: 1010;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 10px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  z-index: 1015;
  pointer-events: auto;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  border-color: var(--border-active);
  background: var(--bg-elevated);
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  pointer-events: none;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 11.5rem 0 6.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(120px);
  opacity: 0.35;
}

.orb-primary {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.28) 0%, rgba(45, 212, 191, 0.15) 100%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.orb-secondary {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 80%);
  bottom: 0;
  right: 8%;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  opacity: 0.5;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-active);
  padding: 0.48rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--accent-infinity);
  box-shadow: 0 0 10px var(--accent-infinity);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 960px;
  margin: 0 auto 1.6rem auto;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 2.6rem auto;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--accent-brand);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  margin-bottom: 4.8rem;
  flex-wrap: wrap;
}

/* Hero Stats Strip */
.hero-stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  max-width: 1060px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number,
.stat-number-text {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-number {
  color: var(--accent-brand);
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-brand);
  display: inline;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 45px;
  background-color: var(--border-subtle);
}

/* --------------------------------------------------------------------------
   6. About Section
   -------------------------------------------------------------------------- */
.about-grid {
  align-items: center;
}

.about-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  line-height: 1.75;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  color: var(--accent-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about-feature-box {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-lg);
}

.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.box-badge {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-brand);
}

.box-status {
  font-size: 0.8rem;
  background: var(--accent-infinity-glow);
  color: var(--accent-infinity);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.trade-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.pillar-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.4rem;
}

.pillar-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.pillar-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.box-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   7. Products & Commodities Grid
   -------------------------------------------------------------------------- */
.filter-tab-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-tab {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-active);
}

.filter-tab.active {
  background: var(--accent-brand);
  color: #ffffff;
  border-color: var(--accent-brand);
  box-shadow: 0 2px 14px var(--accent-brand-glow);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 1.5rem 0 1.5rem;
}

.product-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.turmeric-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.jaggery-badge {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.coconut-badge {
  background: rgba(45, 212, 191, 0.2);
  color: #2dd4bf;
}

.fertilizer-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.industrial-badge {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
}

.product-grade {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.product-visual-wrapper {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
}

.product-symbol {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
}

.product-name {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.product-subtext {
  font-size: 0.85rem;
  color: var(--accent-infinity);
  font-weight: 600;
}

.product-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  flex-grow: 1;
}

.product-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.spec-list {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.spec-list strong {
  color: var(--text-primary);
}

.product-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  /* background: rgba(0, 0, 0, 0.25); */
}

/* --------------------------------------------------------------------------
   8. Advantages / Bento Grid
   -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  color: var(--accent-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.bento-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.bento-badge-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.pill-badge {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--accent-infinity);
  border: 1px solid var(--border-infinity);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   9. 4-Step Export Workflow
   -------------------------------------------------------------------------- */
.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 1rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  flex: 1;
  text-align: center;
  position: relative;
  transition: all var(--transition-fast);
}

.step-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-brand);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px var(--accent-brand-glow);
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  width: 25px;
  height: 2px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. Quality & Certifications Strip
   -------------------------------------------------------------------------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.cert-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.cert-card:hover {
  border-color: var(--border-infinity);
  transform: translateY(-3px);
}

.cert-logo-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.cert-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.cert-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-active);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.4rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-arrow {
  flex-shrink: 0;
  color: var(--accent-brand);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 1.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.4rem;
}

/* --------------------------------------------------------------------------
   12. Contact & RFQ Section
   -------------------------------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  color: var(--accent-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: block;
}

.detail-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.detail-val a:hover {
  color: var(--accent-brand);
}

.response-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-infinity);
  background: var(--accent-infinity-glow);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-infinity);
}

.pulse-green {
  width: 8px;
  height: 8px;
  background: var(--accent-infinity);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--accent-infinity);
}

/* Forms */
.form-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.char-counter {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  transition: color var(--transition-fast);
}

.char-counter.near-limit {
  color: var(--accent-gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-brand);
  box-shadow: 0 0 0 3px var(--accent-brand-glow);
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: var(--accent-infinity-glow);
  color: var(--accent-infinity);
  border: 1px solid var(--border-infinity);
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

/* --------------------------------------------------------------------------
   13. Modal
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 550px;
  position: relative;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-brand);
}

.modal-title {
  font-size: 1.5rem;
  margin: 0.3rem 0;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.modal-highlight {
  color: var(--accent-brand);
}

.modal-form-feedback {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
}

.modal-form-feedback.success {
  display: block;
  background: var(--accent-infinity-glow);
  color: var(--accent-infinity);
  border: 1px solid var(--border-infinity);
}

.modal-form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #05040a;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2.5rem 0;
  color: var(--text-secondary);
}

[data-theme="light"] .footer {
  background: #f3f0fa;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-desc {
  font-size: 0.9rem;
  margin: 1.2rem 0;
  line-height: 1.7;
}

.footer-cert-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-cert-tags .tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--accent-brand);
}

.footer-heading {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-brand);
  padding-left: 4px;
}

.footer-port-info {
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
  line-height: 1.6;
}

.footer-port-info strong {
  color: var(--text-primary);
}

.footer-direct-contact {
  margin-top: 1.2rem;
  font-size: 0.88rem;
}

.footer-email {
  display: block;
  color: var(--accent-brand);
  font-weight: 600;
  margin-top: 0.2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   15. Responsive Breakpoints & Device Adaptation
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .nav-container {
    height: 76px;
    padding: 0 1rem;
  }

  .brand-logo {
    gap: 0.85rem;
    margin-right: 0;
  }

  .logo-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .logo-title {
    font-size: 1.3rem;
  }

  .logo-tagline {
    font-size: 0.58rem;
  }

  /* Hide header desktop quote button on mobile/tablet/laptop to give full room to hamburger */
  .nav-actions .nav-header-btn {
    display: none;
  }

  /* Show mobile hamburger on all screens <= 1180px */
  .mobile-toggle {
    display: flex;
  }

  /* Product & Bento 2-Col */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .bento-span-2 {
    grid-column: span 2;
  }

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

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

  /* Mobile Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 2px solid var(--border-active);
    box-shadow: var(--shadow-lg);
    transform: translateY(-15px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 0.6rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-mobile-cta {
    display: block;
    width: 100%;
    margin-top: 0.8rem;
  }

  .grid-2,
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .workflow-steps {
    flex-direction: column;
    gap: 1.5rem;
  }

  .step-card {
    width: 100%;
    padding: 2rem 1.5rem;
  }

  .step-connector {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--accent-brand), var(--border-subtle));
  }

  .hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.8rem 1.4rem;
  }

  .stat-divider {
    display: none;
  }

  .contact-wrapper {
    padding: 2rem 1.5rem;
  }

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

@media (max-width: 640px) {
  .container {
    padding: 0 1.2rem;
  }

  .section {
    padding: 3.8rem 0;
  }

  .nav-container {
    height: 70px;
    padding: 0 0.8rem;
  }

  .logo-icon-wrapper {
    width: 42px;
    height: 42px;
    padding: 2px;
  }

  .logo-title {
    font-size: 1.18rem;
  }

  .logo-tagline {
    display: none;
  }

  .nav-actions {
    gap: 0.6rem;
  }

  .nav-actions .nav-header-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .nav-menu {
    top: 70px;
    max-height: calc(100vh - 70px);
  }

  .hero-section {
    padding: 7.5rem 0 3rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 0.85rem 1.4rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .filter-tab-group {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0.4rem 0.2rem 0.8rem 0.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 2rem;
  }

  .filter-tab-group::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex-shrink: 0;
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .bento-span-2 {
    grid-column: span 1;
  }

  .bento-card {
    padding: 1.6rem 1.3rem;
  }

  .cert-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }

  .modal-backdrop {
    padding: 1rem;
  }

  .modal-card {
    padding: 2rem 1.4rem;
    max-height: 88vh;
    overflow-y: auto;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 380px) {
  .logo-title {
    font-size: 1.05rem;
  }

  .logo-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

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