/* ============================================
   SW Tech Corporation - Global Styles
   A Critical Minerals Company
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #5a6b47;
  --color-primary-dark: #3d4a30;
  --color-primary-light: #7a8e64;
  --color-accent: #e8724a;
  --color-accent-dark: #c95a34;
  --color-accent-light: #f09070;
  --color-cream: #f5f0eb;
  --color-warm-beige: #ede6dd;
  --color-dark: #2c2c2c;
  --color-text: #3a3a3a;
  --color-text-light: #6b6b6b;
  --color-white: #ffffff;
  --color-border: #ddd5cc;
  --color-salmon-bg: #e8724a;
  --font-heading: 'Inter', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--cream {
  background: var(--color-cream);
}

.section--dark {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p {
  color: var(--color-white);
}

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

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section--dark .section-label,
.section--accent .section-label {
  color: rgba(255,255,255,0.7);
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin-bottom: 48px;
}

.section--dark .section-subtitle {
  color: rgba(255,255,255,0.8);
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 10000;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  text-decoration: none;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: -0.5px;
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: -2px;
}

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

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

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

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

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

.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.9rem;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-accent-dark) !important;
  color: var(--color-white) !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

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

.btn--primary:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,114,74,0.3);
}

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

.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn--white:hover {
  background: var(--color-cream);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

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

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-warm-beige) 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.06;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(90,107,71,0.1);
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}

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

.hero-description {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 36px;
  max-width: 540px;
}

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

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: calc(var(--radius-lg) + 3px);
  z-index: -1;
  opacity: 0.15;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hero-stat {
  text-align: center;
  padding: 20px 16px;
  background: var(--color-cream);
  border-radius: var(--radius);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* --- Feature Cards Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(90,107,71,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 48px 24px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* --- Content Blocks (2-col layout) --- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-block--reverse {
  direction: rtl;
}

.content-block--reverse > * {
  direction: ltr;
}

.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-image-placeholder {
  color: rgba(255,255,255,0.3);
  font-size: 4rem;
}

.content-text h2 {
  margin-bottom: 16px;
}

.content-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.content-text ul {
  margin-bottom: 24px;
}

.content-text li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.content-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* --- Team / Board --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

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

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  padding: 32px 28px 24px;
  position: relative;
}

.team-avatar {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  border: 3px solid rgba(255,255,255,0.2);
}

.team-card-header h3 {
  color: var(--color-white);
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.team-card-header .team-title {
  color: var(--color-accent-light);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 500;
}

.team-card-body {
  padding: 24px 28px 28px;
}

.team-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- Table --- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table thead {
  background: var(--color-primary);
  color: var(--color-white);
}

.data-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  color: var(--color-text-light);
}

.data-table tbody tr:hover {
  background: var(--color-cream);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table td strong {
  color: var(--color-text);
}

/* --- Process / Timeline --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 32px 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 16px;
}

.process-step h4 {
  margin-bottom: 10px;
  color: var(--color-primary-dark);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.08;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--color-cream);
  border-radius: var(--radius);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--color-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(90,107,71,0.1);
}

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

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

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .logo {
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-about .logo-icon {
  background: var(--color-primary);
}

.footer-about p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  align-items: flex-start;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  color: var(--color-accent-light);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}

.footer-disclaimer {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-warm-beige) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.05;
}

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

.page-hero h1 {
  margin-bottom: 16px;
  color: var(--color-primary-dark);
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 650px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--color-text-light);
}

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

.breadcrumb span {
  color: var(--color-text-light);
}

.breadcrumb .current {
  color: var(--color-primary);
  font-weight: 600;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* --- Highlight Box --- */
.highlight-box {
  background: linear-gradient(135deg, rgba(90,107,71,0.05), rgba(232,114,74,0.05));
  border-left: 4px solid var(--color-accent);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

.highlight-box p {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 0.95rem;
}

/* --- Benefits Grid --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.benefit-item {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-accent-light);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}

.benefit-item h4 {
  color: var(--color-white);
  margin-bottom: 8px;
  font-size: 1rem;
}

.benefit-item p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* --- PEA Financial Grid --- */
.pea-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.pea-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.pea-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-cream);
}

.pea-metric {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-cream);
  font-size: 0.9rem;
}

.pea-metric:last-child {
  border-bottom: none;
}

.pea-metric span:first-child {
  color: var(--color-text-light);
}

.pea-metric span:last-child {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.pea-highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  border: none;
}

.pea-highlight h3 {
  color: var(--color-white);
  border-bottom-color: rgba(255,255,255,0.2);
}

.pea-highlight .pea-metric {
  border-bottom-color: rgba(255,255,255,0.1);
}

.pea-highlight .pea-metric span:first-child {
  color: rgba(255,255,255,0.7);
}

.pea-highlight .pea-metric span:last-child {
  color: var(--color-white);
}

/* --- Map placeholder --- */
.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

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

  .content-block--reverse {
    direction: ltr;
  }

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

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

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

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    font-size: 1.1rem;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

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

  .section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

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

  .stat-item::after {
    display: none;
  }

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

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

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

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

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

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

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

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

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

/* ============================================
   PREMIUM ANIMATIONS & EFFECTS
   ============================================ */

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary-light));
  z-index: 10001;
  transition: none;
}

/* --- Hero Entrance Sequence --- */
.hero-badge {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero h1 {
  opacity: 0;
  transform: translateY(30px);
  animation: heroEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-description {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes heroEnter {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Animated Gradient Text --- */
.hero h1 .accent {
  background: linear-gradient(135deg, var(--color-accent), #ff6b3d, var(--color-accent-light), var(--color-accent));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards,
             gradientShift 6s ease infinite 1.2s;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Hero Floating Shapes --- */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: shapeIn 2s ease forwards;
}

.hero-shape--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: shapeIn 2s ease 0.5s forwards, floatShape 20s ease-in-out 2.5s infinite;
}

.hero-shape--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
  animation: shapeIn 2s ease 0.8s forwards, floatShape 15s ease-in-out 2.8s infinite reverse;
}

.hero-shape--3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--color-accent-light) 0%, transparent 70%);
  top: 40%;
  left: 40%;
  animation: shapeIn 2s ease 1.1s forwards, floatShape 12s ease-in-out 3.1s infinite;
}

@keyframes shapeIn {
  to { opacity: 0.07; }
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* --- Hero Card Glass Effect --- */
.hero-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  animation: heroCardIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-card::before {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  opacity: 0.08;
}

@keyframes heroCardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-stat {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  position: relative;
}

.hero-stat:hover {
  background: rgba(90,107,71,0.1);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 20px rgba(90,107,71,0.08);
  border-radius: var(--radius);
}

.hero-stat-number {
  position: relative;
  transition: all 0.35s ease;
}

.hero-stat:hover .hero-stat-number {
  color: var(--color-accent);
  transform: scale(1.08);
}

/* --- Animated Content Image Placeholders --- */
.content-image {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
  background-size: 200% 200%;
  animation: meshGradient 8s ease infinite;
  position: relative;
  overflow: hidden;
}

.content-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(232,114,74,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(122,142,100,0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  animation: meshGradient 12s ease infinite reverse;
}

.content-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.15) 100%);
}

@keyframes meshGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.content-image-placeholder {
  opacity: 0.2;
  z-index: 1;
  position: relative;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

/* --- Stats Bar Enhancement --- */
.stats-bar {
  position: relative;
}

.stat-item {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.04);
}

.stat-number {
  transition: all 0.4s ease;
  text-shadow: 0 0 40px rgba(232,114,74,0.15);
}

.stat-item:hover .stat-number {
  text-shadow: 0 0 60px rgba(232,114,74,0.4);
  color: var(--color-accent-light);
}

/* --- Section Wave Dividers --- */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin-top: -1px;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Feature Card Premium Hover --- */
.feature-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.1), 0 0 0 1px var(--color-primary-light);
}

.feature-card .feature-icon {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(-8deg);
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(90,107,71,0.3);
}

.feature-card::before {
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary-light));
  background-size: 200% 100%;
}

.feature-card:hover::before {
  opacity: 1;
  animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* --- Pulsing Hero Badge --- */
.hero-badge::before {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.8); }
}

/* --- Button Shine & Lift --- */
.btn {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn--primary:hover::after {
  animation: btnShine 0.6s ease forwards;
}

.btn--primary:hover {
  box-shadow: 0 8px 24px rgba(232,114,74,0.35);
}

.btn--secondary:hover {
  box-shadow: 0 8px 24px rgba(90,107,71,0.2);
}

.btn--white:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

@keyframes btnShine {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* --- Team Card Lift & Glow --- */
.team-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
}

.team-avatar {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover .team-avatar {
  transform: scale(1.12);
  border-color: var(--color-accent-light);
  box-shadow: 0 0 24px rgba(232,114,74,0.35);
}

/* --- PEA Card Hover --- */
.pea-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pea-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.1);
}

.pea-highlight {
  animation: subtleGlow 4s ease-in-out infinite;
  overflow: hidden;
}

.pea-highlight::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 60%);
  animation: highlightOrb 6s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(90,107,71,0.2); }
  50% { box-shadow: 0 12px 48px rgba(90,107,71,0.35); }
}

@keyframes highlightOrb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30%, 30%); }
}

/* --- Process Step Hover --- */
.process-step {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step::before {
  transition: all 0.4s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.1);
  border-color: var(--color-accent);
}

.process-step:hover::before {
  color: var(--color-accent);
  opacity: 0.5;
}

/* --- CTA Animated Background --- */
.cta-section {
  background-size: 200% 200%;
  animation: ctaGradient 8s ease infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent-light) 0%, transparent 70%);
  opacity: 0.08;
  animation: floatShape 18s ease-in-out infinite reverse;
}

@keyframes ctaGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Benefits Grid Hover --- */
.benefit-item {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.benefit-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.12);
}

.benefit-icon {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.benefit-item:hover .benefit-icon {
  background: rgba(255,255,255,0.18);
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Data Table Row --- */
.data-table tbody tr {
  transition: all 0.3s ease;
}

.data-table tbody tr:hover {
  background: rgba(90,107,71,0.05);
}

/* --- Contact Form Inputs --- */
.form-group input,
.form-group textarea,
.form-group select {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  box-shadow: 0 0 0 3px rgba(90,107,71,0.12), 0 6px 16px rgba(90,107,71,0.06);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

/* --- Contact Info Cards --- */
.contact-info-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 3px solid transparent;
}

.contact-info-card:hover {
  transform: translateX(6px);
  border-left-color: var(--color-accent);
  background: rgba(90,107,71,0.04);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.contact-info-icon {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-info-card:hover .contact-info-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* --- Page Hero Bottom Line --- */
.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--color-primary-light) 30%, var(--color-accent) 50%, var(--color-primary-light) 70%, transparent 95%);
  opacity: 0.25;
}

/* --- Highlight Box --- */
.highlight-box {
  transition: all 0.35s ease;
}

.highlight-box:hover {
  border-left-width: 6px;
  background: linear-gradient(135deg, rgba(90,107,71,0.08), rgba(232,114,74,0.06));
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

/* --- Footer Link Underlines --- */
.footer-links a {
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-light);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover::after {
  width: 100%;
}

/* --- Logo Hover --- */
.logo-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.08);
}

/* --- Nav Hover Pill --- */
.nav a {
  position: relative;
  transition: color 0.3s ease;
}

.nav a::before {
  content: '';
  position: absolute;
  inset: -6px -12px;
  background: rgba(90,107,71,0.08);
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.nav a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav a::after {
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Enhanced Fade-in Variants --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Reduce Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-progress { display: none; }
  .hero-shapes { display: none; }
  .hero-badge, .hero h1, .hero-description,
  .hero-buttons, .hero-card { opacity: 1 !important; transform: none !important; }
}
