/* DreamServer.ro - Custom Styles v2 */

/* Base */
:root {
  --ds-primary: #1a1a2e;
  --ds-accent: #0066ff;
  --ds-accent-hover: #0052cc;
  --ds-accent-light: #eef4ff;
  --ds-gray-50: #f8fafc;
  --ds-gray-100: #f1f5f9;
  --ds-gray-200: #e2e8f0;
  --ds-gray-300: #cbd5e1;
  --ds-gray-500: #64748b;
  --ds-gray-700: #334155;
  --ds-gray-900: #0f172a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ds-gray-900);
  background: var(--ds-gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ds-animate {
  animation: fadeInUp 0.6s ease-out both;
}

.ds-animate-delay-1 { animation-delay: 0.1s; }
.ds-animate-delay-2 { animation-delay: 0.2s; }
.ds-animate-delay-3 { animation-delay: 0.3s; }

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

/* Header */
.ds-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ds-gray-900);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s;
}

.ds-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.ds-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.ds-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0;
  transition: opacity 0.2s;
}

.ds-logo:hover { opacity: 0.85; }

.ds-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.ds-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.ds-logo-text span {
  color: #60a5fa;
}

/* Partners carousel */
.ds-partners-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  will-change: transform;
}

.ds-partners-overflow {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  padding: 1rem 0;
}

.ds-partners-track a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 50px;
  padding: 0 0.5rem;
  filter: grayscale(1);
  opacity: 0.45;
  transition: all 0.4s;
}

.ds-partners-track a:hover {
  filter: grayscale(0);
  opacity: 1;
}

.ds-partners-track img {
  height: 35px;
  width: auto;
  object-fit: contain;
}

/* scroll-partners animation removed - JS handles it */

/* Navigation menu */
.ds-menu {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
}

.ds-menu > li { position: relative; }

.ds-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.ds-menu > li > a:hover,
.ds-menu > li > a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Dropdown */
.ds-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -0.5rem;
  min-width: 220px;
  padding-top: 0.75rem;
  background: transparent;
  list-style: none;
  z-index: 200;
}

.ds-dropdown-panel {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  padding: 0.5rem;
}

@media (hover: hover) {
  .ds-menu > li:hover > .ds-dropdown { display: block; }
}

/* Touch devices: tap on parent toggles dropdown via .expanded class (set by JS).
   !important + visibility + opacity defenses against any Safari quirk where
   the synthetic :hover state on tap + class change race produces a flicker
   or no-op. See feedback_ios_desktop_view_touch_detection. */
.ds-menu > li.expanded > .ds-dropdown {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.ds-dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background 0.15s, color 0.15s;
}

.ds-dropdown a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Chevron icon for dropdowns */
.ds-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
  opacity: 0.5;
}

@media (hover: hover) {
  .ds-menu > li:hover .ds-chevron { transform: rotate(180deg); opacity: 1; }
}
.ds-menu > li.expanded > a .ds-chevron { transform: rotate(180deg); opacity: 1; }

.ds-menu-mobile-only { display: none; }

/* Language switcher */
.ds-lang {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.1875rem;
  background: rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.12);
}

.ds-lang a {
  padding: 0.3125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.ds-lang a.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Right side nav actions */
.ds-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.ds-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fff;
}

/* Hero Section */
.ds-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, #fff 0%, var(--ds-gray-50) 100%);
  position: relative;
}

.ds-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(ellipse at 70% 20%, rgba(0,102,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.ds-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--ds-gray-900);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.ds-hero p {
  font-size: 1.125rem;
  color: var(--ds-gray-500);
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Buttons */
.ds-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.ds-btn-primary {
  background: var(--ds-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,102,255,0.2);
}

.ds-btn-primary:hover {
  background: var(--ds-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,102,255,0.35);
}

.ds-btn-outline {
  background: #fff;
  color: var(--ds-gray-700);
  border: 1.5px solid var(--ds-gray-300);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ds-btn-outline:hover {
  border-color: var(--ds-accent);
  color: var(--ds-accent);
  box-shadow: 0 2px 8px rgba(0,102,255,0.1);
}

/* Sections */
.ds-section {
  padding: 5rem 0;
  position: relative;
}

.ds-section-white {
  background: #fff;
}

.ds-section-alt {
  background: var(--ds-gray-50);
}

.ds-section-dark {
  background: var(--ds-gray-900);
  color: #fff;
}

.ds-section-dark .ds-section-title { color: #fff; }
.ds-section-dark .ds-section-subtitle { color: rgba(255,255,255,0.6); }

.ds-section-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #fff;
}

.ds-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ds-gray-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.ds-section-subtitle {
  font-size: 1.0625rem;
  color: var(--ds-gray-500);
  margin-bottom: 3rem;
  max-width: 600px;
}

/* Cards grid */
.ds-grid {
  display: grid;
  gap: 1.5rem;
}

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

.ds-card {
  background: #fff;
  border: 1px solid var(--ds-gray-200);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ds-card:hover {
  border-color: var(--ds-accent);
  box-shadow: 0 8px 30px rgba(0,102,255,0.1);
  transform: translateY(-2px);
}

.ds-card-icon {
  width: 48px;
  height: 48px;
  background: var(--ds-accent-light);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--ds-accent);
  transition: all 0.3s;
}

.ds-card:hover .ds-card-icon {
  background: var(--ds-accent);
  color: #fff;
}

.ds-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ds-gray-900);
}

.ds-card p {
  font-size: 0.9375rem;
  color: var(--ds-gray-500);
  line-height: 1.6;
}

/* Pricing cards */
.ds-pricing {
  background: #fff;
  border: 1px solid var(--ds-gray-200);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ds-pricing:hover {
  border-color: var(--ds-accent);
  box-shadow: 0 12px 40px rgba(0,102,255,0.12);
  transform: translateY(-4px);
}

.ds-pricing-popular {
  border-color: var(--ds-accent);
  box-shadow: 0 4px 20px rgba(0,102,255,0.15);
  position: relative;
}

.ds-pricing h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.ds-pricing .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ds-gray-900);
  letter-spacing: -0.03em;
}

.ds-pricing .price-period {
  font-size: 0.875rem;
  color: var(--ds-gray-500);
  font-weight: 400;
}

.ds-pricing ul {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.ds-pricing li {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--ds-gray-700);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.ds-pricing li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230066ff'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") no-repeat center;
}

/* Partners/badges */
.ds-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 0;
  opacity: 0.5;
  filter: grayscale(1);
  transition: all 0.5s;
}

.ds-partners:hover {
  opacity: 1;
  filter: grayscale(0);
}

.ds-partners img {
  height: 40px;
  width: auto;
  transition: transform 0.3s;
}

.ds-partners img:hover {
  transform: scale(1.05);
}

/* Features list with icons */
.ds-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.ds-feature {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  transition: background 0.3s;
}

.ds-feature:hover {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.ds-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--ds-accent-light);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-accent);
}

.ds-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.ds-feature p {
  font-size: 0.875rem;
  color: var(--ds-gray-500);
}

/* Footer */
.ds-footer {
  background: var(--ds-gray-900);
  color: var(--ds-gray-300);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.ds-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.5) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.ds-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 90%, rgba(0,102,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(0,102,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.ds-footer .ds-container { position: relative; z-index: 1; }

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

.ds-footer-brand p {
  font-size: 0.875rem;
  margin-top: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 300px;
}

.ds-footer h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1rem;
}

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

.ds-footer li { margin-bottom: 0.5rem; }

.ds-footer a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

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

.ds-footer-anpc {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ds-footer-anpc img {
  opacity: 0.6;
  transition: opacity 0.3s;
}

.ds-footer-anpc img:hover {
  opacity: 1;
}

.ds-footer-bottom {
  padding-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
}

/* Spec table */
.ds-specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ds-specs th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--ds-gray-50);
  font-weight: 600;
  color: var(--ds-gray-700);
  border-bottom: 1px solid var(--ds-gray-200);
}

.ds-specs td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--ds-gray-100);
  color: var(--ds-gray-700);
}

.ds-specs tr:hover td { background: var(--ds-gray-50); }

/* Badge/tag */
.ds-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: var(--ds-accent-light);
  color: var(--ds-accent);
}

.ds-badge-green { background: #dcfce7; color: #166534; }
.ds-badge-blue { background: #dbeafe; color: #1e40af; }
.ds-badge-yellow { background: #fef9c3; color: #854d0e; }
.ds-badge-red { background: #fee2e2; color: #991b1b; }

/* CTA banner */
.ds-cta {
  background: linear-gradient(135deg, var(--ds-primary) 0%, #16213e 60%, #1e3a5f 100%);
  border-radius: 1.5rem;
  padding: 4rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}

.ds-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,102,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ds-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.ds-cta p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* Divider line */
.ds-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ds-gray-200), transparent);
  margin: 0;
}

/* DSIX section background */
.ds-section-ix {
  background: var(--ds-gray-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ds-section-ix::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0,102,255,0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(0,102,255,0.08) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(0,102,255,0.06) 0%, transparent 30%);
  pointer-events: none;
}

.ds-section-ix::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.ds-section-ix .ds-container { position: relative; z-index: 1; }

.ds-section-ix .ds-section-title { color: #fff; }
.ds-section-ix .ds-section-subtitle { color: rgba(255,255,255,0.65); }

/* Network nodes decoration */
.ds-ix-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ds-ix-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(0,102,255,0.4);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,102,255,0.3);
}

.ds-ix-node:nth-child(1) { top: 15%; left: 10%; }
.ds-ix-node:nth-child(2) { top: 25%; left: 85%; }
.ds-ix-node:nth-child(3) { top: 60%; left: 5%; }
.ds-ix-node:nth-child(4) { top: 70%; left: 90%; }
.ds-ix-node:nth-child(5) { top: 40%; left: 50%; width: 8px; height: 8px; background: rgba(0,102,255,0.6); }
.ds-ix-node:nth-child(6) { top: 80%; left: 30%; }
.ds-ix-node:nth-child(7) { top: 10%; left: 60%; }

.ds-ix-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,102,255,0.15), transparent);
  transform-origin: left center;
}

.ds-ix-line:nth-child(8) { top: 30%; left: 10%; width: 80%; transform: rotate(5deg); }
.ds-ix-line:nth-child(9) { top: 50%; left: 5%; width: 90%; transform: rotate(-3deg); }
.ds-ix-line:nth-child(10) { top: 70%; left: 15%; width: 70%; transform: rotate(2deg); }

/* Responsive */
@media (max-width: 1024px) {
  .ds-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ds-footer-grid { grid-template-columns: repeat(2, 1fr); }
  /* `overflow-x: hidden` here implicitly forces `overflow-y: auto`, which
     clips the absolutely-positioned `.ds-dropdown` below the nav bar — this
     is exactly the iPhone "Request Desktop Site" viewport range (980px),
     so taps would open the dropdown but it was being scissor-cut by the nav
     box. `overflow: clip` clips on the specified axis without forcing the
     other to auto. */
  .ds-nav { overflow-x: clip; overflow-y: visible; }
}

@media (max-width: 768px) {
  .ds-menu { display: none; }
  .ds-mobile-toggle { display: block; flex-shrink: 0; }

  /* Free up space for hamburger: hide header-level lang switcher and Client Area button.
     Both are re-exposed inside the open mobile menu via .ds-menu-mobile-only items. */
  .ds-nav-actions > .ds-lang,
  .ds-nav-actions > a.ds-btn { display: none; }

  .ds-menu.open .ds-menu-mobile-only { display: block; }

  .ds-menu.open .ds-mobile-cta {
    display: block;
    text-align: center;
    background: var(--ds-accent);
    color: #fff;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
    font-weight: 600;
    border-bottom: none;
    text-decoration: none;
  }
  .ds-menu.open .ds-mobile-cta:hover { background: var(--ds-accent-hover); }

  .ds-menu.open .ds-mobile-lang-li {
    border-bottom: none;
    padding: 0;
    margin-top: 1rem;
  }
  .ds-menu.open .ds-mobile-lang-li .ds-lang {
    display: flex;
    justify-content: center;
    background: rgba(255,255,255,0.08);
  }

  /* Mobile menu open */
  .ds-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ds-gray-900);
    padding: 1.5rem;
    overflow-y: auto;
    z-index: 300;
    gap: 0;
    animation: fadeIn 0.2s ease-out;
  }

  .ds-menu.open > li > a {
    padding: 0.875rem 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
  }

  .ds-menu.open > li > a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
  }

  /* Accordion: submenus collapsed by default on mobile, only the expanded parent shows its dropdown */
  .ds-menu.open .ds-dropdown { display: none; }

  .ds-menu.open > li.expanded > .ds-dropdown {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: auto;
    animation: none;
    background: transparent;
  }

  .ds-menu.open > li.expanded .ds-dropdown-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.25rem 0;
  }

  .ds-menu.open .ds-dropdown a {
    color: rgba(255,255,255,0.6);
  }

  .ds-menu.open .ds-dropdown a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
  }

  .ds-menu.open > li.expanded > a .ds-chevron {
    transform: rotate(180deg);
    opacity: 1;
  }

  .ds-grid-2,
  .ds-grid-3 { grid-template-columns: 1fr; }
  .ds-grid-4 { grid-template-columns: 1fr; }

  .ds-hero { padding: 3rem 0; }
  .ds-hero h1 { font-size: 2rem; }
  .ds-section { padding: 3rem 0; }
  .ds-cta { padding: 2.5rem 1.5rem; border-radius: 1rem; }
  .ds-features { grid-template-columns: 1fr; }
  .ds-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ds-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .ds-nav { height: 60px; }
  .ds-pricing { padding: 1.5rem; }
  .ds-logo-text { font-size: 1rem; }
}

/* Payment processor badges in footer (NETOPIA script-injected + static SVGs) */
.ds-payments { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; justify-content: center; margin-top: 1rem; }
.ds-payments > a,
.ds-payments > .ds-mny-badge { display: inline-flex; align-items: center; line-height: 0; opacity: 0.7; transition: opacity 0.3s; }
.ds-payments > a:hover,
.ds-payments > .ds-mny-badge:hover { opacity: 1; }
.ds-payments img { height: 22px; width: auto; display: block; }
/* Block-level row that holds only the NETOPIA badge — text-align centers regardless of when the JS injects content */
.ds-payments-netopia { text-align: center; margin-top: 1rem; line-height: 0; }
.ds-payments-netopia .ds-mny-badge { display: inline-block; line-height: 0; opacity: 0.7; transition: opacity 0.3s; }
.ds-payments-netopia .ds-mny-badge:hover { opacity: 1; }
.ds-payments-netopia .ds-mny-badge > div { display: inline-block !important; width: auto !important; height: auto !important; max-width: none !important; max-height: none !important; }
.ds-payments-netopia .ds-mny-badge img,
.ds-payments-netopia .ds-mny-badge a img { height: 22px !important; width: auto !important; display: block; }

/* Contact page — modernized "Get in Touch" bento section */
.ds-contact-bento { display: grid; grid-template-columns: 2fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.ds-contact-bento > .ds-contact-email { grid-column: 1 / -1; }
@media (max-width: 860px) { .ds-contact-bento { grid-template-columns: 1fr; } }

.ds-contact-card { position: relative; border-radius: 1.25rem; border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); padding: 1.75rem; overflow: hidden; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.ds-contact-card:hover { transform: translateY(-2px); border-color: rgba(96,165,250,0.35); box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(96,165,250,0.1); }
.ds-contact-card h3 { color: #fff; font-size: 1.125rem; margin: 0 0 0.5rem; font-weight: 700; }
.ds-contact-card p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; line-height: 1.55; margin: 0 0 1rem; }

.ds-contact-icon { width: 3rem; height: 3rem; border-radius: 0.875rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.08); }
.ds-contact-icon svg { width: 1.5rem; height: 1.5rem; }

.ds-contact-phone { background: linear-gradient(135deg, rgba(34,197,94,0.09), rgba(16,185,129,0.02) 55%, rgba(15,23,42,0)); border-color: rgba(34,197,94,0.22); }
.ds-contact-phone:hover { border-color: rgba(52,211,153,0.45); box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(52,211,153,0.18); }
.ds-contact-phone .ds-contact-icon { background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(16,185,129,0.08)); color: #34d399; }

.ds-contact-status { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: #86efac; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.075em; text-transform: uppercase; margin-bottom: 1rem; }
.ds-pulse-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #34d399; position: relative; flex-shrink: 0; }
.ds-pulse-dot::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #34d399; animation: ds-pulse 1.8s ease-out infinite; }
@keyframes ds-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3); opacity: 0; } }

.ds-contact-phone-number { display: inline-block; font-size: 1.75rem; font-weight: 800; color: #fff; text-decoration: none; margin: 0.25rem 0 0.5rem; letter-spacing: -0.02em; transition: color 0.2s; font-feature-settings: "tnum"; }
.ds-contact-phone-number:hover { color: #34d399; }

.ds-contact-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.ds-contact-actions .ds-btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.625rem 1.1rem; font-size: 0.875rem; font-weight: 600; border-radius: 0.625rem; }
.ds-contact-actions .ds-btn-ghost { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.16); color: #fff; }
.ds-contact-actions .ds-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }

.ds-contact-client { background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(168,85,247,0.02) 55%, rgba(15,23,42,0)); border-color: rgba(139,92,246,0.2); display: flex; flex-direction: column; }
.ds-contact-client:hover { border-color: rgba(167,139,250,0.4); box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(167,139,250,0.15); }
.ds-contact-client .ds-contact-icon { background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(168,85,247,0.08)); color: #a78bfa; }
.ds-contact-client .ds-btn { margin-top: auto; align-self: flex-start; padding: 0.625rem 1.1rem; font-size: 0.875rem; font-weight: 600; border-radius: 0.625rem; }

.ds-contact-email { background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(99,102,241,0.02) 55%, rgba(15,23,42,0)); border-color: rgba(59,130,246,0.16); }
.ds-contact-email:hover { border-color: rgba(96,165,250,0.4); }
.ds-contact-email .ds-contact-icon { background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(99,102,241,0.08)); color: #60a5fa; }
.ds-contact-email-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.ds-contact-email-header .ds-contact-icon { margin-bottom: 0; flex-shrink: 0; }
.ds-contact-email-header h3 { margin: 0 0 0.25rem; }
.ds-contact-email-header p { margin: 0; }
.ds-contact-email-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (max-width: 720px) { .ds-contact-email-grid { grid-template-columns: 1fr; } }
.ds-contact-email-item { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 1.1rem; border-radius: 0.875rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); text-decoration: none; transition: all 0.2s; }
.ds-contact-email-item:hover { background: rgba(96,165,250,0.08); border-color: rgba(96,165,250,0.3); transform: translateY(-1px); }
.ds-contact-email-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.075em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.ds-contact-email-addr { font-size: 0.9375rem; font-weight: 700; color: #60a5fa; word-break: break-word; }
.ds-contact-email-desc { font-size: 0.8125rem; color: rgba(255,255,255,0.55); line-height: 1.45; }

/* Contact page — modernized "Company Details" section */
.ds-company-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.25rem; max-width: 1000px; margin: 2.5rem auto 0; }
@media (max-width: 860px) { .ds-company-grid { grid-template-columns: 1fr; } }

.ds-company-card { position: relative; background: #0f172a; border: 1px solid #1e293b; border-radius: 1rem; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.15); transition: border-color 0.3s, box-shadow 0.3s; }
.ds-company-card:hover { border-color: #0066ff; box-shadow: 0 8px 30px rgba(0,102,255,0.15); }

.ds-company-header { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1.5rem; padding-bottom: 1.125rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ds-company-header-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,102,255,0.1); border: 1px solid rgba(0,102,255,0.2); color: #60a5fa; flex-shrink: 0; }
.ds-company-header-icon svg { width: 1.375rem; height: 1.375rem; }
.ds-company-header h3 { margin: 0; color: #fff; font-size: 1.0625rem; font-weight: 700; }
.ds-company-header-sub { font-size: 0.8125rem; color: rgba(255,255,255,0.5); margin: 0.125rem 0 0; }

.ds-company-name { display: block; font-size: 1.375rem; font-weight: 800; color: #fff; margin: 0 0 1.25rem; letter-spacing: -0.01em; }

.ds-company-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; }
@media (max-width: 540px) { .ds-company-fields { grid-template-columns: 1fr; } }
.ds-company-field { padding: 0.75rem 0.875rem; border-radius: 0.75rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); transition: background 0.2s, border-color 0.2s; }
.ds-company-field:hover { background: rgba(96,165,250,0.08); border-color: rgba(96,165,250,0.3); }
.ds-company-field-wide { grid-column: 1 / -1; }
.ds-company-field-label { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.3rem; }
.ds-company-field-value { display: block; font-family: ui-monospace, 'SF Mono', 'Menlo', 'Monaco', monospace; font-size: 0.9375rem; color: #60a5fa; font-weight: 600; letter-spacing: 0.025em; word-break: break-all; }

.ds-company-address { color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.65; font-weight: 500; padding: 1rem 1.125rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 0.75rem; margin: 0; }
.ds-company-address strong { color: #fff; font-weight: 700; display: block; margin-bottom: 0.35rem; font-size: 1.0625rem; }
