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

/* hide scrollbar */
* {
  scrollbar-width: none; 
  -ms-overflow-style: none; 
}
*::-webkit-scrollbar {
  display: none;
}

:root{
  --blue:        #004aad;
  --blue-mid:    #003d91;
  --blue-light:  #004aad12;
  --orange:      #ef6107;
  --orange-light:#fde8d5;
  --bg:          #f5f8ff;
  --white:       #ffffff;
  --ink:         #0a1628;
  --ink-mid:     #1e3a5f;
  --ink-muted:   #5a7a9f;
  --border:      #d0dff5;
  --card-bg:     #f9fbff;
}
html{ scroll-behavior: smooth; }

body{
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* NAV */
nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  background: rgba(245,248,255,0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-logo{ display: flex; align-items: center; text-decoration: none; }
.nav-logo img{ height: 36px; width: auto; mix-blend-mode: multiply; display: block; }

.nav-links{ display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a{ font-size: 0.875rem; font-weight: 600; color: var(--ink-mid); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover{ color: var(--blue); }

.nav-cta{ background: var(--blue) !important; color: var(--white) !important; padding: 8px 18px; border-radius: 8px; }
.nav-cta:hover{ background: var(--blue-mid) !important; }
.nav-github{
  display: flex;
  align-items: center;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.nav-github:hover{ color: var(--blue); }

.nav-burger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.nav-burger span{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-mid);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 680px){
  nav { padding: 0 16px; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(245,248,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 24px; font-size: 0.95rem; }
  .nav-cta { margin: 8px 24px; border-radius: 8px; text-align: center; }
}

.hero{
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
@media (max-width: 800px){
  .hero {
    grid-template-columns: 1fr;
    padding: 88px 20px 40px;
    gap: 28px;
  }
}
@media (max-width: 420px){
  .ss-frame { min-width: 100px; max-width: 115px; }
}

.hero-left{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-tag{
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.hero h1{
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 16px;
}
.hero h1 span{ color: var(--blue); }

.hero-desc{
  font-size: 0.95rem;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}
.hero-context{
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  padding: 12px 16px;
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
}
.hero-context strong{ color: var(--blue); }

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

.btn-primary{
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white);
  font-family: Arial, sans-serif; font-weight: 700; font-size: 0.9rem;
  padding: 12px 24px; border-radius: 8px; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover{ background: var(--blue-mid); transform: translateY(-1px); }
.btn-secondary{
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink-mid);
  font-family: Arial, sans-serif; font-weight: 600; font-size: 0.9rem;
  padding: 12px 20px; border-radius: 8px;
  border: 1.5px solid var(--border); text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover{ border-color: var(--blue); color: var(--blue); }

.hero-note { margin-top: 12px; font-size: 0.78rem; color: var(--ink-muted); }


/* SCREENSHOTS */
.screenshots-panel{
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: flex-end;
}
.ss-frame{
  border-radius: 16px;
  box-shadow: 0 4px 20px #004aad18, 0 0 0 1.5px #d0dff5;
  overflow: hidden;
  flex-shrink: 0;
}
.ss-frame img{
  display: block;
  width: 160px;
  height: auto;
  border-radius: 16px;
}
.ss-frame.tall img{
  width: 185px;
}

@media (max-width: 800px){
  .screenshots-panel { gap: 8px; }
  .ss-frame img { width: 120px; }
  .ss-frame.tall img { width: 138px; }
}
@media (max-width: 420px){
  .ss-frame img { width: 95px; }
  .ss-frame.tall img { width: 109px; }
}

/* DIVIDER */
hr.divider{ border: none; border-top: 1px solid var(--border); }

/* SECTIONS */
section { padding: 64px 24px; }
.container { max-width: 960px; margin: 0 auto; }
.section-label{
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange); display: block; margin-bottom: 10px;
}
.section-title{
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 700; color: var(--ink);
  margin-bottom: 12px; line-height: 1.25;
}
.section-body{
  font-size: 0.925rem; color: var(--ink-mid);
  line-height: 1.75; max-width: 640px;
}

/* ABOUT */
.about{ background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 36px;
}

@media(max-width: 600px) { .about-grid { grid-template-columns: 1fr; } }

.about-card{
  padding: 22px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card-bg);
}
.about-card h3{ font-size: 0.9rem; font-weight: 700; color: var(--orange); margin-bottom: 8px; }
.about-card p{ font-size: 0.875rem; color: var(--ink-mid); line-height: 1.7; }

/* FEATURES */
.features-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; margin-top: 36px;
}
.feature-item{
  display: flex; align-items: flex-start; gap: 10px;
  padding: 16px; background: var(--white);
  border: 1px solid var(--border); border-radius: 10px;
}

.feature-icon{ font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.feature-item p{ font-size: 0.85rem; color: var(--ink-mid); line-height: 1.55; font-weight: 600; }

/* HOW IT WORKS */
.how{ background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px; margin-top: 36px;
}

.step{ padding: 22px; border-radius: 10px; border: 1px solid var(--border); background: var(--card-bg); }
.step-num{ font-size: 1.4rem; font-weight: 700; color: var(--orange); margin-bottom: 10px; }
.step h3{ font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step p{ font-size: 0.85rem; color: var(--ink-mid); line-height: 1.65; }

/* INSTALL */
.install-steps{ display: flex; flex-direction: column; gap: 14px; margin-top: 32px; max-width: 520px; }

.install-step{ display: flex; align-items: flex-start; gap: 12px; }

.install-num{
  width: 27px; height: 27px; min-width: 27px;
  border-radius: 50%; background: var(--orange); color: var(--white);
  font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

.install-text{ font-size: 0.9rem; color: var(--ink-mid); line-height: 1.6; }
.install-text strong{ color: var(--ink); }

.install-note{
  margin-top: 20px; padding: 13px 16px;
  background: var(--orange-light); border: 1px solid #ef610733;
  border-radius: 8px; font-size: 0.85rem; color: var(--ink-mid); max-width: 520px;
}

/* TEAM */
.team{ background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.team-grid{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.team-card{
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 20px;
  display: flex; align-items: center; gap: 12px; min-width: 200px;
}
.team-name{ font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.team-role{ font-size: 0.75rem; color: var(--ink-muted); margin-top: 2px; }

/* SUPPORT */
.support-bar{ background: var(--blue); padding: 40px 24px; text-align: center; }
.support-bar h2{ font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.support-bar p{ font-size: 0.875rem; color: #a8c4f0; margin-bottom: 22px; max-width: 420px; margin-left: auto; margin-right: auto; line-height: 1.65; }

.kofi-btn{
  display: inline-flex; align-items: center; gap: 10px;
  background: #ff5e5b; color: var(--white);
  font-family: Arial, sans-serif; font-weight: 700; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 10px; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px #ff5e5b33;
}
.kofi-btn:hover{ transform: translateY(-2px); box-shadow: 0 6px 24px #ff5e5b55; }

/* FOOTER */
footer{
  background: #0a1628; color: #cbd8ea;
  text-align: center; padding: 40px 24px;
  font-size: 0.85rem; line-height: 1.9;
  border-top: 3px solid var(--blue);
}

footer a{ color: #7fb3ff; text-decoration: none; transition: color 0.2s; }
footer a:hover{ color: var(--orange); }

.footer-disclaimer{
  display: inline-block; margin-top: 18px;
  background: #ef610718; border: 1px solid #ef610755;
  color: #f9b07a; font-size: 0.8rem; font-weight: 600;
  padding: 9px 18px; border-radius: 8px;
  max-width: 560px; line-height: 1.6;
}