/* ==========================================================================
   AI F&B MANAGEMENT CHAMPIONS - MS-APPTECH BRAND THEME
   ========================================================================== */

:root {
  --bg: #ffffff;          
  --bg2: #f4f8f9;         
  --card: #ffffff;        
  --line: #d2dedf;        
  --text: #4a5d60;        
  --text-head: #112a2d;   
  --muted: #8fa0a3;       
  
  --green: #368187;       
  --green-dark: #1f5257;  
  --lime: #e97f32;        
  --lime-hover: #cf681f;  
  
  --white: #fff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, b, strong {
  color: var(--text-head);
}

.container {
  width: min(var(--max), 92%);
  margin: auto;
}

.section {
  padding: 92px 0;
}

.section.dark {
  background: var(--bg2); 
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sectionhead {
  max-width: 720px;
  margin-bottom: 42px;
}

h2 {
  font-size: clamp(34px, 4vw, 53px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 10px 0 15px;
}

.lead {
  color: var(--text);
  font-size: 17px;
}

.kicker {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
}

nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 248, 249, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navin {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--text-head);
  display: flex;
  align-items: center;
}

.navlinks {
  display: flex;
  gap: 28px;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
}

.navcta {
  padding: 11px 18px;
  border: 2px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.navcta:hover {
  background: var(--green);
  color: var(--white);
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 50px;
  padding: 72px 0 85px;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(54, 129, 135, 0.08); 
  filter: blur(40px);
  right: -100px;
  top: 80px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(233, 127, 50, 0.5);
}

h1 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -4px;
  margin: 20px 0;
}

h1 em {
  font-style: normal;
  color: var(--green);
}

.hero p {
  font-size: 20px;
  color: var(--text);
  max-width: 650px;
}

.hero-graphic {
  position: relative;
  height: 500px;
}

.orbit {
  position: absolute;
  inset: 30px;
  border: 1px dashed var(--line);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.orbit2 {
  position: absolute;
  inset: 90px;
  border: 1px solid rgba(54, 129, 135, 0.2);
  border-radius: 50%;
  animation: spin 22s linear infinite reverse;
}

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  border-radius: 42px;
  background: var(--green);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 950;
  font-size: 23px;
  box-shadow: 0 15px 35px rgba(54, 129, 135, 0.2);
}

.node {
  position: absolute;
  padding: 14px 17px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 10px 25px rgba(17, 42, 45, 0.05);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.n1 { top: 20px; left: 48%; }
.n2 { right: 0; top: 43%; }
.n3 { bottom: 15px; left: 42%; }
.n4 { left: 0; top: 40%; }

.node b {
  display: block;
  color: var(--green);
  font-size: 17px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  border: 0;
  border-radius: 8px; 
  padding: 14px 24px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.2s ease-in-out, transform 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.primary {
  background-color: var(--lime);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(233, 127, 50, 0.25);
}

.primary:hover {
  background-color: var(--lime-hover);
}

.secondary {
  background-color: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.secondary:hover {
  background-color: var(--green);
  color: var(--white);
}

.difference {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(17, 42, 45, 0.03);
}

.card:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  background: rgba(54, 129, 135, 0.05);
  border-radius: 50%;
  right: -55px;
  top: -55px;
}

.num {
  font-size: 13px;
  color: var(--green);
  font-weight: 900;
}

.card h3 {
  font-size: 21px;
  margin: 14px 0 9px;
  color: var(--text-head);
}

.card p {
  color: var(--text);
  margin: 0;
}

.problems {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.problem {
  display: flex;
  gap: 15px;
  padding: 19px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  transition: .25s;
  box-shadow: 0 2px 8px rgba(17, 42, 45, 0.02);
}

.problem:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 8px 20px rgba(54, 129, 135, 0.1);
}

.problem .pnum {
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(54, 129, 135, 0.1);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.problem b {
  display: block;
  color: var(--text-head);
}

.problem span {
  color: var(--muted);
  font-size: 13px;
}

.subjects {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.subject {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 4px 15px rgba(17, 42, 45, 0.03);
}

.subject .sicon { font-size: 28px; }
.subject h3 { font-size: 17px; color: var(--text-head); }
.subject p { color: var(--text); font-size: 13px; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 55px;
  align-items: center;
}

.flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 35px;
  flex-wrap: wrap;
}

.flow .step {
  flex: 1;
  min-width: 115px;
  text-align: center;
  padding: 20px 8px;
  position: relative;
}

.step .icon {
  width: 58px;
  height: 58px;
  margin: auto;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(17, 42, 45, 0.04);
}

.step b {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-head);
}

.arrow {
  color: var(--green);
  font-size: 22px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 8px 30px rgba(17, 42, 45, 0.04);
}

.stat {
  text-align: center;
  padding: 34px 18px;
  border-right: 1px solid var(--line);
}

.stat:last-child { border: 0; }
.stat strong { display: block; font-size: 42px; color: var(--green); letter-spacing: -2px; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 600;}

.tag {
  display: inline-block;
  font-size: 11px;
  color: var(--white);
  background: var(--green);
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
  font-weight: 700;
}

.bonus {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.bonus .card { min-height: 190px; }

.final {
  padding: 100px 0;
  background: var(--green-dark); 
}

.finalbox {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.final .kicker { color: var(--lime); }
.final h2 { font-size: clamp(40px, 6vw, 68px); color: var(--white); }
.final em { color: var(--lime); font-style: normal; }
.final p { color: rgba(255,255,255,0.8); font-size: 18px; }

footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 42, 45, 0.6); 
  backdrop-filter: blur(4px);
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modalbox {
  width: min(510px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 30px 60px rgba(17, 42, 45, 0.15);
}

.modalbox h3 { font-size: 26px; margin: 0 0 6px; color: var(--text-head); }
.modalbox p { color: var(--text); font-size: 14px; margin-bottom: 20px; }

label {
  display: block;
  font-size: 13px;
  color: var(--text-head);
  font-weight: 700;
  margin: 15px 0 7px;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text-head);
  border-radius: 8px;
  padding: 12px 15px;
  font: inherit;
  transition: border-color 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.close {
  float: right;
  background: none;
  color: var(--muted);
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.close:hover {
  color: var(--text-head);
}

@media(max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 55px; }
  .hero-graphic { height: 390px; }
  
  .difference { grid-template-columns: 1fr; }
  .subjects { grid-template-columns: repeat(2, 1fr); }
  
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  
  .bonus { grid-template-columns: 1fr; }
  .navlinks { display: none; }
}

@media(max-width: 560px) {
  h1 { letter-spacing: -2.5px; }
  .hero p { font-size: 17px; }
  
  .problems { grid-template-columns: 1fr; }
  .subjects { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  
  .hero-graphic { transform: scale(.82); margin: -35px -40px; }
  .node { font-size: 11px; }
}