:root {
  --primary: #ff6b35;
  --primary-dark: #e5521c;
  --primary-light: #ff8f5e;
  --secondary: #2d3142;
  --accent: #f7c548;
  --accent-2: #7b5cff;
  --accent-3: #22d3a6;
  --bg: #fdfaf7;
  --bg-alt: #f4efe9;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.65);
  --surface-glass-strong: rgba(255, 255, 255, 0.85);
  --text: #2d3142;
  --text-soft: #5a5f72;
  --text-muted: #8b8fa3;
  --border: rgba(45, 49, 66, 0.1);
  --border-strong: rgba(45, 49, 66, 0.18);
  --shadow-sm: 0 2px 8px rgba(45, 49, 66, 0.06);
  --shadow-md: 0 8px 24px rgba(45, 49, 66, 0.09);
  --shadow-lg: 0 18px 48px rgba(45, 49, 66, 0.14);
  --shadow-primary: 0 10px 30px rgba(255, 107, 53, 0.28);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --grad-hero: linear-gradient(135deg, #ff6b35 0%, #ff8f5e 35%, #f7c548 100%);
  --grad-primary: linear-gradient(135deg, #ff6b35 0%, #ff8f5e 100%);
  --grad-accent: linear-gradient(135deg, #7b5cff 0%, #22d3a6 100%);
  --grad-card: linear-gradient(160deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);
}

[data-theme="dark"] {
  --primary: #ff7d4d;
  --primary-dark: #ff6b35;
  --primary-light: #ffa074;
  --secondary: #e8eaf2;
  --accent: #f7c548;
  --bg: #14161f;
  --bg-alt: #1b1e2a;
  --surface: #1f2330;
  --surface-glass: rgba(31, 35, 48, 0.6);
  --surface-glass-strong: rgba(31, 35, 48, 0.85);
  --text: #e8eaf2;
  --text-soft: #b3b8cc;
  --text-muted: #7c8199;
  --border: rgba(232, 234, 242, 0.1);
  --border-strong: rgba(232, 234, 242, 0.18);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.5);
  --shadow-primary: 0 10px 30px rgba(255, 125, 77, 0.3);
  --grad-card: linear-gradient(160deg, rgba(31,35,48,0.9) 0%, rgba(31,35,48,0.55) 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #ff7d4d;
    --primary-dark: #ff6b35;
    --primary-light: #ffa074;
    --secondary: #e8eaf2;
    --bg: #14161f;
    --bg-alt: #1b1e2a;
    --surface: #1f2330;
    --surface-glass: rgba(31, 35, 48, 0.6);
    --surface-glass-strong: rgba(31, 35, 48, 0.85);
    --text: #e8eaf2;
    --text-soft: #b3b8cc;
    --text-muted: #7c8199;
    --border: rgba(232, 234, 242, 0.1);
    --border-strong: rgba(232, 234, 242, 0.18);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.5);
    --shadow-primary: 0 10px 30px rgba(255, 125, 77, 0.3);
    --grad-card: linear-gradient(160deg, rgba(31,35,48,0.9) 0%, rgba(31,35,48,0.55) 100%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 107, 53, 0.08), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(123, 92, 255, 0.07), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(34, 211, 166, 0.06), transparent 45%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h2 { font-size: clamp(1.35rem, 2.8vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { color: var(--text-soft); }

::selection {
  background: var(--primary);
  color: #fff;
}

/* ============ HEADER ============ */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas:
    "brand nav toggle"
    "search search search";
  align-items: center;
  gap: 12px 20px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition);
}

.brand {
  grid-area: brand;
  min-width: 0;
}

.brand h1 {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand p {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

header[role="banner"] nav {
  grid-area: nav;
}

header[role="banner"] nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

header[role="banner"] nav a {
  display: inline-block;
  padding: 6px 11px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: 999px;
  transition: all var(--transition);
  position: relative;
}

header[role="banner"] nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition);
}

header[role="banner"] nav a:hover,
header[role="banner"] nav a:focus-visible {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
}

header[role="banner"] nav a:hover::after {
  width: 60%;
}

header[role="banner"] form[role="search"] {
  grid-area: search;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

header[role="banner"] form[role="search"] label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

header[role="banner"] form[role="search"] input {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  transition: all var(--transition);
}

header[role="banner"] form[role="search"] input::placeholder {
  color: var(--text-muted);
}

header[role="banner"] form[role="search"] input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.14);
  outline: none;
}

header[role="banner"] form[role="search"] button,
header[role="banner"] > button[type="button"] {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: var(--grad-primary);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-primary);
  transition: all var(--transition);
}

header[role="banner"] > button[type="button"] {
  grid-area: toggle;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

header[role="banner"] form[role="search"] button:hover,
header[role="banner"] > button[type="button"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

header[role="banner"] form[role="search"] button:active,
header[role="banner"] > button[type="button"]:active {
  transform: translateY(0) scale(0.98);
}

header[role="banner"] > button[type="button"]:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============ MAIN LAYOUT ============ */
main[role="main"] {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 40px);
}

main > section {
  margin-bottom: clamp(32px, 5vw, 64px);
  padding: clamp(22px, 3.5vw, 40px);
  background: var(--grad-card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  animation: fadeUp 0.7s var(--ease) both;
}

main > section:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

main > section > h2 {
  position: relative;
  padding-left: 18px;
  margin-bottom: 20px;
}

main > section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 5px;
  border-radius: 4px;
  background: var(--grad-primary);
  box-shadow: 0 0 14px rgba(255, 107, 53, 0.5);
}

main > section h3 {
  margin: 22px 0 10px;
  color: var(--text);
}

main > section h3:first-of-type {
  margin-top: 0;
}

main > section p {
  margin-bottom: 12px;
}

main > section p:last-child {
  margin-bottom: 0;
}

main > section ul,
main > section ol {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

main > section ul li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
}

main > section ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
}

main > section ol {
  counter-reset: step;
}

main > section ol li {
  position: relative;
  padding-left: 42px;
  counter-increment: step;
  color: var(--text-soft);
}

main > section ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-primary);
}

/* ============ HERO ============ */
#hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  border: none;
  color: #fff;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.28), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.18), transparent 45%);
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -100px;
  top: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(8px);
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
}

#hero > * {
  position: relative;
  z-index: 1;
}

#hero h2 {
  color: #fff;
  padding-left: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.16);
  margin-bottom: 16px;
}

#hero h2::before {
  display: none;
}

#hero p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 760px;
  font-size: 1.02rem;
}

#hero figure {
  margin: 26px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  transition: transform var(--transition);
}

#hero figure:hover {
  transform: scale(1.012);
}

#hero figure svg {
  width: 100%;
  height: auto;
  display: block;
}

#hero figcaption {
  padding: 10px 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#hero ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

#hero ul li {
  padding: 14px 18px;
  color: #fff;
  font-weight: 600;
  font-size: 0.94rem;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  transition: all var(--transition);
}

#hero ul li::before {
  display: none;
}

#hero ul li:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* ============ PRODUCTS / CARDS ============ */
#products h3,
#solutions h3,
#scenarios h3,
#cases h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

#products h3::before,
#solutions h3::before,
#scenarios h3::before,
#cases h3::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--grad-accent);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(123, 92, 255, 0.45);
}

#products ul,
#solutions ul {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

#products ul li {
  padding: 16px 18px 16px 44px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

#products ul li::before {
  left: 20px;
  top: 1.6em;
}

#products ul li:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* ============ CASES ============ */
#cases blockquote {
  margin: 18px 0 0;
  padding: 20px 24px;
  background: var(--surface-glass-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

#cases blockquote:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

#cases blockquote p {
  position: relative;
  padding-left: 22px;
  font-style: italic;
  color: var(--text-soft);
  margin-bottom: 10px;
}

#cases blockquote p:last-child {
  margin-bottom: 0;
}

#cases blockquote p::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 1.6rem;
  font-style: normal;
  color: var(--primary);
  opacity: 0.7;
}

/* ============ NEWS ============ */
#news ul {
  gap: 8px;
}

#news ul li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  padding-left: 16px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

#news ul li::before {
  display: none;
}

#news ul li:hover {
  border-color: var(--primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

#news time {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  padding: 2px 10px;
  background: rgba(255, 107, 53, 0.12);
  border-radius: 999px;
}

/* ============ ARTICLES ============ */
#articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

#articles > h2 {
  grid-column: 1 / -1;
}

#articles article {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

#articles article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

#articles article:hover::before {
  transform: scaleX(1);
}

#articles article h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  transition: color var(--transition);
}

#articles article:hover h3 {
  color: var(--primary);
}

#articles article time {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

#articles article p {
  flex: 1;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

#articles article a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.1);
  transition: all var(--transition);
}

#articles article a::after {
  content: "\2192";
  transition: transform var(--transition);
}

#articles article a:hover {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

#articles article a:hover::after {
  transform: translateX(4px);
}

/* ============ FAQ ============ */
#faq details {
  margin-bottom: 10px;
  padding: 16px 20px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

#faq details:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

#faq details[open] {
  border-color: var(--primary);
  background: var(--surface-glass-strong);
  box-shadow: var(--shadow-md);
}

#faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--primary);
  background: rgba(255, 107, 53, 0.12);
  border-radius: 50%;
  transition: all var(--transition);
}

#faq details[open] summary {
  color: var(--primary);
}

#faq details[open] summary::after {
  content: "\2212";
  background: var(--grad-primary);
  color: #fff;
  transform: rotate(180deg);
}

#faq details p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-strong);
  font-size: 0.92rem;
  animation: fadeUp 0.4s var(--ease) both;
}

/* ============ NOTICE ============ */
#notice ul li {
  padding: 12px 16px 12px 40px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

#notice ul li::before {
  content: "\26A0";
  left: 14px;
  top: 0.75em;
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  font-size: 0.95rem;
  color: var(--accent);
}

#notice ul li:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* ============ CONTACT ============ */
#contact address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

#contact address p {
  padding: 16px 18px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin: 0;
  transition: all var(--transition);
}

#contact address p:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

#contact address a {
  font-weight: 700;
  word-break: break-all;
}

/* ============ SITEMAP & LINKS ============ */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap ul li,
#links ul li {
  padding: 0;
}

#sitemap ul li::before,
#links ul li::before {
  display: none;
}

#sitemap ul a,
#links ul a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all var(--transition);
}

#sitemap ul a:hover,
#links ul a:hover {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* ============ FOOTER ============ */
footer[role="contentinfo"] {
  position: relative;
  margin-top: clamp(32px, 5vw, 64px);
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 48px) 24px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  color: var(--text-soft);
}

footer[role="contentinfo"] > section {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 20px 24px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

footer[role="contentinfo"] > section:hover {
  box-shadow: var(--shadow-sm);
}

footer[role="contentinfo"] h2 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}

footer[role="contentinfo"] p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

footer[role="contentinfo"] nav {
  max-width: 1200px;
  margin: 0 auto 20px;
}

footer[role="contentinfo"] nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}

footer[role="contentinfo"] nav a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color var(--transition);
}

footer[role="contentinfo"] nav a:hover {
  color: var(--primary);
}

footer[role="contentinfo"] > button[type="button"] {
  display: block;
  margin: 0 auto;
  padding: 10px 26px;
  font-size: 0.86rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: var(--grad-primary);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: all var(--transition);
}

footer[role="contentinfo"] > button[type="button"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 24px) scale(1.08); }
}

main > section:nth-child(1) { animation-delay: 0.02s; }
main > section:nth-child(2) { animation-delay: 0.06s; }
main > section:nth-child(3) { animation-delay: 0.1s; }
main > section:nth-child(4) { animation-delay: 0.14s; }
main > section:nth-child(5) { animation-delay: 0.18s; }
main > section:nth-child(6) { animation-delay: 0.22s; }
main > section:nth-child(7) { animation-delay: 0.26s; }
main > section:nth-child(8) { animation-delay: 0.3s; }
main > section:nth-child(9) { animation-delay: 0.34s; }
main > section:nth-child(10) { animation-delay: 0.38s; }
main > section:nth-child(11) { animation-delay: 0.42s; }
main > section:nth-child(12) { animation-delay: 0.46s; }
main > section:nth-child(13) { animation-delay: 0.5s; }
main > section:nth-child(14) { animation-delay: 0.54s; }
main > section:nth-child(15) { animation-delay: 0.58s; }
main > section:nth-child(16) { animation-delay: 0.62s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  header[role="banner"] {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "search search";
  }

  header[role="banner"] nav ul {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }

  header[role="banner"] {
    padding: 12px 16px;
    gap: 10px;
  }

  .brand p {
    display: none;
  }

  header[role="banner"] nav ul {
    gap: 2px;
  }

  header[role="banner"] nav a {
    padding: 5px 9px;
    font-size: 0.8rem;
  }

  main[role="main"] {
    padding: 20px 14px;
  }

  main > section {
    padding: 20px 18px;
    border-radius: var(--radius);
    margin-bottom: 24px;
  }

  #hero {
    padding: 24px 20px;
  }

  #hero::after {
    width: 200px;
    height: 200px;
    right: -70px;
    top: -80px;
  }

  #hero ul {
    grid-template-columns: 1fr;
  }

  #articles {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #contact address {
    grid-template-columns: 1fr;
  }

  footer[role="contentinfo"] {
    padding: 28px 14px 20px;
  }

  footer[role="contentinfo"] > section {
    padding: 16px 18px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  header[role="banner"] form[role="search"] input {
    padding: 9px 14px;
    font-size: 0.85rem;
  }

  header[role="banner"] form[role="search"] button,
  header[role="banner"] > button[type="button"] {
    padding: 9px 14px;
    font-size: 0.8rem;
  }

  main > section > h2 {
    padding-left: 14px;
  }

  main > section > h2::before {
    width: 4px;
  }

  #products ul,
  #solutions ul {
    grid-template-columns: 1fr;
  }

  #faq details {
    padding: 14px 16px;
  }

  #faq summary {
    font-size: 0.92rem;
  }
}

@media print {
  header[role="banner"],
  footer[role="contentinfo"] > button[type="button"],
  #hero::after {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  main > section {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}