/* ═══════════════════════════════════════════════════════════ */
/* MAJSTORI BL — Copilot-style Landing                        */
/* ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:    #0D1728;
  --bg2:   #111D34;
  --bg3:   #172040;
  --blue:  #2E4FC4;
  --blue2: #1D3A9E;
  --blue3: #6B8EF8;
  --text:  #EEF2FF;
  --muted: rgba(238,242,255,0.5);
  --dim:   rgba(238,242,255,0.22);
  --bdr:   rgba(255,255,255,0.08);
  --r: 18px; --r2: 24px;
  --font: 'Inter', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.blue-text { color: var(--blue3); }
.btn-solid {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; border: none; border-radius: 12px;
  font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,79,196,0.4); filter: brightness(1.1); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text); border: 1.5px solid rgba(255,255,255,0.22); border-radius: 12px;
  font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.glass-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--bdr);
  border-radius: var(--r2); backdrop-filter: blur(16px);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.glass-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(46,79,196,0.3); box-shadow: 0 8px 36px rgba(0,0,0,0.3); }

/* ══ NAVBAR ══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(13,23,40,0.88); border-bottom: 1px solid var(--bdr);
  backdrop-filter: blur(20px); transition: background 0.3s;
}
.navbar.scrolled { background: rgba(13,23,40,0.99); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.nav-links { display: flex; gap: 2px; margin-left: 20px; flex: 1; }
.nav-links a { padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--muted); border-radius: 9px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-actions { display: flex; gap: 10px; margin-left: auto; }
.nav-actions .btn-outline, .nav-actions .btn-solid { padding: 8px 18px; border-radius: 10px; }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* ══ HERO — Copilot Style ══ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 24px 40px;
  position: relative; overflow: hidden;
}

/* Hero background gradient — like Copilot's sunset gradient */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(46,79,196,0.35) 0%, transparent 60%),
    linear-gradient(180deg, #0a1525 0%, #0D1728 55%, #111D34 100%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: 0.55; }
.orb1 { width: 500px; height: 500px; background: radial-gradient(circle, #1D3A9E, transparent); top: -120px; left: -80px; animation: orbfloat 12s ease-in-out infinite; }
.orb2 { width: 400px; height: 400px; background: radial-gradient(circle, #3B1D8B, transparent); top: -60px; right: -60px; animation: orbfloat 9s ease-in-out 2s infinite reverse; }
.orb3 { width: 300px; height: 300px; background: radial-gradient(circle, #0B3D6B, transparent); bottom: 0px; left: 50%; transform: translateX(-50%); }

.hero-center {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 900px;
  text-align: center;
}

/* Greeting badge */
.hero-greeting {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 24px;
  background: rgba(46,79,196,0.12); border: 1px solid rgba(46,79,196,0.25);
  border-radius: 100px; font-size: 12px; font-weight: 700; color: #93B4FD;
}
.hero-icon-sm { width: 20px; height: 20px; border-radius: 5px; object-fit: cover; }

/* Title */
.hero-title {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.08;
  margin-bottom: 16px;
}
.hero-title-accent {
  background: linear-gradient(135deg, #6B8EF8, #A78BFA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 17px; color: var(--muted); margin-bottom: 40px; max-width: 580px; line-height: 1.65; }

/* ── BIG AI SEARCH BOX ── */
.ai-searchbox {
  width: 100%; max-width: 720px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  backdrop-filter: blur(24px);
  box-shadow: 0 8px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(46,79,196,0.1);
  margin-bottom: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ai-searchbox:focus-within {
  border-color: rgba(46,79,196,0.5);
  box-shadow: 0 8px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(46,79,196,0.3), 0 0 40px rgba(46,79,196,0.08);
}
.ai-searchbox-inner {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
}
.sb-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.sb-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: var(--font); font-size: 16px; color: var(--text);
}
.sb-input::placeholder { color: var(--muted); }
.sb-actions { display: flex; align-items: center; gap: 8px; }
.sb-mic {
  width: 38px; height: 38px; background: rgba(255,255,255,0.05); border: 1px solid var(--bdr);
  border-radius: 10px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.sb-mic:hover { background: rgba(255,255,255,0.1); }
.sb-send {
  width: 42px; height: 42px; background: var(--blue); border: none; border-radius: 12px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff;
  flex-shrink: 0; transition: transform 0.2s, box-shadow 0.2s;
}
.sb-send:hover { transform: scale(1.06); box-shadow: 0 4px 18px rgba(46,79,196,0.5); }

/* Quick chips */
.sb-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 4px 16px 14px;
}
.chip {
  padding: 7px 15px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; font-family: var(--font); font-size: 13px; font-weight: 600;
  color: rgba(238,242,255,0.75); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.chip:hover { background: rgba(46,79,196,0.15); border-color: rgba(46,79,196,0.35); color: #93B4FD; }

/* ── COUNTDOWN ── */
.countdown-wrap {
  display: flex; gap: 12px; margin-bottom: 32px; justify-content: center;
}
.cd-box {
  background: rgba(46,79,196,0.15); border: 1px solid rgba(46,79,196,0.3);
  border-radius: 12px; padding: 12px 18px; min-width: 70px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cd-box span { font-size: 24px; font-weight: 800; color: #fff; line-height: 1; }
.cd-box small { font-size: 11px; color: var(--blue3); text-transform: uppercase; font-weight: 700; margin-top: 4px; }

/* ── SEARCH RESULTS ── */
.search-results-wrap { width: 100%; max-width: 720px; margin-bottom: 16px; text-align: left;}
.search-results-header { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; padding-left: 8px;}
.search-results-list {
  display: flex; flex-direction: column; gap: 10px;
  animation: fadeUp 0.3s ease; max-height: 350px; overflow-y: auto; padding-right: 8px;
}
.search-results-list::-webkit-scrollbar { width: 6px; }
.search-results-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

.master-list-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--bdr);
  border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; gap: 14px;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.master-list-card:hover {
  background: rgba(46,79,196,0.1); border-color: rgba(46,79,196,0.3);
}
.ml-avatar-wrap { position: relative; width: 48px; height: 48px; flex-shrink: 0; }
.ml-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #222;}
.ml-status {
  position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--bg);
}
.ml-status.online { background: #10B981; }
.ml-status.offline { background: #64748B; }

.ml-info { flex: 1; overflow: hidden; }
.ml-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 2px; display: flex; align-items: center; gap: 6px;}
.ml-rating { font-size: 12px; color: #F59E0B; background: rgba(245,158,11,0.1); padding: 2px 6px; border-radius: 6px; font-weight: 700;}
.ml-desc { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ml-action {
  background: var(--blue); color: #fff; border: none; border-radius: 100px;
  padding: 8px 16px; font-size: 12px; font-weight: 700; cursor: pointer;
  transition: transform 0.2s;
}
.ml-action:hover { transform: scale(1.05); }

/* ── HERO CARDS (Copilot bottom cards) ── */
.hero-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; width: 100%; max-width: 900px; margin-top: 40px;
}
.hero-card {
  background: #172136; /* Dark navy base */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  display: flex; flex-direction: column;
}
.hero-card:hover { border-color: rgba(46,79,196,0.5); box-shadow: 0 12px 30px rgba(0,0,0,0.5); transform: translateY(-3px); }
.hcard-img-wrap { width: 100%; aspect-ratio: 1.3/1; overflow: hidden; }
.hcard-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.hero-card:hover .hcard-img { transform: scale(1.03); }
.hcard-body {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
}
.hcard-icon { font-size: 20px; flex-shrink: 0; }
.hcard-text { flex: 1; text-align: left; }
.hcard-text b { display: block; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.hcard-text span { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }
.hcard-arrow { font-size: 18px; color: rgba(255,255,255,0.3); transition: transform 0.2s, color 0.2s; font-weight: 300; }
.hero-card:hover .hcard-arrow { transform: translateX(5px); color: #fff; }

/* ══ SECTION COMMONS ══ */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; text-align: center; }
.section-badge {
  display: inline-block; padding: 6px 16px; margin-bottom: 14px;
  background: rgba(46,79,196,0.12); border: 1px solid rgba(46,79,196,0.22);
  border-radius: 100px; font-size: 12px; font-weight: 700; color: #93B4FD;
}
.section-h2 { font-size: clamp(26px,4vw,42px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 12px; }
.section-p { font-size: 15px; color: var(--muted); max-width: 540px; margin: 0 auto 56px; line-height: 1.7; }

/* ══ SERVICES ══ */
.services-section { padding: 100px 32px; background: var(--bg2); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 680px; margin: 0 auto; }
.srv-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 10px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--bdr); border-radius: 18px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--text);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  animation-fill-mode: both;
}
.srv-card:hover { transform: translateY(-4px) scale(1.03); border-color: color-mix(in srgb, var(--ic) 35%, transparent); background: color-mix(in srgb, var(--ic) 8%, transparent); }
.srv-ico { width: 52px; height: 52px; border-radius: 14px; font-size: 22px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--ic) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ic) 22%, transparent); transition: transform 0.3s; }
.srv-card:hover .srv-ico { transform: scale(1.1) rotate(-5deg); }

/* ══ FEATURES ══ */
.features-section { padding: 100px 32px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.feat-card { padding: 26px 22px; animation-fill-mode: both; }
.feat-ico { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, transparent); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); transition: transform 0.3s; }
.feat-card:hover .feat-ico { transform: scale(1.08) rotate(-5deg); }
.feat-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.feat-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ══ STATS ══ */
.stats-section { padding: 70px 32px; border-top: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr); background: rgba(46,79,196,0.04); }
.stats-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.stat-box { text-align: center; padding: 24px 48px; position: relative; }
.stat-box:not(:last-child)::after { content:''; position:absolute; right:0; top:20%; height:60%; width:1px; background:var(--bdr); }
.stat-n { font-size: 46px; font-weight: 900; letter-spacing: -2px; line-height: 1; display: inline-block; color: var(--blue3); }
.stat-plus { font-size: 26px; font-weight: 900; color: var(--blue3); display: inline-block; vertical-align: top; margin-top: 4px; }
.stat-l { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ══ CTA ══ */
.cta-section { padding: 80px 32px; }
.cta-inner {
  background: linear-gradient(135deg, rgba(46,79,196,0.42), rgba(29,58,158,0.28));
  border: 1px solid rgba(46,79,196,0.2); border-radius: 28px; padding: 80px 60px;
  position: relative; overflow: hidden;
}
.cta-inner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(46,79,196,0.2), transparent); pointer-events: none; }
.cta-logo { width: 68px; height: 68px; border-radius: 18px; margin-bottom: 20px; position: relative; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.cta-h2 { font-size: clamp(26px,4vw,42px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 10px; position: relative; }
.cta-p { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 36px; position: relative; }
.cta-btns { display: flex; gap: 14px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; position: relative; }
.btn-cta-solid { padding: 15px 38px; border-radius: 14px; font-size: 15px; }
.btn-cta-out { padding: 15px 38px; border-radius: 14px; font-size: 15px; border-color: rgba(255,255,255,0.32) !important; }
.dl-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.dl-badge { display: flex; align-items: center; gap: 12px; padding: 12px 22px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.dl-badge:hover { background: rgba(0,0,0,0.5); transform: translateY(-2px); }
.dl-badge.dl-coming { opacity: 0.45; cursor: default; }
.dl-badge.dl-coming:hover { transform: none; }
.dl-badge > span { font-size: 24px; }
.dl-s { font-size: 10px; color: rgba(255,255,255,0.5); }
.dl-n { font-size: 14px; font-weight: 700; }

/* ══ FAQ ══ */
.faq-section { padding: 100px 32px; }
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid var(--bdr); border-radius: 16px; overflow: hidden; cursor: pointer; transition: border-color 0.2s; }
.faq-item:hover { border-color: rgba(46,79,196,0.25); }
.fq { padding: 18px 20px; font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.fq span { color: var(--muted); font-size: 12px; transition: transform 0.3s; flex-shrink: 0; }
.fa { max-height: 0; overflow: hidden; font-size: 14px; color: var(--muted); line-height: 1.7; padding: 0 20px; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .fa { max-height: 200px; padding: 0 20px 18px; }
.faq-item.open .fq span { transform: rotate(180deg); }

/* ══ FOOTER ══ */
.footer { background: rgba(0,0,0,0.35); border-top: 1px solid var(--bdr); padding: 56px 32px 24px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; text-align: left; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 12px; max-width: 250px; }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(238,242,255,0.55); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--muted); margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--bdr); display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); flex-wrap: wrap; gap: 8px; }

/* ══ ANIMATIONS ══ */
@keyframes orbfloat { 0%,100%{ transform:translateY(0) scale(1); } 50%{ transform:translateY(-20px) scale(1.04); } }
@keyframes fadeUp { from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].vis { opacity: 1; transform: none; transition-delay: var(--d, 0s); }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .hero-cards { grid-template-columns: 1fr; max-width: 400px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stat-box { padding: 20px 28px; }
  .cta-inner { padding: 48px 24px; }
}
@media (max-width: 680px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .sb-chips { gap: 6px; }
  .chip { font-size: 12px; padding: 6px 12px; }
}
