/* ═══════════════════════════════════════════
   agileFlow — Main Stylesheet
   AgileFlow Lab Inc. | agileflowlab.com
═══════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:         #1D9E75;
  --teal-dark:    #0F6E56;
  --teal-darkest: #04342C;
  --teal-light:   #E1F5EE;
  --blue-light:   #E6F1FB;
  --blue-mid:     #185FA5;
  --purple-light: #EEEDFE;
  --purple-mid:   #3C3489;
  --orange-light: #FEF3E8;
  --orange-mid:   #B85C00;
  --text:         #111;
  --muted:        #555;
  --subtle:       #888;
  --border:       #e5e5e5;
  --bg-alt:       #f8f9fa;
  --radius:       12px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html  { scroll-behavior: smooth; }
body  { font-family: var(--font); color: var(--text); background: #fff; font-size: 15px; line-height: 1.65; }
a     { text-decoration: none; color: inherit; }

/* ── LAYOUT ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ── BUTTONS ── */
.btn         { display: inline-block; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; border: none; transition: opacity .15s; }
.btn:hover   { opacity: .88; }
.btn-teal    { background: var(--teal); color: #fff; }
.btn-white   { background: #fff; color: var(--teal-dark); }
.btn-outline { background: transparent; color: #fff; border: 0.5px solid rgba(255,255,255,.4); }

/* ── NAV ── */
nav                 { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 0.5px solid var(--border); }
.nav-inner          { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo           { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; letter-spacing: -0.3px; }
.logo-text          { color: var(--text); letter-spacing: -0.3px; }
.logo-flow          { color: var(--teal); }
.nav-links          { display: flex; gap: 28px; list-style: none; }
.nav-links a        { font-size: 14px; color: var(--muted); transition: color .15s; }
.nav-links a:hover  { color: var(--text); }
.nav-right          { display: flex; align-items: center; gap: 12px; }

/* ── CELIGO BADGE ── */
.celigo-badge        { display: flex; align-items: center; gap: 8px; background: #fff; border: 0.5px solid var(--border); border-radius: 8px; padding: 5px 12px; }
.celigo-circle       { width: 28px; height: 28px; border-radius: 50%; background: #000; display: flex; align-items: center; justify-content: center; }
.celigo-circle span  { color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .5px; }
.celigo-label        { font-size: 10px; }
.celigo-label small  { display: block; color: var(--subtle); text-transform: uppercase; font-size: 9px; letter-spacing: .8px; }

/* ── HERO ── */
.hero          { background: var(--teal-darkest); padding: 80px 0 88px; text-align: center; overflow: hidden; position: relative; }
.hero::before  { content: ''; position: absolute; top: -60px; right: 5%; width: 320px; height: 320px; border-radius: 50%; background: rgba(93,202,165,.08); pointer-events: none; }
.hero::after   { content: ''; position: absolute; bottom: -80px; left: 3%; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }
.hero-badge      { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 0.5px solid rgba(255,255,255,.2); border-radius: 20px; padding: 5px 16px; margin-bottom: 24px; }
.hero-badge-dot  { width: 6px; height: 6px; border-radius: 50%; background: #5DCAA5; flex-shrink: 0; }
.hero-badge span { font-size: 12px; color: #9FE1CB; }
.hero h1         { font-size: clamp(30px, 5vw, 44px); font-weight: 500; color: #fff; line-height: 1.2; margin-bottom: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero h1 em      { color: #5DCAA5; font-style: normal; }
.hero-sub        { color: #9FE1CB; font-size: 16px; max-width: 500px; margin: 0 auto 36px; }
.hero-btns       { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats      { display: flex; justify-content: center; gap: clamp(20px, 5vw, 56px); padding-top: 36px; border-top: 0.5px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.stat-num        { font-size: 24px; font-weight: 500; color: #fff; }
.stat-label      { font-size: 12px; color: #9FE1CB; margin-top: 2px; }

/* ── TRUST BAR ── */
.trust-bar   { background: var(--bg-alt); border-bottom: 0.5px solid var(--border); padding: 13px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.trust-item  { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.trust-dot   { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ── SECTIONS ── */
section                { padding: 72px 0; border-bottom: 0.5px solid var(--border); }
section.alt            { background: var(--bg-alt); }
.section-label         { font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; font-weight: 500; }
.section-title         { font-size: clamp(22px, 3vw, 28px); font-weight: 500; margin-bottom: 10px; }
.section-sub           { color: var(--muted); font-size: 15px; max-width: 560px; margin-bottom: 36px; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }

/* ── SERVICE CARDS ── */
.card         { background: #fff; border: 0.5px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card-icon    { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-teal    { background: var(--teal-light); }
.icon-blue    { background: var(--blue-light); }
.icon-purple  { background: var(--purple-light); }
.icon-orange  { background: var(--orange-light); }
.card h3      { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.card p       { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── TAGS ── */
.tag          { display: inline-block; font-size: 11px; padding: 3px 10px; border-radius: 12px; font-weight: 500; margin-top: 14px; }
.tag-teal     { background: var(--teal-light);   color: var(--teal-dark); }
.tag-blue     { background: var(--blue-light);   color: var(--blue-mid); }
.tag-purple   { background: var(--purple-light); color: var(--purple-mid); }
.tag-orange   { background: var(--orange-light); color: var(--orange-mid); }
.tag-gray     { background: #f1f1f1; color: #555; margin-top: 4px; }

/* ── PLATFORM TABS ── */
.tab-btns           { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.tab-btn            { font-size: 13px; padding: 8px 18px; border-radius: 8px; border: 0.5px solid var(--border); background: #fff; color: var(--muted); cursor: pointer; transition: all .15s; }
.tab-btn.active     { border-color: var(--teal); background: var(--teal-light); color: var(--teal-dark); font-weight: 500; }
.tab-panel          { display: none; }
.tab-panel.active   { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.platform-card      { background: #fff; border: 0.5px solid var(--border); border-radius: var(--radius); padding: 20px; }
.platform-card h4   { font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.platform-card p    { font-size: 12px; color: var(--muted); line-height: 1.6; }
.platform-all       { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.platform-all span  { font-size: 12px; color: var(--subtle); }

/* ── HOW WE WORK ── */
.step       { background: #fff; padding: 24px 20px; }
.step-num   { font-size: 11px; color: var(--teal); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.step h3    { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.step p     { font-size: 12px; color: var(--muted); }

/* ── ABOUT / VALUES ── */
.values-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.value-card    { background: #fff; border: 0.5px solid var(--border); border-radius: var(--radius); padding: 22px 20px; display: flex; gap: 14px; align-items: flex-start; }
.value-icon    { width: 36px; height: 36px; border-radius: 8px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.value-card h3 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.value-card p  { font-size: 12px; color: var(--muted); line-height: 1.65; }

.caps-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap-item     { text-align: center; padding: 24px 16px; background: #fff; border: 0.5px solid var(--border); border-radius: var(--radius); }
.cap-num      { font-size: 28px; font-weight: 500; color: var(--teal); }
.cap-label    { font-size: 12px; color: var(--muted); margin-top: 4px; }

.about-body { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 680px; margin-bottom: 20px; }

/* ── CTA SECTION ── */
.cta-section       { background: var(--teal-darkest); padding: 72px 0; text-align: center; border-bottom: none; }
.cta-section h2    { color: #fff; font-size: 28px; font-weight: 500; margin-bottom: 10px; }
.cta-section p     { color: #9FE1CB; margin-bottom: 28px; }
.cta-btns          { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── CONTACT PAGE ── */
.contact-grid         { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.contact-form label   { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 10px 14px;
  border: 0.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: var(--font);
  color: var(--text); background: #fff;
  margin-bottom: 18px; outline: none;
  transition: border-color .15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--teal); }
.contact-form textarea   { resize: vertical; min-height: 110px; }
.contact-form .submit-btn { width: 100%; padding: 13px; font-size: 15px; }
.form-note               { font-size: 12px; color: var(--subtle); margin-top: 14px; line-height: 1.6; }

.contact-details              { background: var(--bg-alt); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-details h3           { font-size: 15px; font-weight: 500; margin-bottom: 20px; }
.contact-detail-item          { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.detail-icon                  { width: 36px; height: 36px; border-radius: 8px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-text strong           { display: block; font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.detail-text span             { font-size: 13px; color: var(--muted); }
.partner-box                  { margin-top: 24px; padding-top: 24px; border-top: 0.5px solid var(--border); }
.partner-box p                { font-size: 12px; color: var(--subtle); margin-bottom: 10px; }

/* ── CONTACT PAGE SECTION ── */
.contact-section { padding: 72px 0; border-bottom: none; }

/* ── FOOTER ── */
footer           { background: var(--bg-alt); border-top: 0.5px solid var(--border); padding: 24px 0; }
.footer-inner    { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy     { font-size: 12px; color: var(--subtle); }
.footer-links    { display: flex; gap: 20px; }
.footer-links a  { font-size: 12px; color: var(--subtle); }
.footer-links a:hover { color: var(--text); }

/* ── PAGE TOGGLE ── */
.page        { display: none; }
.page.active { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .grid-2,
  .values-grid,
  .contact-grid,
  .caps-grid     { grid-template-columns: 1fr; }
  .grid-4        { grid-template-columns: 1fr 1fr; }
  .nav-links     { display: none; }
  .celigo-badge  { display: none; }
  .hero-stats    { gap: 20px; }
}
