@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&family=Urbanist:wght@600;700;800;900&display=swap');

:root {
  --iw-teal: #134e4a;
  --iw-mint: #0d9488;
  --iw-light-mint: #ccfbf1;
  --iw-bg: #f0fdfa;
  --iw-surface: #ffffff;
  --iw-text: #134e4a;
  --iw-body-text: #334155;
  --iw-border: #99f6e4;
  --iw-font-head: 'Urbanist', sans-serif;
  --iw-font-body: 'Cabin', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--iw-font-body);
  background-color: var(--iw-bg);
  color: var(--iw-body-text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.iw-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.iw-header {
  background: #ffffff; border-bottom: 1px solid var(--iw-border);
  position: sticky; top: 0; z-index: 100;
}
.iw-top {
  background: var(--iw-teal); color: #99f6e4; font-size: 0.8rem; padding: 6px 0;
}
.iw-nav {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0;
}
.iw-logo {
  font-family: var(--iw-font-head); font-size: 1.6rem; font-weight: 900; color: var(--iw-teal);
  letter-spacing: -0.5px;
}
.iw-logo span { color: var(--iw-mint); }
.iw-nav-links { display: flex; list-style: none; gap: 28px; align-items: center; }
.iw-nav-links a { font-weight: 600; font-size: 0.95rem; color: #1e293b; transition: color 0.2s; }
.iw-nav-links a:hover, .iw-nav-links a.active { color: var(--iw-mint); }

.iw-btn {
  background: var(--iw-teal); color: #ffffff; padding: 12px 24px; border-radius: 6px;
  font-weight: 700; font-family: var(--iw-font-head); font-size: 0.92rem; display: inline-block;
  transition: background 0.2s;
}
.iw-btn:hover { background: var(--iw-mint); }
.iw-toggle { display: none; background: none; border: 1px solid var(--iw-border); padding: 6px 12px; cursor: pointer; }

.iw-hero {
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.9), rgba(13, 148, 136, 0.85)), url('../media/photo-c333d209.jpg') center/cover;
  color: #ffffff; padding: 96px 0;
}
.iw-badge {
  display: inline-block; background: rgba(204, 251, 241, 0.2); color: #ccfbf1;
  padding: 6px 16px; border-radius: 30px; font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.iw-hero-title {
  font-family: var(--iw-font-head); font-size: 3rem; font-weight: 800; line-height: 1.15;
  margin-bottom: 20px; max-width: 800px;
}
.iw-hero-title span { color: #5eead4; }
.iw-hero-desc {
  font-size: 1.15rem; color: #e6fffa; max-width: 660px; margin-bottom: 34px;
}

.iw-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.iw-card {
  background: #ffffff; border: 1px solid var(--iw-border); border-radius: 10px; padding: 32px;
  box-shadow: 0 4px 6px rgba(19, 78, 74, 0.04);
}
.iw-card-title {
  font-family: var(--iw-font-head); font-size: 1.3rem; font-weight: 700; color: var(--iw-teal); margin-bottom: 12px;
}

.iw-box {
  background: #ffffff; border: 1px solid var(--iw-border); border-radius: 12px;
  padding: 36px; box-shadow: 0 10px 25px rgba(19, 78, 74, 0.06);
}

.iw-footer {
  background: var(--iw-teal); color: #99f6e4; padding: 70px 0 24px; font-size: 0.9rem;
}
.iw-footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px;
}
.iw-footer-title {
  font-family: var(--iw-font-head); color: #ffffff; font-size: 1.1rem; margin-bottom: 16px;
}
.iw-footer-links { list-style: none; }
.iw-footer-links li { margin-bottom: 10px; }
.iw-footer-links a:hover { color: #ffffff; }

@media (max-width: 768px) {
  .iw-toggle { display: block; }
  .iw-nav-links {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: #ffffff; flex-direction: column; padding: 20px;
    border-bottom: 1px solid var(--iw-border);
  }
  .iw-nav-links.open { display: flex; }
  .iw-grid-3 { grid-template-columns: 1fr; }
  .iw-footer-grid { grid-template-columns: 1fr; }
  .iw-hero-title { font-size: 2.2rem; }
}

.iw-alert-ticker {
  background: #134e4a;
  color: #ccfbf1;
  font-size: 0.82rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(94, 234, 212, 0.2);
}
.iw-alert-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.iw-hero-split {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
}
.iw-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.iw-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0 0;
}
.iw-kpi-card {
  background: #ffffff;
  border: 1px solid var(--iw-border);
  padding: 18px 14px;
  border-radius: 8px;
  text-align: center;
}
.iw-kpi-num {
  font-family: var(--iw-font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--iw-teal);
  display: block;
}
.iw-kpi-lbl {
  font-size: 0.78rem;
  color: var(--iw-body-text);
  margin-top: 4px;
}
.iw-section-title {
  font-family: var(--iw-font-head);
  font-size: 2rem;
  color: var(--iw-teal);
  font-weight: 800;
  margin-bottom: 12px;
}
.iw-section-subtitle {
  color: var(--iw-body-text);
  font-size: 1.05rem;
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 36px;
}
.iw-table-wrap {
  background: #ffffff;
  border: 1px solid var(--iw-border);
  border-radius: 10px;
  overflow-x: auto;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(19, 78, 74, 0.04);
}
.iw-stock-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}
.iw-stock-table th {
  background: #f0fdfa;
  color: var(--iw-teal);
  font-family: var(--iw-font-head);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 2px solid var(--iw-border);
  white-space: nowrap;
}
.iw-stock-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  color: var(--iw-body-text);
  vertical-align: middle;
}
.iw-stock-table tr:hover {
  background: #f9fdfc;
}
.iw-badge-avail {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}
.iw-badge-coa {
  display: inline-block;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  text-decoration: none;
}
.iw-protocols-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.iw-protocol-card {
  background: #ffffff;
  border: 1px solid var(--iw-border);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 2px 8px rgba(19, 78, 74, 0.03);
}
.iw-protocol-card h3 {
  font-family: var(--iw-font-head);
  font-size: 1.25rem;
  color: var(--iw-teal);
  margin-bottom: 12px;
}
.iw-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.iw-faq-item {
  background: #ffffff;
  border: 1px solid var(--iw-border);
  border-radius: 8px;
  padding: 24px;
}
.iw-faq-item h4 {
  font-family: var(--iw-font-head);
  font-size: 1.15rem;
  color: var(--iw-teal);
  margin-bottom: 10px;
}
@media (max-width: 992px) {
  .iw-hero-grid { grid-template-columns: 1fr; }
  .iw-kpi-row { grid-template-columns: 1fr 1fr; }
  .iw-protocols-grid { grid-template-columns: 1fr; }
  .iw-faq-grid { grid-template-columns: 1fr; }
}

/* Header CTA button contrast fix */
.iw-nav-links a.iw-btn, header .iw-btn { color: #ffffff !important; background: var(--iw-teal) !important; }
.iw-nav-links a.iw-btn:hover { background: var(--iw-mint) !important; }

/* --- Mobile Viewport & Header Perfection --- */
.iw-nav { padding: 16px 24px !important; }
@media (max-width: 992px) {
  .iw-nav { padding: 14px 20px !important; }
  .iw-logo {
    font-size: 1.15rem !important; max-width: 78% !important;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .iw-toggle {
    display: flex !important; align-items: center; justify-content: center;
    padding: 8px 14px !important; margin-left: auto !important;
  }
  .iw-nav-links {
    position: absolute !important; top: 100% !important; left: 0 !important; right: 0 !important;
    width: 100% !important; background: #ffffff !important; z-index: 9999 !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important; padding: 20px !important;
  }
  .iw-nav-links.open { display: flex !important; }
  .iw-top .iw-container {
    flex-direction: column !important; gap: 4px !important;
    text-align: center !important; padding: 6px 16px !important;
  }
  .iw-alert-ticker { padding: 8px 16px !important; }
  .iw-alert-inner { flex-direction: column !important; text-align: center !important; gap: 4px !important; }
  input, select, textarea { font-size: 16px !important; }
}


html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
}

.resp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.resp-stats-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.resp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.fa-table-wrap,
.ga-table-responsive,
.re-table-wrap,
.sbg-table-wrap,
.iw-table-wrap,
.vo-matrix-wrap,
.wb-fund-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block !important;
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  header > div {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  
  header a[class*="brand"],
  header a[class*="logo"] {
    font-size: 1.25rem !important;
    margin-right: auto !important;
  }
  
  header button {
    margin-left: auto !important;
  }
  
  .resp-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .resp-stats-3 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  .resp-grid-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
  
  .resp-form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }
}

@media (max-width: 600px) {
  .resp-grid-4 {
    grid-template-columns: 1fr !important;
  }
  
  h1 {
    font-size: 1.95rem !important;
    line-height: 1.25 !important;
  }
  
  h2 {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }
  
  input, select, textarea {
    font-size: 16px !important;
  }
}
