/* adobe-home.css — Adobe.com replica */
:root {
  --black: #000000;
  --bg: #1a1a1a;
  --surface: #2a2a2a;
  --surface-2: #333333;
  --text: #ffffff;
  --text-muted: #b3b3b3;
  --text-dim: #8a8a8a;
  --red: #eb1000;
  --red-hover: #ff2b1a;
  --border: rgba(255,255,255,0.1);
  --font: "Adobe Clean", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --header-h: 64px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--black);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ===== Global Nav ===== */
.gnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.gnav-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.gnav-left { display: flex; align-items: center; gap: 24px; }

.gnav-logo svg { display: block; }

.gnav-nav { display: flex; align-items: center; gap: 4px; }

.gnav-dropdown > button,
.gnav-link {
  background: none; border: none; color: var(--text);
  font-size: 0.875rem; font-weight: 500;
  padding: 8px 14px; border-radius: 20px;
  cursor: pointer; transition: background 0.2s;
  white-space: nowrap;
}

.gnav-dropdown > button:hover,
.gnav-link:hover {
  background: rgba(255,255,255,0.1);
}

.gnav-mega {
  display: none; position: absolute; top: var(--header-h);
  left: 0; right: 0;
  background: #1a1a1a; border-bottom: 1px solid var(--border);
  padding: 32px 48px;
  gap: 48px;
}

.gnav-dropdown:hover .gnav-mega,
.gnav-dropdown.open .gnav-mega {
  display: flex;
}

.mega-col { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.mega-col h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin: 0 0 8px; }
.mega-col a { font-size: 0.9rem; color: var(--text-muted); padding: 4px 0; transition: color 0.2s; }
.mega-col a:hover { color: var(--text); }

.gnav-right { display: flex; align-items: center; gap: 16px; }

.gnav-icon-btn {
  background: none; border: none; color: var(--text);
  padding: 8px; cursor: pointer; border-radius: 50%;
  transition: background 0.2s; display: flex;
}
.gnav-icon-btn:hover { background: rgba(255,255,255,0.1); }

.gnav-sign-in {
  font-size: 0.875rem; font-weight: 500;
  padding: 8px 16px; border-radius: 20px;
  transition: background 0.2s;
}
.gnav-sign-in:hover { background: rgba(255,255,255,0.1); }

.gnav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none; cursor: pointer;
}
.gnav-hamburger span { width: 20px; height: 2px; background: var(--text); border-radius: 1px; transition: transform 0.3s; }

@media (max-width: 900px) {
  .gnav-nav { display: none; }
  .gnav-hamburger { display: flex; }
  .gnav-nav.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #111; padding: 24px; gap: 8px;
    border-bottom: 1px solid var(--border);
  }
  .gnav-nav.mobile-open .gnav-mega { position: static; padding: 16px 0; }
}

/* ===== Hero Marquee ===== */
.hero-marquee {
  position: relative;
  margin-top: var(--header-h);
  height: clamp(480px, 70vh, 680px);
  overflow: hidden;
}

.marquee-slides { position: relative; width: 100%; height: 100%; }

.marquee-slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 80px);
  max-width: 1440px; margin: 0 auto;
  opacity: 0; pointer-events: none;
  transition: opacity 0.8s ease;
}

.marquee-slide.active {
  position: relative;
  opacity: 1; pointer-events: auto;
}

.marquee-slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--slide-bg, linear-gradient(135deg, #2c0735, #0f0618));
  transition: opacity 0.8s;
}

.marquee-text { max-width: 520px; }

.marquee-text h1,
.marquee-text h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900; line-height: 1.12;
  letter-spacing: -0.02em; margin: 0 0 16px;
}

.marquee-desc {
  font-size: 1.1rem; color: var(--text-muted);
  margin: 0 0 28px; max-width: 42ch;
}

.promo-badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 12px; border-radius: 20px;
  background: var(--red); color: #fff;
  margin: 0 0 16px;
}

.firefly-badge { background: linear-gradient(135deg, #ff6b35, #ffd700); color: #000; }

.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 24px;
  font-size: 0.9rem; font-weight: 600;
  background: var(--red); color: #fff;
  transition: background 0.2s, transform 0.15s;
}
.btn-cta:hover { background: var(--red-hover); transform: translateY(-1px); }

/* Download buttons */
.download-btns {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;
}

.btn-dl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 24px;
  font-size: 0.9rem; font-weight: 600;
  background: #fff; color: #000;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
  background: #f0f0f0;
}

.btn-dl-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-dl-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.dl-os-icon { flex-shrink: 0; }

.btn-outline-w {
  background: transparent; border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-w:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.marquee-visual {
  display: flex; justify-content: center; align-items: center;
}

@media (max-width: 768px) {
  .marquee-slide { grid-template-columns: 1fr; text-align: center; }
  .marquee-text { margin: 0 auto; }
  .marquee-visual { display: none; }
}

.marquee-dots {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}

.marquee-dots .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: none;
  cursor: pointer; transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.marquee-dots .dot.active {
  background: #fff; transform: scale(1.3);
}

/* Hero Art (abstract shapes) */
.hero-art { position: relative; width: 320px; height: 320px; }

.art-cc .shape-1 {
  position: absolute; width: 180px; height: 180px;
  border-radius: 50%; top: 20px; left: 60px;
  background: radial-gradient(circle, rgba(235,16,0,0.6), transparent 70%);
  animation: floatSlow 8s ease-in-out infinite;
}
.art-cc .shape-2 {
  position: absolute; width: 120px; height: 120px;
  border-radius: 30%; top: 80px; left: 20px;
  background: radial-gradient(circle, rgba(99,102,241,0.5), transparent 70%);
  animation: floatSlow 10s ease-in-out infinite reverse;
}
.art-cc .shape-3 {
  position: absolute; width: 100px; height: 100px;
  border-radius: 50%; bottom: 30px; right: 30px;
  background: radial-gradient(circle, rgba(34,197,94,0.4), transparent 70%);
  animation: floatSlow 12s ease-in-out infinite;
}
.art-cc .shape-4 {
  position: absolute; width: 160px; height: 160px;
  border-radius: 50%; top: 60px; right: 10px;
  background: radial-gradient(circle, rgba(251,191,36,0.35), transparent 70%);
  animation: floatSlow 9s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -10px) scale(1.08); }
}

/* Promo card icons */
.promo-card-art { display: flex; align-items: center; justify-content: center; }

.promo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 10px;
  font-size: 1rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #001e36, #31a8ff);
}
.promo-icon.ill { background: linear-gradient(135deg, #330000, #ff9a00); }
.promo-icon.pr { background: linear-gradient(135deg, #00005b, #9999ff); }
.promo-icon.ae { background: linear-gradient(135deg, #00005b, #9999ff); }
.promo-icon.lr { background: linear-gradient(135deg, #001d26, #31a8ff); }
.promo-icon.xd { background: linear-gradient(135deg, #2c0049, #ff61f6); }

.promo-card .promo-card-art { gap: 8px; flex-wrap: wrap; max-width: 200px; }

.promo-icon-img {
  width: 52px; height: 52px; border-radius: 10px;
  object-fit: contain;
}

.app-icon-img {
  width: 64px; height: 64px; border-radius: 14px;
  object-fit: contain;
}

/* Firefly art */
.art-firefly { display: flex; align-items: center; justify-content: center; }

.firefly-orb {
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.7), rgba(255,215,0,0.3) 60%, transparent 80%);
  animation: pulse 3s ease-in-out infinite;
}

.firefly-ring {
  position: absolute; width: 200px; height: 200px;
  border-radius: 50%; border: 2px solid rgba(255,215,0,0.2);
  animation: ringPulse 4s ease-in-out infinite;
}

.firefly-sparkle {
  position: absolute; width: 6px; height: 6px;
  border-radius: 50%; background: #ffd700;
  animation: sparkle 2s ease-in-out infinite;
}
.s1 { top: 40px; left: 100px; animation-delay: 0s; }
.s2 { bottom: 60px; right: 80px; animation-delay: 0.6s; }
.s3 { top: 100px; right: 40px; animation-delay: 1.2s; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.15); opacity: 0.6; }
}
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* Student art */
.student-shapes { display: flex; gap: 12px; align-items: flex-end; }
.s-circle { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.s-triangle { width: 0; height: 0; border-left: 35px solid transparent; border-right: 35px solid transparent; border-bottom: 60px solid #ffd32a; }
.s-rect { width: 50px; height: 70px; border-radius: 8px; background: linear-gradient(135deg, #6c5ce7, #a29bfe); }

/* ===== Promo Cards Row ===== */
.promo-row {
  padding: 0 clamp(16px, 4vw, 80px);
  margin-top: -40px;
  position: relative; z-index: 5;
}

.promo-row-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

@media (max-width: 768px) {
  .promo-row-inner { grid-template-columns: 1fr; }
}

.promo-card {
  border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  min-height: 260px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.dark-card { background: var(--surface); }

.promo-card-body {
  padding: 32px; display: flex; flex-direction: column; justify-content: center;
}

.card-label {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-dim); margin-bottom: 12px;
}

.promo-card h3 {
  font-size: 1.25rem; font-weight: 700;
  line-height: 1.25; margin: 0 0 10px;
}

.promo-card p {
  font-size: 0.875rem; color: var(--text-muted);
  margin: 0 0 16px; line-height: 1.5;
}

.card-link {
  font-size: 0.875rem; font-weight: 600;
  color: var(--red); transition: color 0.2s;
}
.card-link:hover { color: var(--red-hover); }

.acrobat-art {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1b0028, #2d0040);
  padding: 24px;
}

.student-art {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a1628, #1a2a48);
  padding: 24px;
}

/* ===== Quick Links ===== */
.quick-links {
  padding: 64px clamp(16px, 4vw, 80px);
}

.quick-links-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}

@media (max-width: 768px) {
  .quick-links-inner { grid-template-columns: 1fr; gap: 24px; }
}

.ql-group h3 {
  font-size: 1rem; font-weight: 700; margin: 0 0 16px;
}

.ql-btns { display: flex; flex-wrap: wrap; gap: 10px; }

.ql-btn {
  display: inline-flex; padding: 10px 18px;
  border-radius: 24px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid var(--border); color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}
.ql-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }

/* ===== Product Showcase ===== */
.showcase {
  padding: 80px clamp(16px, 4vw, 80px);
  background: var(--bg);
  border-radius: 24px 24px 0 0;
}

.showcase-inner { max-width: 1280px; margin: 0 auto; }

.showcase-head {
  text-align: center; margin-bottom: 48px;
}

.showcase-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900; margin: 0;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 24px; justify-items: center;
}

.app-tile {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 20px; border-radius: var(--radius);
  transition: transform 0.2s, background 0.2s;
  width: 100%;
}
.app-tile:hover { transform: translateY(-4px); background: rgba(255,255,255,0.04); }

.app-icon {
  width: 64px; height: 64px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: #fff;
}

.firefly-icon {
  background: linear-gradient(135deg, #ff6b35, #ffd700) !important;
  font-size: 1.5rem;
}

.app-name { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }

.showcase-cta { text-align: center; margin-top: 40px; }

/* ===== Business Banner ===== */
.biz-banner {
  padding: 80px clamp(16px, 4vw, 80px);
  background: linear-gradient(135deg, #0a0a1a 0%, #1a0a30 50%, #0a0a1a 100%);
}

.biz-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .biz-inner { grid-template-columns: 1fr; }
}

.biz-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900; margin: 8px 0 12px;
}

.biz-text p {
  font-size: 1.05rem; color: var(--text-muted);
  margin: 0 0 24px; max-width: 40ch;
}

.biz-graph {
  display: flex; align-items: flex-end; gap: 12px;
  height: 200px; padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius); border: 1px solid var(--border);
}

.g-bar {
  flex: 1; height: var(--h);
  background: linear-gradient(180deg, var(--red), rgba(235,16,0,0.3));
  border-radius: 6px 6px 0 0;
  animation: growBar 1.5s ease-out backwards;
}
.g-bar:nth-child(1) { animation-delay: 0.1s; }
.g-bar:nth-child(2) { animation-delay: 0.2s; }
.g-bar:nth-child(3) { animation-delay: 0.3s; }
.g-bar:nth-child(4) { animation-delay: 0.4s; }
.g-bar:nth-child(5) { animation-delay: 0.5s; }

@keyframes growBar {
  from { height: 0; opacity: 0; }
}

/* ===== News ===== */
.news-section {
  padding: 80px clamp(16px, 4vw, 80px);
}

.news-inner { max-width: 1280px; margin: 0 auto; }

.news-inner h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900; margin: 0 0 40px;
}

.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

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

.news-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.news-thumb {
  height: 180px;
  background-size: cover; background-position: center;
}

.thumb-1 { background: linear-gradient(135deg, #1a0a30, #3d1a6e); }
.thumb-2 { background: linear-gradient(135deg, #0a1628, #1e3a5f); }
.thumb-3 { background: linear-gradient(135deg, #1a0a10, #4a1a2e); }

.news-card h3 {
  font-size: 1.05rem; font-weight: 700;
  margin: 20px 20px 8px; line-height: 1.35;
}

.news-card p {
  font-size: 0.875rem; color: var(--text-muted);
  margin: 0 20px 24px; line-height: 1.5;
}

/* ===== Footer ===== */
.afoot {
  padding: 64px clamp(16px, 4vw, 80px) 32px;
  background: #111; border-top: 1px solid var(--border);
}

.afoot-inner { max-width: 1280px; margin: 0 auto; }

.afoot-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px; margin-bottom: 48px;
}

@media (max-width: 768px) {
  .afoot-top { grid-template-columns: 1fr 1fr; }
}

.afoot-col { display: flex; flex-direction: column; gap: 8px; }

.afoot-tagline {
  font-size: 0.85rem; color: var(--text-muted); margin-top: 12px;
}

.afoot-col h4 {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-dim);
  margin: 0 0 8px;
}

.afoot-col a {
  font-size: 0.85rem; color: var(--text-muted);
  transition: color 0.2s;
}
.afoot-col a:hover { color: var(--text); }

.afoot-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
}

.afoot-legal {
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px;
}

.afoot-legal a {
  font-size: 0.75rem; color: var(--text-dim);
  transition: color 0.2s;
}
.afoot-legal a:hover { color: var(--text-muted); }

.afoot-copy {
  font-size: 0.75rem; color: var(--text-dim); margin: 0;
}

/* ===== Scroll Reveal ===== */
.reveal-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.visible {
  opacity: 1; transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
  .art-cc .shape-1, .art-cc .shape-2, .art-cc .shape-3, .art-cc .shape-4,
  .firefly-orb, .firefly-ring, .firefly-sparkle, .g-bar {
    animation: none !important;
  }
}
