/* ============================================================
   Ottawa Group Buy Ltd. — Main Stylesheet
   Unique Color Palette:
     Dark Base:      #0F1219
     Card BG:        #1A1E27
     Section Alt BG: #141820
     Primary Accent: #FF4D6A (vibrant carnation)
     Secondary:      #FFCA3A (sunny yellow)
     Tertiary:       #70E0C8 (mint)
     Text Primary:   #FEFDF9
     Text Muted:     #9CA3B0
     Border:         #2A2E3A
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  background-color: #0F1219;
  color: #FEFDF9;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 18, 25, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42, 46, 58, 0.6);
  transition: background-color 0.3s, border-color 0.3s;
}

.navbar.scrolled {
  background: rgba(15, 18, 25, 0.98);
  border-bottom-color: #2A2E3A;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FEFDF9;
  white-space: nowrap;
}

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

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: #9CA3B0;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #FEFDF9;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #FF4D6A;
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #FEFDF9;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

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

/* ---------- Hero Section ---------- */
.hero-section {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 77, 106, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(112, 224, 200, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FF4D6A;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: #FEFDF9;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.05rem;
  color: #9CA3B0;
  line-height: 1.75;
  margin-bottom: 32px;
}

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

.hero-visual {
  position: relative;
  height: 400px;
}

.hero-card {
  position: absolute;
  background: #1A1E27;
  border: 1px solid #2A2E3A;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-card-top {
  top: 20px;
  right: 40px;
}

.hero-card-mid {
  top: 150px;
  right: 80px;
}

.hero-card-bot {
  top: 280px;
  right: 20px;
}

.hero-card-icon {
  font-size: 1.4rem;
  color: #FF4D6A;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 77, 106, 0.1);
  border-radius: 10px;
}

.hero-card-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #FEFDF9;
  line-height: 1.2;
}

.hero-card-label {
  display: block;
  font-size: 0.8rem;
  color: #9CA3B0;
  line-height: 1.4;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.15s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: #FF4D6A;
  color: #FEFDF9;
}

.btn-primary:hover {
  background: #e6445f;
  box-shadow: 0 8px 30px rgba(255, 77, 106, 0.35);
}

.btn-outline {
  background: transparent;
  color: #FEFDF9;
  border: 1.5px solid #2A2E3A;
}

.btn-outline:hover {
  border-color: #FF4D6A;
  color: #FF4D6A;
}

/* ---------- Section Shared ---------- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFCA3A;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: #FEFDF9;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.025rem;
  color: #9CA3B0;
  line-height: 1.7;
}

/* ---------- Stats Section ---------- */
.stats-section {
  padding: 80px 0;
  background-color: #141820;
  border-top: 1px solid #1A1E27;
  border-bottom: 1px solid #1A1E27;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: #FF4D6A;
  letter-spacing: -1px;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FF4D6A;
  line-height: 1;
}

.stat-label {
  font-size: 0.925rem;
  color: #9CA3B0;
  margin-top: 4px;
}

/* ---------- Solutions Section ---------- */
.solutions-section {
  padding: 100px 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background: #1A1E27;
  border: 1px solid #2A2E3A;
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.solution-card:hover {
  border-color: #FF4D6A;
  box-shadow: 0 12px 40px rgba(255, 77, 106, 0.1);
  transform: translateY(-4px);
}

.solution-icon {
  color: #70E0C8;
  margin-bottom: 20px;
}

.solution-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FEFDF9;
  margin-bottom: 10px;
}

.solution-desc {
  font-size: 0.925rem;
  color: #9CA3B0;
  line-height: 1.65;
}

/* ---------- Partnership Section ---------- */
.partnership-section {
  padding: 100px 0;
  background-color: #141820;
}

.partnership-flow {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.partner-row {
  display: grid;
  grid-template-columns: 60px 1fr 200px;
  gap: 28px;
  align-items: center;
}

.partner-row-rev {
  grid-template-columns: 200px 1fr 60px;
}

.partner-row-rev .partner-number {
  order: 3;
}

.partner-row-rev .partner-visual {
  order: 1;
}

.partner-row-rev .partner-content {
  order: 2;
}

.partner-number {
  font-size: 3rem;
  font-weight: 900;
  color: #FF4D6A;
  line-height: 1;
  text-align: center;
}

.partner-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FEFDF9;
  margin-bottom: 8px;
}

.partner-text {
  font-size: 0.95rem;
  color: #9CA3B0;
  line-height: 1.7;
}

.partner-visual {
  height: 140px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid #2A2E3A;
}

.partner-visual-a {
  background: linear-gradient(135deg, rgba(255, 77, 106, 0.15) 0%, rgba(255, 202, 58, 0.1) 100%);
}

.partner-visual-b {
  background: linear-gradient(135deg, rgba(112, 224, 200, 0.15) 0%, rgba(255, 77, 106, 0.08) 100%);
}

.partner-visual-c {
  background: linear-gradient(135deg, rgba(255, 202, 58, 0.15) 0%, rgba(112, 224, 200, 0.1) 100%);
}

.partner-visual-d {
  background: linear-gradient(135deg, rgba(255, 77, 106, 0.12) 0%, rgba(112, 224, 200, 0.08) 100%);
}

/* ---------- Industries Section ---------- */
.industries-section {
  padding: 100px 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.industry-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: #1A1E27;
  border: 1px solid #2A2E3A;
  border-radius: 10px;
  transition: border-color 0.3s, background 0.3s;
}

.industry-tile:hover {
  border-color: #FFCA3A;
  background: #1F2430;
}

.industry-icon {
  color: #FFCA3A;
  font-size: 0.6rem;
  flex-shrink: 0;
}

.industry-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #FEFDF9;
  line-height: 1.3;
}

/* ---------- Impact Section ---------- */
.impact-section {
  padding: 100px 0;
  background-color: #141820;
}

.impact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.impact-card {
  background: #1A1E27;
  border: 1px solid #2A2E3A;
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.impact-metric {
  font-size: 2.6rem;
  font-weight: 900;
  color: #FFCA3A;
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1;
}

.impact-desc {
  font-size: 0.925rem;
  color: #9CA3B0;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
}

.impact-client {
  font-size: 0.8rem;
  font-weight: 600;
  color: #70E0C8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Contact Section ---------- */
.contact-section {
  padding: 100px 0;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-tag {
  margin-bottom: 12px;
}

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-text {
  font-size: 1rem;
  color: #9CA3B0;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #FF4D6A;
}

.contact-item-value {
  font-size: 1.025rem;
  color: #FEFDF9;
}

.contact-form {
  background: #1A1E27;
  border: 1px solid #2A2E3A;
  border-radius: 14px;
  padding: 36px 32px;
}

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

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FEFDF9;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #0F1219;
  border: 1px solid #2A2E3A;
  border-radius: 8px;
  color: #FEFDF9;
  transition: border-color 0.25s;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #FF4D6A;
}

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

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0B0E14;
  border-top: 1px solid #1A1E27;
  padding: 60px 0 32px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FEFDF9;
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #9CA3B0;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #FF4D6A;
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 0.9rem;
  color: #9CA3B0;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #FEFDF9;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1A1E27;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.825rem;
  color: #6B7280;
}

/* ---------- Fade-Up Animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

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

  .hero-content {
    max-width: 100%;
  }

  .hero-visual {
    height: 320px;
  }

  .hero-card-top { right: 20px; }
  .hero-card-mid { right: 40px; }
  .hero-card-bot { right: 0px; }

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

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

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

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

  .partner-row,
  .partner-row-rev {
    grid-template-columns: 50px 1fr 160px;
  }

  .partner-row-rev {
    grid-template-columns: 160px 1fr 50px;
  }

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

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0F1219;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .hero-section {
    padding: 110px 0 60px;
  }

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

  .hero-visual {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

  .partner-row,
  .partner-row-rev {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .partner-number {
    order: 1;
  }

  .partner-visual {
    display: none;
  }

  .partner-content {
    order: 2;
  }

  .partner-row-rev .partner-number {
    order: 1;
  }

  .partner-row-rev .partner-content {
    order: 2;
  }

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

  .impact-cards {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

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

  .stat-number {
    font-size: 2.2rem;
  }

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

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

  .impact-metric {
    font-size: 2rem;
  }
}
