/* ============================================================
   Athena — Main Stylesheet
   ============================================================ */

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

:root {
  --bg:        #FFFFFF;
  --bg-soft:   #F3F0FF;
  --bg-card:   #E8E3FF;
  --text:      #0D0B22;
  --text-2:    #261C68;
  --muted:     #6B60A8;
  --accent:    #6638F0;
  --accent-d:  #5228D8;
  --accent-gradient: linear-gradient(90deg, #5C35E8, #9060F8);
  --border:    #D4CDF8;
  --border-2:  #BEB5F8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Navigation ───────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: none;
  box-shadow: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
  overflow: visible;
}

.logo svg {
  overflow: visible;
}

.logo img {
  mix-blend-mode: multiply;
}

.logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 13px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-soft);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-nav:hover {
  background: var(--accent-d);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  padding: 4px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 88px clamp(20px, 5vw, 56px) 0;
  text-align: center;
  overflow: visible;
}

.announce-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-2);
  background: var(--bg-soft);
  font-size: 0.8375rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 32px;
}

.announce-pill .pill-icon {
  font-size: 0.9rem;
}

.announce-pill a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.announce-pill a:hover {
  text-decoration: underline;
}

h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
  max-width: 820px;
  margin: 0 auto 22px;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.72;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 30px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-hero-primary:hover {
  background: var(--accent-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 56, 240, 0.3);
}

.btn-hero-dark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 30px;
  border-radius: 100px;
  background: var(--text);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.btn-hero-dark:hover {
  background: #1e1b3d;
  transform: translateY(-2px);
}

/* ── Hero Product Card ────────────────────────────────────── */
.hero-card-wrap {
  max-width: 1060px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  border: 1px solid var(--border-2);
  border-bottom: none;
  box-shadow: 0 -4px 40px rgba(102, 56, 240, 0.08), 0 0 0 1px rgba(102, 56, 240, 0.06);
}

.hero-card-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(102, 56, 240, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.hc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hc-dot:nth-child(1) { background: #FF5F57; }
.hc-dot:nth-child(2) { background: #FEBC2E; }
.hc-dot:nth-child(3) { background: #28C840; }

.hero-card-topbar-title {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  flex: 1;
  text-align: center;
}

.hero-card-body {
  display: flex;
  flex-direction: column;
}

/* Sidebar */
.hc-sidebar {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hc-sidebar-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.hc-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: default;
}

.hc-nav-item.active {
  background: var(--accent);
  color: white;
}

.hc-nav-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.hc-nav-item.active svg {
  opacity: 1;
}

/* Main chat area */
.hc-main {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  padding: 20px;
}

.hc-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.hc-chat-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
}

.hc-chat-badge {
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(102, 56, 240, 0.08);
  border: 1px solid rgba(102, 56, 240, 0.15);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.hc-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hc-msg {
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 86%;
}

.hc-msg-user {
  align-self: flex-end;
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 2px;
}

.hc-msg-ai {
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-bottom-left-radius: 2px;
}

.hc-msg-ai strong {
  color: var(--accent);
}

.hc-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(102, 56, 240, 0.07);
  border: 1px solid rgba(102, 56, 240, 0.15);
  font-size: 0.68rem;
  color: var(--accent);
  font-weight: 600;
}

.hc-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: 100px;
  border: 1px solid var(--border-2);
  background: white;
  font-size: 0.8rem;
  color: var(--muted);
}

.hc-send {
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 100px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Hero Card — App-style layout ────────────────────────── */
.hc-app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
}

.hc-app-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
}

.hc-app-nav-links span {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}

.hc-app-new-chat {
  color: var(--text-2);
}

.hc-app-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.hc-app-username {
  font-weight: 600;
  color: var(--text);
}

.hc-app-dept {
  color: var(--muted);
  font-weight: 500;
}

.hc-app-logout {
  color: var(--muted);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hc-centered-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 32px 44px;
  gap: 28px;
}

.hc-centered-greeting {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hc-centered-input {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  padding: 13px 14px 13px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-2);
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.hc-centered-placeholder {
  flex: 1;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Feature Sections ─────────────────────────────────────── */
.feat-section {
  padding: 120px clamp(20px, 5vw, 80px);
}


.feat-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 96px;
  align-items: center;
}

.feat-inner.reverse {
  direction: rtl;
}

.feat-inner.reverse > * {
  direction: ltr;
}

.feat-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.feat-label-bar {
  display: inline-block;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
}

.feat-h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 14px;
}

.feat-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.76;
  margin-bottom: 32px;
}

.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.55;
}

.feat-check {
  width: 20px;
  height: 20px;
  border-radius: 100px;
  background: rgba(102, 56, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.feat-check svg {
  color: var(--accent);
}

/* ── Stacked Section (LMS) ───────────────────────────────── */
.feat-stacked {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.feat-stacked-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feat-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 48px;
  margin-top: 32px;
  width: 100%;
  max-width: 760px;
}

.feat-stacked .browser-outer {
  width: 100%;
}

@media (max-width: 700px) {
  .feat-list-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Statement Bar ────────────────────────────────────────── */
.statement-bar {
  background: var(--accent-gradient);
  padding: 72px clamp(20px, 5vw, 56px);
  text-align: center;
}

.statement-bar-inner {
  max-width: 860px;
  margin: 0 auto;
}

.statement-bar-eyebrow {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.statement-bar-quote {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  color: white;
  letter-spacing: -0.02em;
}

.statement-bar-quote em {
  font-style: italic;
  font-weight: 400;
  opacity: 0.85;
}

/* ── Browser Frame ────────────────────────────────────────── */
.browser-outer {
  background: #ECEEF0;
  border-radius: 22px;
  padding: 20px 20px 0;
  box-shadow:
    0 16px 64px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.04),
    0 0 70px 12px rgba(190, 160, 255, 0.45);
}

.browser-window {
  background: white;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  border-bottom: none;
}

.browser-tabbar {
  background: #E2E4E8;
  padding: 8px 10px 0;
  display: flex;
  align-items: flex-end;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px 10px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.browser-tab-active {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border-radius: 8px 8px 0 0;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #2A2560;
}

.browser-urlrow {
  background: white;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #EBEBEB;
}

.browser-nav-btns {
  display: flex;
  align-items: center;
  gap: 7px;
}

.browser-urlbar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F2F3F5;
  border-radius: 100px;
  padding: 4px 10px 4px 8px;
  font-size: 0.7rem;
  color: #444;
}

.browser-url-text {
  flex: 1;
}

.browser-g-icon {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: #4285F4;
  line-height: 1;
}

.browser-right-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── GIF Placeholders ─────────────────────────────────────── */
.gif-placeholder {
  background: var(--bg-card);
  border-radius: 20px;
  border: 2px dashed var(--border-2);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.gif-placeholder:hover {
  border-color: rgba(102, 56, 240, 0.35);
  background: #E8E2FF;
}

/* To insert a GIF: replace the .gif-placeholder div with:
   <img src="assets/gifs/your-file.gif" alt="..." class="feat-gif"> */
.feat-gif {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.gif-placeholder-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(102, 56, 240, 0.1);
  border: 1.5px solid rgba(102, 56, 240, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.gif-placeholder-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.gif-placeholder-sub {
  font-size: 0.74rem;
  color: #BDB8D8;
}

.gif-placeholder::after {
  content: 'Drop GIF here';
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9C4E5;
  white-space: nowrap;
}

/* ── LMS Marquee ──────────────────────────────────────────── */
.lms-marquee {
  width: 100%;
  padding: 8px 0;
}

.lms-marquee-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.lms-marquee-track {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
}

.lms-marquee-inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: lms-scroll 22s linear infinite;
}

.lms-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 72px;
}

.lms-marquee-track:hover .lms-marquee-inner {
  animation-play-state: paused;
}

@keyframes lms-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Footer CTA ───────────────────────────────────────────── */
.footer-cta {
  background: var(--text);
  padding: 96px clamp(20px, 5vw, 56px);
  text-align: center;
}

.footer-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.footer-cta h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: white;
  margin-bottom: 16px;
}

.footer-cta p {
  font-size: 1.0125rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 36px;
  line-height: 1.72;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 100px;
  background: white;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ── Footer Bar ───────────────────────────────────────────── */
footer {
  background: var(--text);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px clamp(20px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ── Scroll Animations ────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim {
  opacity: 0;
}

.anim.on {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.d1 { animation-delay: 0.06s; }
.d2 { animation-delay: 0.13s; }
.d3 { animation-delay: 0.20s; }
.d4 { animation-delay: 0.27s; }
.d5 { animation-delay: 0.34s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .feat-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feat-inner.reverse {
    direction: ltr;
  }

  .hero-card-body {
    grid-template-columns: 1fr;
  }

  .hc-sidebar {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    gap: 2px;
    z-index: 200;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav-toggle {
    display: block;
  }

  footer {
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }

  .hero-card-wrap {
    border-radius: 16px 16px 0 0;
  }
}
