/* ===============================
   WISEpro – Tech / Adobe Style
   =============================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-main: #0a0c10;
  --bg-soft: rgba(20, 24, 33, 0.45);
  --border-soft: rgba(255, 255, 255, 0.06);
  --text-main: #f0f4f8;
  --text-muted: #8a99a8;
  --accent: #0957A2;
  --accent-light: #1c7ed6;
  --accent-glow: rgba(9, 87, 162, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', 'Noto Sans TC', sans-serif;
  background-color: var(--bg-main);
  /* Precision Dot Grid */
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(9, 87, 162, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(28, 126, 214, 0.05) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}

/* Subtle Data Pulse */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(9, 87, 162, 0.02) 50%, transparent);
  background-size: 100% 200%;
  animation: bgMove 15s linear infinite;
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
}

@keyframes bgMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 200%;
  }
}

@keyframes scanline {
  0% {
    top: -10%;
  }

  100% {
    top: 110%;
  }
}

/* Ambient Glows relocated to a wrap or specific layers if needed, 
   but for now we keep the existing ones by modifying names */
.bg-glow-1 {
  position: fixed;
  top: -10%;
  left: -10%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(9, 87, 162, 0.2) 0%, transparent 70%);
  z-index: -1;
  filter: blur(80px);
  pointer-events: none;
  animation: pulse 10s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* ===============================
   Global
   =============================== */

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* ===============================
   Header
   =============================== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1.4rem;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo strong {
  font-size: 1.5rem;
  /* Significant increase */
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  margin-bottom: 0;
}

.logo small {
  font-size: 1rem;
  /* Significant increase */
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.9;
  line-height: 1;
  display: inline-block;
  margin-top: -2px;
  /* Pull it up closer */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

nav a:hover {
  color: var(--accent);
}

.btn {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(9, 87, 162, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ===============================
   Sections
   =============================== */

section {
  padding: 100px 0;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(.2, .8, .2, 1);
}

section.visible {
  opacity: 1;
  transform: none;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px rgba(9, 87, 162, 0.4);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin: 0 0 12px;
  font-weight: 700;
}

p,
li {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

/* ===============================
   Layouts
   =============================== */

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.hero p {
  max-width: 520px;
  margin-top: 20px;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ===============================
   Cards
   =============================== */

.card {
  background: var(--bg-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-soft);
  border-top-color: rgba(255, 255, 255, 0.12);
  /* Reflection on top */
  border-radius: 12px;
  padding: 32px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(9, 87, 162, 0.3);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1), 0 0 15px rgba(9, 87, 162, 0.1);
}

/* Brand logos */
.brand-card img {
  opacity: .95;
  transition: .3s;
}

.brand-card:hover img {
  opacity: 1;
  transform: scale(1.06);
}



/* ===============================
   Footer
   =============================== */

footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ===============================
   Mobile
   =============================== */

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--accent);
  cursor: pointer;
}

@media(max-width:900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero p {
    margin: 20px auto;
  }

  section {
    padding: 60px 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  nav ul {
    position: absolute;
    top: 88px;
    right: 24px;
    flex-direction: column;
    background: rgba(6, 11, 19, 0.95);
    border: 1px solid var(--border-soft);
    padding: 20px;
    border-radius: 12px;
    display: none;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===============================
   Adobe Section
   =============================== */
.adobe-section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.adobe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adobe-card {
  text-align: center;
  padding: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
}

.adobe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}

.adobe-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.adobe-card h3 {
  color: var(--text-main);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.adobe-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Mobile */
@media(max-width:900px) {
  .adobe-grid {
    grid-template-columns: 1fr;
  }
}