/* ==========================================================================
   UniqHQ — Premium Dark Theme Stylesheet
   Edit color tokens below to rebrand quickly.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --bg-primary: #08090A;
  --bg-secondary: #101214;
  --bg-card: #15181C;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.14);
  --accent-primary: #2EE6A6;
  --accent-secondary: #3B82F6;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --gradient-accent: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  --glow-primary: rgba(46, 230, 166, 0.15);
  --glow-secondary: rgba(59, 130, 246, 0.12);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --header-height: 72px;
  --container-max: 1140px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

address {
  font-style: normal;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 100px;
  position: relative;
}

.section--alt {
  background-color: var(--bg-secondary);
}

.section__header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__title--sm {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section__desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--bg-primary);
  box-shadow: 0 0 24px var(--glow-primary);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(46, 230, 166, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn--full {
  width: 100%;
}

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(8, 9, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 1001;
}

.nav__logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
}

.nav__logo-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 3px;
  background: var(--gradient-accent);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--text-primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: glow-drift 12s ease-in-out infinite alternate;
}

.hero__glow--1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: -5%;
  background: var(--glow-primary);
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  right: -5%;
  background: var(--glow-secondary);
  animation-delay: -6s;
}

@keyframes glow-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.1); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: 80px 100px;
  position: relative;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.75));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Dashboard Visual (Hero) ---------- */
.hero__visual {
  perspective: 1200px;
}

.dashboard {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 60px var(--glow-primary);
  transform: rotateY(-4deg) rotateX(2deg);
  animation: dashboard-float 6s ease-in-out infinite;
}

@keyframes dashboard-float {
  0%, 100% { transform: rotateY(-4deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-4deg) rotateX(2deg) translateY(-8px); }
}

.dashboard__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.dashboard__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard__dot--red { background: #FF5F57; }
.dashboard__dot--yellow { background: #FEBC2E; }
.dashboard__dot--green { background: #28C840; }

.dashboard__title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.dashboard__body {
  display: flex;
  min-height: 280px;
}

.dashboard__sidebar {
  width: 48px;
  padding: 16px 10px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard__nav-item {
  width: 100%;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard__nav-item--active {
  background: rgba(46, 230, 166, 0.15);
  border: 1px solid rgba(46, 230, 166, 0.3);
}

.dashboard__main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.dashboard__stat-card {
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.dashboard__stat-label {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.dashboard__stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 6px;
}

.dashboard__stat-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.dashboard__stat-bar span {
  display: block;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.dashboard__chart {
  flex: 1;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-end;
}

.dashboard__chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  height: 80px;
}

.dashboard__chart-bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent-primary), rgba(46, 230, 166, 0.2));
  border-radius: 3px 3px 0 0;
  opacity: 0.8;
  animation: bar-pulse 3s ease-in-out infinite;
}

.dashboard__chart-bars span:nth-child(even) {
  animation-delay: 0.5s;
}

@keyframes bar-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.dashboard__nodes {
  display: flex;
  align-items: center;
  gap: 0;
}

.dashboard__node {
  padding: 6px 12px;
  font-size: 10px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  white-space: nowrap;
}

.dashboard__node--primary {
  border-color: rgba(46, 230, 166, 0.4);
  color: var(--accent-primary);
  background: rgba(46, 230, 166, 0.08);
}

.dashboard__connector {
  width: 20px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.dashboard__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: float-card 5s ease-in-out infinite;
}

.dashboard__float--1 {
  top: 20%;
  right: -20px;
  color: var(--accent-primary);
}

.dashboard__float--2 {
  bottom: 15%;
  left: -24px;
  animation-delay: -2.5s;
}

.dashboard__float-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 230, 166, 0.15);
  border-radius: 50%;
  font-size: 10px;
}

.dashboard__float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ---------- About Grid ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.about-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.about-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--accent-primary);
}

.about-card__icon svg {
  width: 100%;
  height: 100%;
}

.about-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.about-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- Product Section ---------- */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.product-features__icon {
  color: var(--accent-primary);
  font-size: 8px;
}

.product-note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Phone Mockup (Cosmetify) ---------- */
.product-mockup {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
}

.phone__frame {
  width: 260px;
  background: #0a0b0c;
  border: 2px solid var(--border);
  border-radius: 36px;
  padding: 12px;
  position: relative;
  z-index: 1;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone__notch {
  width: 90px;
  height: 24px;
  background: #0a0b0c;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}

.phone__screen {
  background: linear-gradient(180deg, #12141a 0%, #0e1014 100%);
  border-radius: 26px;
  overflow: hidden;
  padding: 16px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

.phone__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.phone__app-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.phone__badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(46, 230, 166, 0.15);
  color: var(--accent-primary);
  border-radius: 100px;
  border: 1px solid rgba(46, 230, 166, 0.3);
}

.phone__scanner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.phone__scan-frame {
  width: 140px;
  height: 140px;
  border: 2px solid rgba(46, 230, 166, 0.4);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.phone__scan-frame::before,
.phone__scan-frame::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent-primary);
  border-style: solid;
}

.phone__scan-frame::before {
  top: -1px;
  left: -1px;
  border-width: 3px 0 0 3px;
  border-radius: 4px 0 0 0;
}

.phone__scan-frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 3px 3px 0;
  border-radius: 0 0 4px 0;
}

.phone__scan-line {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-primary);
  animation: scan-line 2.5s ease-in-out infinite;
}

@keyframes scan-line {
  0%, 100% { top: 10%; opacity: 0.6; }
  50% { top: 85%; opacity: 1; }
}

.phone__scan-text {
  font-size: 11px;
  color: var(--text-muted);
}

.phone__results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.phone__result-card {
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.phone__result-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.phone__result-score {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 6px;
}

.phone__result-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.phone__result-bar span {
  display: block;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.phone__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.phone__tags span {
  font-size: 10px;
  padding: 3px 8px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-secondary);
  border-radius: 100px;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.phone__nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.phone__nav-item {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.phone__nav-item--active {
  background: var(--accent-primary);
  width: 32px;
}

.phone__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, var(--glow-primary), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Technology Grid ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tech-item {
  padding: 36px 32px;
  background: var(--bg-card);
  transition: background var(--transition);
}

.tech-item:hover {
  background: rgba(46, 230, 166, 0.04);
}

.tech-item--wide {
  grid-column: span 3;
}

.tech-item__number {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.tech-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.tech-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- Values Grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition);
}

.value-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.value-card:hover::before {
  opacity: 1;
}

.value-card__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- Contact ---------- */
.contact-block {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.contact-block__header {
  margin-bottom: 48px;
}

.contact-block__header .section__desc {
  margin-inline: auto;
}

.contact-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.35),
    0 0 48px var(--glow-primary);
  position: relative;
  overflow: hidden;
}

/* Subtle top accent line */
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-accent);
  opacity: 0.6;
}

.contact-card__details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 32px;
  text-align: left;
}

.contact-card__item {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.contact-card__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.contact-card__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-card__value {
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.5;
}

.contact-card__link {
  color: var(--accent-primary);
  transition: opacity var(--transition);
}

.contact-card__link:hover {
  opacity: 0.8;
}

.contact-card__note {
  color: var(--text-secondary);
  font-size: 15px;
}

.contact-card__cta {
  width: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__nav a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--text-primary);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.15s;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    max-width: 520px;
    margin-inline: auto;
  }

  .dashboard {
    transform: none;
    animation: none;
  }

  .about-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-item--wide {
    grid-column: span 2;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-content {
    text-align: center;
  }

  .product-features {
    align-items: center;
  }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 768px) {
  .section {
    padding-block: 72px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: rgba(8, 9, 10, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav__links {
    flex-direction: column;
    gap: 24px;
  }

  .nav__links a {
    font-size: 18px;
  }

  .about-grid,
  .values-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-item--wide {
    grid-column: span 1;
  }

  .dashboard__stats {
    grid-template-columns: 1fr;
  }

  .dashboard__float {
    display: none;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-card {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .phone__frame {
    width: 220px;
  }

  .phone__screen {
    min-height: 380px;
  }
}
