/* src/style.css - Principal UI Design Style System */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Unbounded:wght@200..900&display=swap");

:root {
  /* Color Palette - Soft Structuralism with High-Contrast Cobalt Blue */
  --danu-blue: #2563eb;
  --danu-blue-hover: #1d4ed8;
  --danu-bg: #f8fafc; /* slate-50 */
  --danu-card-bg: #ffffff;
  --danu-text-dark: #0f172a; /* slate-900 */
  --danu-text-gray: #475569; /* slate-600 */
  --danu-border: rgba(15, 23, 42, 0.06);
  --danu-white: #ffffff;

  /* Typography Scales Optimized for Unbounded (Display) and JetBrains Mono (Body) */
  --font-h1: clamp(1.9rem, 4.2vw + 0.4rem, 2.9rem);
  --font-h2: clamp(1.4rem, 2.2vw + 0.4rem, 1.9rem);
  --font-h3: clamp(1.05rem, 1.2vw + 0.3rem, 1.3rem);
  --font-p: clamp(0.85rem, 0.5vw + 0.25rem, 1.0rem);
  --font-sm: clamp(0.78rem, 0.3vw + 0.25rem, 0.88rem);

  /* Shadows - Ultra Diffused Ambient */
  --danu-shadow-soft: 0 10px 40px -10px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.01);
  --danu-shadow-ambient: 0 30px 60px -15px rgba(15, 23, 42, 0.05), 0 0 1px rgba(15, 23, 42, 0.1);

  /* Fixed Premium Typography Families */
  --font-display-family: "Unbounded", sans-serif;
  --font-body-family: "JetBrains Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body,
p,
span,
li,
a,
label,
input,
textarea,
select,
button,
div:not(.font-playground *):not(.playground-toggle) {
  font-family: var(--font-body-family), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  letter-spacing: -0.015em;
}

body {
  background-color: var(--danu-white);
  color: var(--danu-text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
.section-title,
.about-content h2,
.hero-content h1,
.modern-logo,
h1 *,
h2 *,
h3 *,
.section-title * {
  font-family: var(--font-display-family), sans-serif !important;
  letter-spacing: -0.04em !important;
}

.danu-page-wrapper {
  width: 100%;
}

/* DOUBLE-BEZEL HARDWARE HARDWARE SPEC */
.double-bezel-outer {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.04);
  padding: 8px;
  border-radius: 32px;
  box-shadow: var(--danu-shadow-soft);
}

.double-bezel-inner {
  background: var(--danu-white);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), var(--danu-shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* HEADER: FLOATING GLASS PILL NAVBAR */
.danu-header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1200px;
  height: 68px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--danu-border);
  border-radius: 100px;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: var(--danu-shadow-soft);
  transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.header-container {
  width: 100%;
  padding: 0 1.25rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modern-logo {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  height: 32px;
  width: 32px;
  transition: width 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

.modern-logo:hover {
  width: 200px;
}

.modern-logo img.icon-d {
  height: 32px;
  min-width: 32px;
  object-fit: contain;
  display: block;
}

.modern-logo img.full-text {
  height: 26px;
  margin-left: 8px;
  min-width: 150px;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.modern-logo:hover img.full-text {
  opacity: 1;
  transform: translateX(0);
}

.main-nav {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-link.active {
  color: var(--danu-blue);
  font-weight: 700;
}

/* Subsystems Switcher Pill Bar */
.danu-subsystems-bar {
  position: sticky;
  top: 80px;
  z-index: 99;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--danu-border);
  padding: 0.6rem 0;
}

.subsystems-bar-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.subsystems-bar-container::-webkit-scrollbar {
  display: none;
}

.sub-pill {
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: var(--danu-bg);
  border: 1px solid var(--danu-border);
  color: var(--danu-text-dark);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  display: inline-flex;
  align-items: center;
}

.sub-pill:hover,
.sub-pill.active {
  background: var(--danu-blue);
  color: #ffffff;
  border-color: var(--danu-blue);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.nav-link:hover {
  color: var(--danu-blue);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-switch {
  background: transparent;
  border: 1px solid var(--danu-border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.3s;
  color: var(--danu-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-switch:hover {
  border-color: var(--danu-blue);
  color: var(--danu-blue);
  background: rgba(37, 99, 235, 0.05);
}

/* BUTTON-IN-BUTTON ISLAND CTA */
.btn-island {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--danu-blue);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 6px 6px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.12);
}

.btn-island:hover {
  background: var(--danu-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
}

.btn-island:active {
  transform: translateY(0) scale(0.98);
}

.btn-island .btn-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.btn-island:hover .btn-icon-wrapper {
  transform: translateX(2px) rotate(45deg);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--danu-text-dark);
  padding: 10px 24px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--danu-border);
  transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.2);
}

.danu-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1100;
  align-items: center;
  justify-content: center;
}

.danu-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--danu-text-dark);
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.4s;
}

.danu-hamburger span:nth-child(1) {
  transform: translateY(-6px);
}

.danu-hamburger span:nth-child(2) {
  transform: translateY(0);
}

.danu-hamburger span:nth-child(3) {
  transform: translateY(6px);
}

.danu-hamburger.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.danu-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.danu-hamburger.active span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* HERO SECTION */
.danu-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-color: var(--danu-bg);
}

.hero-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  background: rgba(37, 99, 235, 0.08);
  color: var(--danu-blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: var(--font-h1);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--danu-text-dark);
  letter-spacing: -0.02em;
}

.hero-content .hero-sub {
  font-size: var(--font-p);
  color: var(--danu-text-gray);
  margin-bottom: 2.2rem;
  max-width: 580px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-media {
  width: 100%;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

/* ABOUT SECTION */
.danu-about {
  padding: 100px 2rem;
  background: var(--danu-white);
}

.about-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.about-media img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 16 / 11;
  display: block;
}

.about-content h2 {
  margin-bottom: 1.2rem;
  font-size: var(--font-h2);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.about-content .about-p {
  margin-bottom: 1.2rem;
  color: var(--danu-text-gray);
  font-size: var(--font-p);
  line-height: 1.65;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.about-stats .stat-item {
  text-align: left;
}

@media (max-width: 576px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-stats .stat-item .double-bezel-inner {
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--danu-blue);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--danu-text-gray);
  font-weight: 600;
  line-height: 1.3;
}

/* DIRECTIONS ASYMMETRICAL BENTO GRID */
.danu-section {
  padding: 100px 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: var(--font-h2);
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--danu-text-dark);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: var(--font-p);
  color: var(--danu-text-gray);
  line-height: 1.55;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.bento-tile {
  grid-column: span 1;
  height: 100%;
}

.bento-tile .double-bezel-inner {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bento-tile.tile-large {
  grid-column: span 2;
}

.bento-tile.tile-large .double-bezel-inner {
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
}

.bento-tile.tile-large .tile-content {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-tile.tile-large .tile-media {
  flex: 0.8;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
}

.bento-tile.tile-large .tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-tile.tile-tall {
  grid-column: span 1;
  grid-row: auto;
}

.bento-tile.tile-tall .double-bezel-inner {
  flex-direction: column;
  justify-content: space-between;
}

.bento-tile.tile-tall .tile-media {
  height: 220px;
  margin-top: 1.5rem;
}

.tile-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tile-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tile-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--danu-blue);
}

.tile-content h3 {
  font-size: var(--font-h3);
  font-weight: 800;
  color: var(--danu-text-dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.tile-content p {
  font-size: var(--font-sm);
  color: var(--danu-text-gray);
  line-height: 1.6;
}

.tile-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--danu-border);
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-tile.tile-large .tile-media img {
  aspect-ratio: 4 / 3;
}

.direction-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.5rem;
}

.direction-features li {
  font-size: var(--font-sm);
  color: var(--danu-text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.direction-features li::before {
  content: "✓";
  color: var(--danu-blue);
  font-weight: 800;
}

/* INTERACTIVE MULTI-SUBSYSTEM CALCULATOR */
.vcs-calculator .double-bezel-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem;
}

.calc-subsystem-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  background: var(--danu-bg);
  padding: 6px;
  border-radius: 100px;
  border: 1px solid var(--danu-border);
}

.subsystem-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--danu-text-gray);
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subsystem-tab .tab-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.subsystem-tab:hover .tab-icon {
  transform: scale(1.1);
}

.subsystem-tab.active {
  background: var(--danu-blue);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.subsystem-tab:hover:not(.active) {
  color: var(--danu-blue);
  background: rgba(37, 99, 235, 0.05);
}

.calc-body-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.vcs-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-panel {
  display: none;
  animation: fadeInCalc 0.4s ease-in-out;
}

.calc-panel.active {
  display: block;
}

@keyframes fadeInCalc {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vcs-controls .form-group {
  margin-bottom: 1.25rem;
}

.vcs-controls label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: var(--font-sm);
  color: var(--danu-text-dark);
}

.vcs-controls select.danu-select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--danu-border);
  background: var(--danu-bg);
  font-size: var(--font-sm);
  font-weight: 500;
  transition: all 0.3s;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.1rem;
  padding-right: 3rem;
}

.vcs-controls select.danu-select:focus {
  border-color: var(--danu-blue);
  background-color: #fff;
  outline: none;
}

.room-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: var(--danu-bg);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid var(--danu-border);
}

.room-btn {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--danu-text-gray);
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.room-btn.active {
  background: var(--danu-white);
  color: var(--danu-text-dark);
  box-shadow: var(--danu-shadow-soft);
}

.form-actions {
  display: flex;
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
}

.form-actions .btn-island {
  flex: 1;
  justify-content: center;
}

@media (max-width: 640px) {
  .form-actions {
    flex-direction: column;
  }
}

.vcs-visual {
  width: 100%;
}

.vcs-visual .double-bezel-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--danu-bg);
  gap: 1.2rem;
}

.vcs-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.calc-summary-details {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--danu-border);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  color: var(--danu-text-gray);
  line-height: 1.5;
  text-align: left;
}

.calc-summary-details ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.calc-summary-details li {
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-summary-details li::before {
  content: "•";
  color: var(--danu-blue);
  font-weight: 800;
}

.price-tag {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--danu-blue);
  margin-top: 0.2rem;
}

.btn-calc-send {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.header-telegram,
.mobile-telegram {
  color: #0088cc !important;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.header-telegram:hover,
.mobile-telegram:hover {
  opacity: 0.8;
}

@media (max-width: 992px) {
  .calc-subsystem-tabs {
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
  }

  .calc-body-wrapper {
    grid-template-columns: 1fr;
  }
}

/* REVIEWS CAROUSEL */
.reviews-carousel-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.reviews-carousel-wrapper .double-bezel-inner {
  padding: 0.8rem;
}

.reviews-carousel {
  position: relative;
  width: 100%;
}

.review-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.review-slide.active {
  display: block;
  opacity: 1;
}

.review-card-content {
  padding: 2.2rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.20rem;
}

.vk-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.vk-avatar.initials-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50%;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.vk-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #0077ff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  border: 2px solid var(--danu-white);
}

.review-author h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.review-author span {
  font-size: 0.8rem;
  color: var(--danu-text-gray);
  font-weight: 500;
}

.review-text {
  font-size: var(--font-sm);
  color: var(--danu-text-gray);
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: var(--danu-bg);
  border: 1px solid var(--danu-border);
  color: var(--danu-blue);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  user-select: none;
  outline: none;
}

.carousel-btn:hover {
  background: var(--danu-blue);
  color: #fff;
  border-color: var(--danu-blue);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danu-border);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--danu-blue);
  width: 24px;
  border-radius: 10px;
}

/* CONTACTS SECTION */
.danu-contacts {
  max-width: 720px;
  margin: 100px auto;
  padding: 0 2rem;
}

.contacts-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contacts-header h2 {
  font-size: var(--font-h2);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.contacts-header p {
  font-size: var(--font-p);
  color: var(--danu-text-gray);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input.danu-input,
.contact-form textarea.danu-textarea {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: 1px solid var(--danu-border);
  border-radius: 100px;
  font-size: var(--font-sm);
  margin-bottom: 1.25rem;
  background: var(--danu-bg);
  transition: all 0.3s;
}

.contact-form textarea.danu-textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 120px;
}

.contact-form input.danu-input:focus,
.contact-form textarea.danu-textarea:focus {
  border-color: var(--danu-blue);
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06);
}

.contact-form .btn-island {
  width: 100%;
  justify-content: space-between;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.5rem 0 1.5rem;
  text-align: left;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.8rem;
  color: var(--danu-text-gray);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}

.form-checkbox a {
  color: var(--danu-blue);
  text-decoration: underline;
  transition: color 0.2s;
}

.form-checkbox a:hover {
  color: var(--danu-blue-hover);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--danu-blue);
  font-weight: 700;
  font-size: 1.15rem;
}

.form-success.show {
  display: block;
}

/* CORPORATE FOOTER */
.danu-footer {
  background: var(--danu-text-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 100px 2rem 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr 1.2fr;
  gap: 3rem;
}

.footer-brand h4 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
  font-weight: 500;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-requisites p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.3rem 0;
  line-height: 1.4;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #fff;
}

/* RESPONSIVE LAYOUT & MOBILE COLLAPSE */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bento-tile {
    grid-column: span 6 !important;
    grid-row: span 1 !important;
  }

  .bento-tile.tile-large {
    grid-column: span 12 !important;
  }

  .bento-tile.tile-large .double-bezel-inner {
    flex-direction: column;
  }

  .bento-tile.tile-large .tile-media {
    height: 220px;
  }

  .vcs-calculator .double-bezel-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .danu-header {
    top: 12px;
    height: 60px;
  }

  .header-container {
    padding: 0 1rem;
  }

  .main-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .main-nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.32, 0.72, 0, 1), transform 0.5s
      cubic-bezier(0.32, 0.72, 0, 1);
  }

  .main-nav.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav.active a:nth-child(1) {
    transition-delay: 0.1s;
  }
  .main-nav.active a:nth-child(2) {
    transition-delay: 0.15s;
  }
  .main-nav.active a:nth-child(3) {
    transition-delay: 0.20s;
  }
  .main-nav.active a:nth-child(4) {
    transition-delay: 0.25s;
  }

  .danu-hamburger {
    display: flex;
  }

  .btn-nav-contact {
    display: none;
  }

  .danu-hero {
    padding-top: 100px;
  }

  .about-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .bento-tile,
  .bento-tile.tile-large,
  .bento-tile.tile-tall {
    grid-column: span 12 !important;
    grid-row: span 1 !important;
  }

  .bento-tile.tile-tall .tile-media {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .danu-hero,
  .danu-about,
  .danu-section {
    padding: 60px 1.25rem;
  }

  .double-bezel-inner {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .double-bezel-outer {
    padding: 6px;
    border-radius: 26px;
  }

  .room-selector {
    flex-direction: column;
    border-radius: 16px;
    padding: 8px;
  }

  .room-btn {
    border-radius: 100px;
  }

  .price-tag {
    font-size: 1.8rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

/* PageSpeed Optimization: Defer layout rendering of offscreen sections */
.danu-about,
.danu-section,
.danu-contacts,
.danu-footer {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

/* FONT PREVIEW PLAYGROUND - DOUBLE BEZEL WIDGET */
.font-playground {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.playground-toggle {
  width: 48px;
  height: 48px;
  background: var(--danu-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 2;
}

.playground-toggle:hover {
  transform: scale(1.05);
  background: var(--danu-blue-hover);
}

.playground-toggle:active {
  transform: scale(0.95);
}

.playground-panel-wrapper {
  display: none;
  width: 280px;
  margin-top: 10px;
  z-index: 1;
}

.font-playground.active .playground-panel-wrapper {
  display: block;
}

.playground-panel-wrapper .double-bezel-inner {
  padding: 1.5rem;
}

.playground-panel-wrapper h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--danu-text-dark);
  letter-spacing: -0.01em;
}

.playground-panel-wrapper .control-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.playground-panel-wrapper label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--danu-text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.playground-panel-wrapper select.danu-select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--danu-border);
  background: var(--danu-bg);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.9rem;
  padding-right: 2.2rem;
}

.playground-panel-wrapper select.danu-select:focus {
  border-color: var(--danu-blue);
  background-color: #fff;
  outline: none;
}

@media (max-width: 768px) {
  .font-playground {
    bottom: 16px;
    left: 16px;
  }
  .playground-panel-wrapper {
    width: 240px;
  }
}

/* --- B2B SEO & Conversion Optimization Plan Styles --- */

/* Header Contacts */
.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  margin-right: 2rem;
  font-size: var(--font-sm);
}

.header-contacts a {
  text-decoration: none;
  color: var(--danu-text-dark);
  font-weight: 600;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.header-phone {
  font-size: var(--font-sm);
}

.header-email {
  font-size: 0.78rem;
  color: var(--danu-text-gray) !important;
}

.header-contacts a:hover,
.header-email:hover {
  color: var(--danu-blue) !important;
}

.mobile-contacts {
  display: none;
}

@media (max-width: 1024px) {
  .header-contacts {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.32, 0.72, 0, 1) 0.3s, transform 0.5s
      cubic-bezier(0.32, 0.72, 0, 1) 0.3s;
    width: 100%;
    text-align: center;
  }

  .main-nav.active .mobile-contacts {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-contacts a {
    font-size: 1.2rem !important;
    text-decoration: none;
    color: var(--danu-text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
  }

  .mobile-contacts a:hover {
    color: var(--danu-blue);
  }
}

/* Brands Section */
.danu-brands {
  padding: 60px 2rem;
  background: var(--danu-bg);
}

.brands-container {
  max-width: 1280px;
  margin: 0 auto;
}

.brands-container .double-bezel-inner {
  padding: 2.5rem;
  align-items: center;
  text-align: center;
}

.brands-container h4 {
  font-size: var(--font-sm);
  font-family: var(--font-display-family), sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--danu-text-gray);
  margin-bottom: 2rem;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 3rem;
  width: 100%;
}

.brand-item {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--danu-text-gray);
  opacity: 0.65;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: default;
  letter-spacing: -0.02em;
}

.brand-item:hover {
  color: var(--danu-blue);
  opacity: 1;
  transform: translateY(-3px);
}

/* B2B Cases Section */
.danu-cases {
  background: var(--danu-white);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.case-card .double-bezel-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.case-card h4 {
  font-size: var(--font-h3);
  font-family: var(--font-display-family), sans-serif !important;
  font-weight: 800;
  color: var(--danu-text-dark);
  line-height: 1.3;
}

.case-card p {
  font-size: var(--font-sm);
  color: var(--danu-text-gray);
  line-height: 1.6;
}

.case-card p strong {
  color: var(--danu-text-dark);
}

@media (max-width: 992px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Steps Section */
.danu-steps {
  background: var(--danu-bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 52px;
  background: var(--danu-blue);
  color: var(--danu-white);
  font-family: var(--font-display-family), sans-serif !important;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
}

.step-item h4 {
  font-size: var(--font-h3);
  font-family: var(--font-display-family), sans-serif !important;
  font-weight: 800;
  color: var(--danu-text-dark);
}

.step-item p {
  font-size: var(--font-sm);
  color: var(--danu-text-gray);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Contacts Layout Grid & Lead Magnet Card */
.contacts-grid-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
  width: 100%;
}

.danu-contacts {
  max-width: 1100px;
  margin: 100px auto;
  padding: 0 2rem;
}

.lead-magnet-card .double-bezel-inner {
  padding: 3rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--danu-white) 0%, rgba(37, 99, 235, 0.02) 100%);
  height: 100%;
}

.lead-magnet-card h4 {
  font-size: var(--font-h3);
  font-family: var(--font-display-family), sans-serif !important;
  font-weight: 800;
  color: var(--danu-text-dark);
  line-height: 1.3;
}

.lead-magnet-card p {
  font-size: var(--font-sm);
  color: var(--danu-text-gray);
  line-height: 1.65;
}

.btn-lm {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.btn-lm .btn-icon-wrapper {
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.btn-lm:hover .btn-icon-wrapper {
  transform: translateY(3px);
}

@media (max-width: 768px) {
  .contacts-grid-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* FAQ Accordion Styles */
.danu-faq {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item .double-bezel-inner {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display-family), sans-serif !important;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--danu-text-dark);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--danu-blue);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--danu-blue);
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 2rem 1.5rem 2rem;
}

.faq-item.active .faq-answer {
  display: block !important;
}

.faq-answer p {
  font-size: var(--font-md);
  color: var(--danu-text-gray);
  line-height: 1.7;
}

/* ==========================================================================
   Project Switcher Dropdown & Multi-Page Ecosystem Styles
   ========================================================================== */
.project-switcher-container {
  position: relative;
  display: inline-block;
  z-index: 100;
}

.project-switcher-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  color: var(--danu-text-dark);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-switcher-btn:hover,
.project-switcher-btn[aria-expanded="true"] {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--danu-blue);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.switcher-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.project-switcher-btn[aria-expanded="true"] .switcher-arrow {
  transform: rotate(180deg);
}

.project-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 0.6rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-switcher-menu.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.switcher-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--danu-text-dark);
  transition: background 0.2s ease;
}

.switcher-item:hover {
  background: #f1f5f9;
}

.switcher-item.active {
  background: rgba(37, 99, 235, 0.08);
  border-left: 3px solid var(--danu-blue);
}

.item-icon {
  font-size: 1.4rem;
}

.item-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--danu-text-dark);
}

.item-text small {
  display: block;
  font-size: 0.78rem;
  color: var(--danu-text-gray);
}

/* Breadcrumbs */
.breadcrumb-container {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--danu-text-gray);
}

.breadcrumb-list a {
  color: var(--danu-blue);
  text-decoration: none;
}

.breadcrumb-list li::after {
  content: "›";
  margin-left: 0.5rem;
  opacity: 0.5;
}

.breadcrumb-list li:last-child::after {
  content: "";
}

/* Yandex Alice AI Section & Cards */
.alice-ai-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.alice-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
}

.alice-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.alice-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.alice-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(139, 92, 246, 0.15);
  color: #7c3aed;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 0.3rem;
}

.alice-header h2 {
  font-size: 1.4rem;
  color: var(--danu-text-dark);
}

.alice-qna-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.alice-qna-box {
  background: #ffffff;
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.qna-user-query {
  font-size: 0.95rem;
  font-weight: 700;
  color: #5b21b6;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mic-pulse {
  font-size: 0.8rem;
  animation: pulseMic 1.5s infinite;
}

@keyframes pulseMic {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

.qna-ai-answer {
  font-size: 0.9rem;
  color: var(--danu-text-gray);
  line-height: 1.6;
}

/* Project Hero */
.project-hero {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  text-align: left;
}

.project-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--danu-blue);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}

.project-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--danu-text-dark);
  margin-bottom: 1rem;
}

.project-hero-desc {
  font-size: 1.05rem;
  color: var(--danu-text-gray);
  max-width: 800px;
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.project-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Bento Grid Specs */
.project-specs {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.8rem;
  color: var(--danu-text-dark);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.bento-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.bento-card.card-large {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .bento-card.card-large {
    grid-column: span 1;
  }
}

.bento-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.bento-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--danu-text-dark);
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--danu-text-gray);
  line-height: 1.65;
}

/* Project Calculator Section */
.project-calc-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.calc-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.calc-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--danu-text-dark);
}

.calc-field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 12px;
  background: #ffffff;
  font-size: 0.9rem;
  color: var(--danu-text-dark);
  cursor: pointer;
}

.calc-summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.calc-total {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--danu-text-dark);
}

.price-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--danu-blue);
  margin-left: 0.5rem;
}

.btn-calc-submit {
  padding: 0.8rem 1.6rem;
}

/* Project FAQ */
.project-faq {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

/* Footer */
.danu-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 1.5rem;
  margin-top: 5rem;
  text-align: center;
  font-size: 0.9rem;
}

.danu-footer a {
  color: #38bdf8;
  text-decoration: none;
}

/* ============================
   ABOUT PAGE STYLES
   ============================ */

/* Expert Section */
.danu-expert {
  padding-top: 4rem;
}

.expert-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.expert-photo-frame {
  width: 280px;
  height: 280px;
  border-radius: 1rem;
  overflow: hidden;
  border: 3px solid var(--danu-blue);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.expert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.expert-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--danu-border);
  color: var(--danu-text-dark);
  background: var(--danu-card-bg);
}

.social-btn:hover {
  background: var(--danu-blue);
  color: #fff;
  border-color: var(--danu-blue);
  transform: translateY(-1px);
}

.tg-btn:hover {
  background: #24a1de;
  border-color: #24a1de;
}

.expert-name {
  font-family: "Unbounded", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--danu-text-dark);
  margin: 0 0 0.25rem 0;
}

.expert-role {
  font-size: 1.1rem;
  color: var(--danu-blue);
  font-weight: 500;
  margin: 0 0 1.5rem 0;
}

.expert-bio p {
  color: var(--danu-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

.expert-certs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--danu-border);
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.cert-icon {
  font-size: 1.2rem;
}

.cert-text {
  font-size: 0.95rem;
  color: var(--danu-text-dark);
  font-weight: 500;
}

/* Company Info Grid */
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.company-card {
  text-align: center;
  padding: 0;
}

.company-card .double-bezel-inner {
  padding: 2rem 1.5rem;
}

.company-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.company-card h3 {
  font-family: "Unbounded", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--danu-text-dark);
  margin: 0 0 0.75rem 0;
}

.company-card p {
  color: var(--danu-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Legal Section */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.legal-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  background: var(--danu-card-bg);
  border: 1px solid var(--danu-border);
  border-radius: 0.75rem;
}

.legal-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--danu-text-muted);
  font-weight: 500;
}

.legal-value {
  font-size: 0.95rem;
  color: var(--danu-text-dark);
  font-weight: 500;
}

.legal-value a {
  color: var(--danu-blue);
  text-decoration: none;
}

.legal-value a:hover {
  text-decoration: underline;
}

/* About Hero Stats */
.about-stats-hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-hero-item {
  background: var(--danu-card-bg);
  border: 1px solid var(--danu-border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.stat-hero-item .stat-num {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--danu-blue);
  line-height: 1;
}

.stat-hero-item .stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--danu-text-secondary);
  margin-top: 0.5rem;
}

/* Contact Form Enhanced */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.form-disclaimer {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--danu-text-muted);
  margin: 0;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  background: var(--danu-card-bg);
  border: 1px solid var(--danu-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.info-card h4 {
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--danu-text-dark);
  margin: 0 0 1rem 0;
}

.info-card p {
  color: var(--danu-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.25rem 0;
}

.info-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--danu-text-dark);
  text-decoration: none;
  font-weight: 500;
}

.info-link:hover {
  color: var(--danu-blue);
}

.info-link-icon {
  font-size: 1.1rem;
}

/* Footer Enhanced */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-tagline {
  color: #64748b;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive: About Page */
@media (max-width: 1024px) {
  .company-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .expert-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .expert-photo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .expert-certs {
    align-items: center;
  }

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

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

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

  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* Global Overflow & Viewport Boundaries Protection */
html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

*,
*::before,
*::after {
  box-sizing: border-box !important;
}

.danu-page-wrapper {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  background-color: #f8fafc !important;
}

/* Accessibility Utility Class */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Light Theme Across All Sections */
#services,
#videoconf,
.danu-section {
  background-color: #f8fafc !important;
}

#services .section-title,
#videoconf .section-title,
.section-title {
  color: #0f172a !important;
}

#services .section-subtitle,
#videoconf .section-subtitle,
.section-subtitle {
  color: #475569 !important;
}

/* UNIFIED BUTTON SYSTEM */
.btn-island,
.btn-calc-send,
#sendFormBtn,
#checklistDownloadBtn,
.btn-tg-submit,
.btn-tg-followup {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  padding: 0.85rem 1.6rem !important;
  border-radius: 100px !important;
  font-family: var(--font-body-family), sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.32, 0.72, 0, 1) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2) !important;
  border: none !important;
}

.btn-island,
.btn-calc-send,
#sendFormBtn,
#checklistDownloadBtn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
}

.btn-island:hover,
.btn-calc-send:hover,
#sendFormBtn:hover,
#checklistDownloadBtn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-2px) !important;
}

.btn-tg-submit,
.btn-tg-followup {
  background: #0088cc !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.25) !important;
}

.btn-tg-submit:hover,
.btn-tg-followup:hover {
  background: #0077b5 !important;
  transform: translateY(-2px) !important;
}

.btn-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.85rem 1.6rem !important;
  border-radius: 100px !important;
  border: 1.5px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #1e293b !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.btn-outline:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.04) !important;
}

/* Word Wrapping and Break Protection */
h1,
h2,
h3,
h4,
h5,
p,
span,
li,
a {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

/* Mobile Swipe Hint Banner for Calculator Tabs */
.calc-swipe-hint {
  display: none;
}

/* Mobile Layout & Scaling Refactor */
@media (max-width: 768px) {
  .calc-swipe-hint {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: var(--danu-blue) !important;
    background: rgba(37, 99, 235, 0.08) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    margin-bottom: 0.85rem !important;
    text-align: center !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
  }

  .price-tag {
    font-size: clamp(1.2rem, 5.5vw, 2rem) !important;
    white-space: nowrap !important;
    word-break: normal !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0.3rem !important;
  }

  .danu-hero {
    padding-top: 130px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .calc-subsystem-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px !important;
    padding: 8px !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .subsystem-tab {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.8rem !important;
  }

  .hero-title,
  h1[data-translate="hero-title"] {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }

  .section-title {
    font-size: 1.4rem !important;
    line-height: 1.25 !important;
  }

  .about-stats-hero {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .bento-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }

  .bento-tile,
  .bento-tile.tile-large,
  .bento-tile.tile-tall {
    width: 100% !important;
    min-width: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .bento-tile .double-bezel-inner {
    padding: 1.5rem !important;
    width: 100% !important;
  }

  .bento-tile.tile-large .double-bezel-inner {
    flex-direction: column !important;
  }

  .bento-tile .tile-content {
    width: 100% !important;
  }

  .bento-tile .tile-media {
    width: 100% !important;
    height: 200px !important;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}
