:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --bg-gradient: #ffffff;
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-border: 214 32% 88%;
  --primary: 199 89% 40%;
  --primary-rgb: 14, 165, 233;
  --secondary: 174 72% 38%;
  --secondary-rgb: 20, 184, 166;
  --accent: 220 83% 53%;
  --accent-rgb: 37, 99, 235;
  --muted: 215 16% 47%;
  --glass: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(148, 163, 184, 0.22);
  --glass-shadow: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 34px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 12px 28px rgba(14, 165, 233, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: hsl(var(--foreground));
  background: var(--bg-gradient);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

ul {
  list-style: none;
}

body:has(.auth-page) {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-wrapper {
  position: relative;
  width: 100%;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

#services,
#about {
  background: #f8fafc;
}

#products,
#contact {
  background: #ffffff;
}

.section-header {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: hsl(var(--primary));
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.section-badge::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)));
}

.section-header .section-badge {
  justify-content: center;
}

.section-title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.18;
  font-weight: 800;
}

.section-title span,
.highlight,
.logo-text {
  color: transparent;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)));
  -webkit-background-clip: text;
  background-clip: text;
}

.section-desc,
.text-muted {
  color: hsl(var(--foreground) / 0.7);
}

.section-desc {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-subtitle {
  margin-bottom: 18px;
  font-size: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow {
  transform: translateX(3px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.22);
}

.btn-secondary {
  color: hsl(var(--primary));
  background: rgba(var(--primary-rgb), 0.08);
  border-color: rgba(var(--primary-rgb), 0.24);
}

.btn-outline {
  color: hsl(var(--foreground));
  background: transparent;
  border-color: hsl(var(--card-border));
}

.btn-outline:hover {
  background: hsl(var(--card-border) / 0.55);
}

.compact-btn {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.85rem;
}

.full-width {
  width: 100%;
}

.navbar {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: padding 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  background: var(--glass);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px var(--glass-shadow);
  backdrop-filter: blur(16px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  z-index: 1002;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.28);
  overflow: hidden;
}

.logo-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.logo {
  white-space: nowrap;
}

.logo-lockup {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}

.logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.52);
  -webkit-text-fill-color: hsl(var(--foreground) / 0.52);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link,
.dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  color: hsl(var(--foreground) / 0.8);
  background: transparent;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active,
.dropdown-trigger:hover {
  color: hsl(var(--primary));
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: hsl(var(--primary));
  transition: width 0.2s ease;
}

.nav-link[href="/Admin"],
.nav-link[href="/Admin/Login"],
.nav-link[href="/Admin/Index"] {
  display: none !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.dropdown-container {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 210px;
  padding: 8px;
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  background: hsl(var(--card));
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-container:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown-item:hover {
  background: rgba(var(--primary-rgb), 0.08);
}

.dropdown-arrow {
  color: hsl(var(--primary));
  font-size: 0.95rem;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.dropdown-item:hover .dropdown-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.muted-option {
  opacity: 0.55;
}

.right-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid hsl(var(--card-border));
  color: hsl(var(--foreground));
  background: rgba(var(--primary-rgb), 0.06);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

.menu-btn,
.mobile-only {
  display: none;
}

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 136px 0 72px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), transparent 42%),
    linear-gradient(315deg, rgba(var(--secondary-rgb), 0.08), transparent 48%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: 64px;
  text-align: center;
}

.hero-content {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.hero-title {
  max-width: 100%;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 4.25rem;
  line-height: 1.05;
  font-weight: 900;
}

.hero-desc {
  max-width: 680px;
  margin: 0 auto 32px;
  color: hsl(var(--foreground) / 0.72);
  font-size: 1.12rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08)),
    hsl(var(--card) / 0.55);
  box-shadow: var(--shadow-xl);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-globe {
  position: absolute;
  inset: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--primary-rgb), 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(var(--secondary-rgb), 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-globe-core {
  position: absolute;
  inset: 22%;
  border-radius: 8px;
  border: 1px solid rgba(var(--primary-rgb), 0.28);
  background: rgba(var(--primary-rgb), 0.08);
}

.hero-letter {
  z-index: 1;
  color: rgba(255, 255, 255, 0.18);
  font-size: 5rem;
  font-weight: 900;
  user-select: none;
}

.services-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.team-card,
.about-feat-card,
.admin-stat-card,
.contact-form-card,
.contact-info,
.product-preview-card,
.pipeline-card,
.admin-content-box,
.admin-login-card,
.testimonial-card {
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  background: hsl(var(--card));
  box-shadow: var(--shadow-xl);
}

.service-card {
  min-height: 260px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), 0.04), rgba(var(--secondary-rgb), 0.025)),
    #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.team-card:hover,
.about-feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.55);
}

.service-icon,
.contact-icon-box,
.admin-stat-icon,
.login-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.28);
}

.service-icon svg,
.contact-icon-box svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.04);
}

.service-icon {
  transition: transform 0.25s ease;
}

.service-card h3,
.product-info h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p,
.product-info p,
.about-feat-card p,
.team-card p {
  color: hsl(var(--foreground) / 0.68);
}

.stories-tabs,
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.story-tab-btn,
.admin-tab {
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  padding: 10px 18px;
  color: hsl(var(--foreground) / 0.8);
  background: hsl(var(--card));
  cursor: pointer;
  font-weight: 700;
}

.story-tab-btn.active,
.admin-tab.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
}

.story-content {
  display: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.story-content.active {
  display: grid;
}

.story-info,
.story-quote {
  padding: 32px;
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  background: hsl(var(--card));
}

.story-info h3 {
  margin: 8px 0 14px;
  font-size: 1.7rem;
}

.story-info p,
.story-quote p {
  color: hsl(var(--foreground) / 0.7);
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.stat-item {
  padding: 18px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.08);
}

.stat-num {
  color: hsl(var(--primary));
  font-size: 1.75rem;
  font-weight: 900;
}

.stat-label,
.story-author {
  color: hsl(var(--foreground) / 0.62);
  font-size: 0.88rem;
  font-weight: 700;
}

.story-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.story-quote p {
  font-size: 1.22rem;
  font-style: italic;
}

.products-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 32px;
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.04), rgba(var(--secondary-rgb), 0.035)), hsl(var(--card));
  box-shadow: var(--shadow-sm);
}

.product-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 6px;
  color: hsl(var(--primary));
  background: rgba(var(--primary-rgb), 0.1);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-features {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.product-feature-item,
.check-list div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: hsl(var(--foreground) / 0.76);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.feature-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 999px;
  color: hsl(var(--primary));
  background: rgba(var(--primary-rgb), 0.12);
}

.product-preview-card {
  overflow: hidden;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid hsl(var(--card-border));
  font-weight: 800;
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--muted));
}

.preview-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.preview-body div {
  padding: 10px;
  border: 1px solid hsl(var(--card-border));
  border-radius: 6px;
  color: hsl(var(--primary));
  background: rgba(var(--primary-rgb), 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.pipeline-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 36px;
  text-align: center;
  border-style: dashed;
}

.pipeline-card p {
  max-width: 560px;
  color: hsl(var(--foreground) / 0.65);
}

.pipeline-card span {
  color: hsl(var(--muted));
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-section {
  background: rgba(var(--primary-rgb), 0.02);
}

.logo-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 44px;
}

.client-logo-wrapper {
  display: grid;
  place-items: center;
  min-height: 88px;
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  background: hsl(var(--card));
}

.client-logo-wrapper .logo-text {
  color: hsl(var(--foreground) / 0.72);
  font-weight: 900;
}

.testimonials-carousel {
  max-width: 820px;
  margin: 0 auto;
}

.testimonial-card {
  display: none;
  padding: 32px;
  text-align: center;
}

.testimonial-card.active {
  display: block;
}

.testimonial-text {
  margin-bottom: 20px;
  color: hsl(var(--foreground) / 0.78);
  font-size: 1.15rem;
}

.testimonial-meta {
  display: grid;
  gap: 3px;
}

.testimonial-name {
  font-weight: 900;
}

.testimonial-role {
  color: hsl(var(--muted));
  font-size: 0.88rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: hsl(var(--card-border));
  cursor: pointer;
}

.carousel-dot.active {
  background: hsl(var(--primary));
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 40px;
  align-items: start;
}

.about-grid .text-muted {
  margin-bottom: 18px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.about-feat-card {
  padding: 22px;
}

.about-feat-card h4 {
  margin-bottom: 8px;
}

.about-img-container {
  position: relative;
}

.about-glow {
  display: none;
}

.about-visual-box {
  padding: 34px;
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08)), hsl(var(--card));
  box-shadow: var(--shadow-xl);
}

.about-visual-box h3 {
  color: hsl(var(--primary));
  font-size: 4rem;
}

.about-metric-label {
  margin-bottom: 18px;
  color: hsl(var(--foreground) / 0.66);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 10px;
}

.team-section {
  margin-top: 76px;
}

.team-title {
  margin-bottom: 32px;
  text-align: center;
  font-size: 1.8rem;
}

.team-card {
  padding: 28px;
}

.team-card span {
  display: block;
  margin: 6px 0 12px;
  color: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-info,
.contact-form-card {
  padding: 28px;
}

.contact-info-title {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.contact-method-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon-box {
  flex: 0 0 auto;
  margin: 0;
}

.contact-method-details p {
  color: hsl(var(--foreground) / 0.68);
}

.contact-method-details a,
.footer-links a,
.sender-email {
  color: hsl(var(--primary));
}

.office-map {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  background: #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.office-map iframe {
  display: block;
  width: 100%;
  min-height: 240px;
  border: 0;
}

.office-map a {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 8px;
  color: #fff;
  background: hsl(var(--foreground));
  box-shadow: var(--shadow-sm);
  font-size: 0.84rem;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group,
.form-group-full {
  display: grid;
  gap: 7px;
}

.form-group-full {
  grid-column: 1 / -1;
}

label {
  color: hsl(var(--foreground) / 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.form-input,
.form-select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  outline: none;
}

.form-input:focus,
.form-select:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.14);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.field-validation-error {
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-alert-success {
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.32);
  background: rgba(34, 197, 94, 0.12);
}

.form-alert-error {
  color: #b91c1c;
  border: 1px solid rgba(248, 113, 113, 0.32);
  background: rgba(248, 113, 113, 0.12);
}

.form-alert:empty {
  display: none;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  padding: 52px 0 26px;
  border-top: 1px solid hsl(var(--card-border));
  background: #f8fafc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 36px;
  margin-bottom: 28px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p,
.muted-links p {
  color: hsl(var(--foreground) / 0.64);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links-col h4 {
  margin-bottom: 12px;
}

.footer-bottom,
.footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid hsl(var(--card-border));
  color: hsl(var(--foreground) / 0.58);
  font-size: 0.88rem;
}

.admin-section {
  min-height: 100vh;
  padding: 80px 0;
}

.auth-page {
  display: grid;
  place-items: center;
}

.admin-login-card {
  max-width: 430px;
  margin: 0 auto;
  padding: 34px;
}

.admin-login-card h1 {
  margin-bottom: 8px;
  text-align: center;
  font-size: 1.8rem;
}

.admin-login-card p {
  margin-bottom: 24px;
  color: hsl(var(--foreground) / 0.65);
  text-align: center;
}

.login-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
}

.admin-login-card form {
  display: grid;
  gap: 16px;
  margin-bottom: 12px;
}

.admin-header,
.admin-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-header {
  margin-bottom: 28px;
}

.admin-header h1 {
  font-size: 2.35rem;
}

.admin-header-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.admin-stat-icon {
  margin: 0;
}

.admin-stat-info h5 {
  color: hsl(var(--foreground) / 0.62);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.admin-stat-info p {
  color: hsl(var(--foreground));
  font-size: 1.8rem;
  font-weight: 900;
}

.admin-content-box {
  padding: 24px;
}

.admin-filters {
  display: flex;
  justify-content: center;
}

.admin-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 1320px;
}

.admin-col-date {
  width: 170px;
}

.admin-col-client {
  width: 210px;
}

.admin-col-email {
  width: 250px;
}

.admin-col-service {
  width: 190px;
}

.admin-col-status {
  width: 300px;
}

.admin-col-timeline {
  width: 190px;
}

.admin-col-actions {
  width: 120px;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid hsl(var(--card-border));
  text-align: left;
  vertical-align: top;
  overflow-wrap: normal;
  word-break: normal;
}

.admin-table th {
  color: hsl(var(--foreground) / 0.62);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.nowrap {
  white-space: nowrap;
}

.sender-name {
  font-weight: 900;
  overflow-wrap: normal;
  word-break: normal;
}

.admin-muted-cell {
  color: hsl(var(--foreground) / 0.5);
  font-size: 0.84rem;
  font-weight: 800;
}

.sender-email {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.request-detail-row td {
  padding-top: 0;
  background: #fff;
}

.status-badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-badge-new {
  color: #075985;
  background: rgba(14, 165, 233, 0.16);
}

.status-badge-read {
  color: #166534;
  background: rgba(34, 197, 94, 0.16);
}

.status-badge-archived {
  color: #475569;
  background: rgba(100, 116, 139, 0.16);
}

.request-details summary {
  cursor: pointer;
  color: hsl(var(--primary));
  font-weight: 800;
}

.request-detail-card {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 960px;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  color: hsl(var(--foreground));
  background: #fff;
  box-shadow: var(--shadow-xl);
}

.request-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.request-detail-grid div {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
}

.request-detail-grid dt,
.request-description h4 {
  margin-bottom: 4px;
  color: hsl(var(--foreground) / 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-detail-grid dd {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 0.88rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.request-description {
  padding: 12px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.06);
}

.request-description p {
  color: hsl(var(--foreground) / 0.78);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.request-timeline {
  min-width: 170px;
  color: hsl(var(--foreground) / 0.7);
  font-size: 0.84rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-update-form {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 250px;
}

.admin-status-select {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-action-btn {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 6px;
  color: hsl(var(--foreground));
  background: rgba(var(--primary-rgb), 0.08);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-action-btn-delete {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.12);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-no-data {
  padding: 42px;
  color: hsl(var(--foreground) / 0.58);
  text-align: center;
  font-weight: 800;
}

.privacy-page {
  padding-top: 120px;
}

.content-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid hsl(var(--card-border));
  border-radius: 8px;
  background: hsl(var(--card));
}

.content-panel h1,
.content-panel h2 {
  margin-bottom: 14px;
}

.content-panel p,
.content-panel li {
  color: hsl(var(--foreground) / 0.72);
}

.content-panel ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 26px 18px;
  list-style: disc;
}

@media (max-width: 1024px) {
  .hero-grid,
  .product-row,
  .about-grid,
  .contact-grid,
  .story-content {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 3rem;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-track,
  .admin-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .desktop-only {
    display: none;
  }

  .mobile-only,
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px;
    border: 1px solid hsl(var(--card-border));
    border-radius: 8px;
    background: hsl(var(--card));
    box-shadow: var(--shadow-xl);
  }

  .nav-links.open {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-title,
  .section-title {
    font-size: 2.35rem;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-globe {
    inset: 42px;
  }

  .services-grid,
  .team-grid,
  .about-features,
  .form-grid,
  .logo-track,
  .footer-grid,
  .admin-stats-row {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: auto;
  }

  .footer-bottom,
  .admin-header-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 76px 0;
  }

  .hero-title,
  .section-title {
    font-size: 2rem;
  }

  .hero-buttons,
  .hero-buttons .btn {
    width: 100%;
  }

  .product-row,
  .contact-info,
  .contact-form-card,
  .admin-content-box,
  .admin-login-card,
  .content-panel {
    padding: 20px;
  }

  .status-update-form {
    grid-template-columns: 1fr;
    min-width: 210px;
  }

  .request-detail-card {
    width: min(520px, calc(100vw - 48px));
  }

  .request-detail-grid {
    grid-template-columns: 1fr;
  }
}
