:root {
  --hostiny-card-gap: clamp(16px, 2vw, 28px);
  --hostiny-panel-radius: clamp(18px, 2vw, 28px);
}

.site-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(94, 163, 255, 0.16), rgba(68, 215, 182, 0.12));
  box-shadow: 0 14px 30px rgba(2, 8, 23, 0.2);
}

.brand-logo-shell {
  width: 48px;
  height: 48px;
}

.footer-logo-shell {
  width: 56px;
  height: 56px;
}

.site-logo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  display: block;
}

.brand {
  gap: 14px;
  max-width: min(100%, 420px);
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-copy strong,
.brand-copy small {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy strong {
  white-space: nowrap;
}

.brand-copy small {
  display: block;
  white-space: nowrap;
  line-height: 1.45;
}

.footer-branding {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.footer-brand-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.footer-brand-copy h3,
.footer-brand-copy p {
  margin: 0;
}

.page-hero,
.home-hero,
.site-footer {
  overflow: clip;
}

.home-hero-shell,
.product-hero-grid,
.detail-overview-grid,
.contact-main-grid,
.two-col {
  gap: clamp(20px, 3vw, 34px);
}

.home-proof-grid,
.plans-grid,
.cards-grid,
.pricing-grid,
.feature-grid,
.hero-value-strip,
.use-cases-grid,
.launch-steps,
.contact-support-grid,
.location-grid,
.footer-grid,
.split-grid {
  gap: var(--hostiny-card-gap);
}

.featured-home-plans,
.pricing-grid,
.cards-grid,
.contact-support-grid,
.footer-grid {
  align-items: stretch;
}

.featured-home-plans {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
}

.contact-support-grid,
.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}

.pricing-card,
.plan-card,
.feature-card,
.testimonial,
.domain-card,
.contact-support-card,
.panel,
.side-card,
.form-card,
.home-proof-card,
.hero-value-card,
.launch-step-card,
.enhanced-use-case-card,
.contact-overview-note {
  border-radius: var(--hostiny-panel-radius);
}

.pricing-card,
.plan-card,
.feature-card,
.testimonial,
.domain-card,
.contact-support-card,
.panel,
.side-card,
.form-card {
  min-width: 0;
}

.pricing-card {
  gap: 20px;
  padding: clamp(20px, 2.4vw, 28px);
}

.pricing-card-head,
.pricing-card-head p,
.comparison-note p,
.contact-support-card p,
.plan-card p,
.feature-card p,
.testimonial p {
  margin: 0;
}

.resource-grid {
  gap: 14px;
}

.card-cta {
  gap: 12px;
}

.card-cta > .btn,
.card-cta form {
  min-width: 0;
}

.comparison-note {
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 24px;
}

.hero-logo-stage {
  min-height: clamp(460px, 42vw, 560px);
  padding: clamp(28px, 3vw, 42px);
}

.hero-logo-core {
  inset-inline-start: clamp(84px, 17%, 134px);
  inset-block-start: clamp(76px, 18%, 110px);
  width: clamp(176px, 20vw, 240px);
  height: clamp(176px, 20vw, 240px);
}

.card-primary {
  inset-inline-end: clamp(18px, 4%, 28px);
}

.card-secondary {
  inset-inline-start: clamp(18px, 4%, 34px);
}

.hero-curved-panel {
  width: min(100%, 340px);
  inset-inline-end: clamp(18px, 4%, 28px);
  inset-block-end: clamp(18px, 4%, 32px);
}

.contact-list {
  gap: 10px;
}

@media (max-width: 1280px) {
  .brand {
    max-width: min(100%, 300px);
  }

  .brand-copy small {
    display: none;
  }
}

@media (max-width: 980px) {
  .brand {
    max-width: calc(100% - 76px);
    padding: 8px 10px;
  }

  .brand-copy {
    display: grid;
  }

  .brand-copy small {
    display: none;
  }

  .brand-logo-shell {
    width: 44px;
    height: 44px;
  }

  .home-hero-shell {
    max-width: none;
  }

  .hero-logo-stage {
    min-height: auto;
    border-radius: 32px;
  }
}

@media (max-width: 720px) {
  .featured-home-plans,
  .pricing-grid,
  .cards-grid,
  .contact-support-grid,
  .footer-grid,
  .home-proof-grid,
  .feature-grid,
  .hero-value-strip,
  .use-cases-grid,
  .launch-steps {
    grid-template-columns: 1fr;
  }

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

  .card-cta,
  .comparison-note,
  .cta-actions,
  .section-actions,
  .support-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .card-cta > *,
  .comparison-note .btn,
  .cta-actions .btn,
  .section-actions .btn,
  .support-card-actions .btn {
    width: 100%;
  }

  .footer-branding {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand-copy,
  .footer-card {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .brand {
    max-width: calc(100% - 68px);
    gap: 10px;
  }

  .brand-logo-shell {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .brand-copy strong {
    max-width: 12ch;
    font-size: 0.95rem;
  }

  .hero-logo-stage {
    padding: 20px 16px;
  }

  .hero-floating-card,
  .hero-curved-panel {
    width: 100%;
  }

  .home-link-row {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 420px) {
  .brand {
    max-width: calc(100% - 62px);
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }
}

/* Final responsive polish */
.container {
  width: min(var(--container), calc(100% - clamp(24px, 4vw, 56px)));
}

.section {
  padding-block: clamp(28px, 4vw, 56px);
}

.page-hero {
  padding: clamp(28px, 4vw, 56px) 0 18px;
}

.page-hero .container {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 30px);
  border-radius: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(94, 163, 255, 0.18), transparent 34%),
    linear-gradient(160deg, rgba(18, 30, 54, 0.96), rgba(10, 18, 34, 0.9));
  box-shadow: 0 26px 56px rgba(2, 8, 23, 0.2);
}

.page-hero h1,
.page-hero p {
  margin: 0;
  max-width: min(100%, 840px);
}

.page-hero .inline-actions {
  margin-top: 8px;
}

.breadcrumbs {
  margin-bottom: 2px;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
}

.breadcrumbs::-webkit-scrollbar,
.home-link-row::-webkit-scrollbar,
.segment-control::-webkit-scrollbar,
.sidebar-links::-webkit-scrollbar {
  height: 6px;
}

.breadcrumbs::-webkit-scrollbar-thumb,
.home-link-row::-webkit-scrollbar-thumb,
.segment-control::-webkit-scrollbar-thumb,
.sidebar-links::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.hero-card,
.panel,
.dashboard-card,
.form-card,
.list-card,
.side-card,
.payment-card,
.ticket-message {
  padding: clamp(20px, 2.5vw, 30px);
}

.plan-card,
.feature-card,
.testimonial,
.domain-card,
.stat-card,
.empty-state {
  padding: clamp(18px, 2.2vw, 26px);
}

.dashboard-head,
.card-head,
.list-head,
.pricing-toolbar,
.footer-bottom-row {
  gap: clamp(12px, 2vw, 20px);
  flex-wrap: wrap;
}

.dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-hero-actions .btn {
  flex: 1 1 220px;
}

.stack {
  gap: clamp(18px, 2vw, 24px);
}

.order-items,
.message-thread,
.plans-grid,
.pricing-grid,
.cards-grid,
.contact-support-grid,
.dashboard-grid,
.two-col,
.product-hero-grid {
  gap: clamp(18px, 2.4vw, 30px);
}

.dashboard-grid {
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  align-items: start;
}

.dashboard-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
}

.dashboard-quick-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--hostiny-card-gap);
}

.dashboard-meta-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
}

.purchase-highlights {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(108px, 100%), 1fr));
}

.hero-value-strip {
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
}

.launch-steps {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.use-cases-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.location-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}

.dashboard-summary-card,
.dashboard-quick-card,
.dashboard-rich-item,
.dashboard-note-card,
.dashboard-highlight-panel,
.hero-value-card,
.launch-step-card,
.use-case-card,
.detail-feature-card,
.purchase-highlight {
  display: grid;
  gap: 12px;
}

.dashboard-summary-card,
.dashboard-quick-card,
.dashboard-note-card,
.dashboard-highlight-panel,
.dashboard-rich-item,
.order-item,
.ticket-row,
.transaction-row,
.faq-item {
  box-shadow: 0 16px 34px rgba(2, 8, 23, 0.14);
}

.sidebar,
.purchase-panel {
  top: 108px;
}

.sidebar-links {
  grid-template-columns: 1fr;
  gap: 10px;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 48px;
  white-space: nowrap;
}

.detail-list li {
  align-items: flex-start;
  gap: 18px;
}

.detail-list span {
  text-align: left;
}

.pricing-toolbar {
  align-items: center;
}

.segment-control {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.products-page .segment-control {
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
}

.segment-chip {
  flex: 0 0 auto;
}

.billing-switch {
  width: fit-content;
  flex-wrap: nowrap;
}

.billing-switch-option {
  min-width: 110px;
}

.comparison-note,
.contact-overview-note,
.dashboard-highlight-panel {
  background:
    linear-gradient(145deg, rgba(94, 163, 255, 0.08), rgba(68, 215, 182, 0.05)),
    rgba(255, 255, 255, 0.03);
}

.table-wrap,
.dashboard-table-wrap {
  padding: 12px;
}

.responsive-table {
  min-width: 720px;
}

.faq-item {
  border-radius: 22px;
  overflow: hidden;
}

.faq-question {
  min-height: 64px;
  padding: 18px 20px;
  gap: 16px;
  align-items: flex-start;
}

.faq-question span:first-child {
  flex: 1;
}

.faq-answer {
  padding: 0 20px 20px;
  line-height: 1.85;
}

.hero-logo-core {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-core img {
  aspect-ratio: 1;
}

.hero-floating-card {
  max-width: min(100%, 220px);
}

.modern-auth-card {
  max-width: min(100%, 680px) !important;
  padding: clamp(20px, 3vw, 38px) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(14, 25, 46, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 28px 70px rgba(2, 8, 23, 0.24) !important;
  color: var(--text) !important;
}

.modern-auth-card .section-head h2,
.modern-auth-card .field-label,
.modern-auth-card .tab-label,
.modern-auth-card .link-primary {
  color: var(--text) !important;
}

.modern-auth-card .subtitle,
.modern-auth-card .field-hint,
.modern-auth-card .auth-switch-note {
  color: var(--muted) !important;
}

.modern-auth-card .label-icon,
.modern-auth-card .tab-icon {
  color: var(--accent) !important;
}

.modern-auth-card .tab-content {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.modern-auth-card .auth-tab:hover .tab-content {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(94, 163, 255, 0.34) !important;
  box-shadow: 0 12px 24px rgba(2, 8, 23, 0.18) !important;
}

.modern-auth-card .auth-tab input:checked + .tab-content {
  background:
    linear-gradient(145deg, rgba(94, 163, 255, 0.16), rgba(68, 215, 182, 0.12)) !important;
  border-color: rgba(68, 215, 182, 0.3) !important;
}

.modern-auth-card .input-wrapper {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
}

.modern-auth-card .input-wrapper input {
  background: transparent !important;
  color: var(--text) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.modern-auth-card .input-wrapper input::placeholder {
  color: rgba(228, 238, 255, 0.55) !important;
}

.modern-auth-card .input-prefix,
.modern-auth-card .toggle-password {
  color: var(--muted) !important;
  background: transparent !important;
}

.modern-auth-card .toggle-password:hover {
  color: var(--text) !important;
}

.modern-auth-card .auth-footer {
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.profile-form-card .field-hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.profile-form-card .phone-input {
  font-family: monospace;
  direction: ltr;
  text-align: left;
}

@media (min-width: 721px) {
  .breadcrumbs {
    flex-wrap: wrap;
    overflow: visible;
  }
}

@media (max-width: 1160px) {
  .dashboard-grid,
  .product-hero-grid,
  .two-col,
  .contact-main-grid,
  .detail-overview-grid {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .purchase-panel {
    position: static;
    top: auto;
  }
}

@media (max-width: 980px) {
  .page-hero .container {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-floating-card,
  .hero-curved-panel {
    max-width: none;
  }

  .sidebar-links {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .sidebar-links a {
    flex: 0 0 auto;
  }
}

@media (max-width: 720px) {
  .page-hero .container,
  .hero-card,
  .panel,
  .dashboard-card,
  .form-card,
  .list-card,
  .side-card,
  .payment-card,
  .ticket-message,
  .pricing-card,
  .plan-card,
  .feature-card,
  .testimonial,
  .domain-card,
  .stat-card,
  .empty-state {
    padding: 18px;
  }

  .faq-question {
    padding: 16px;
    min-height: 56px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }

  .detail-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-list span {
    width: 100%;
    text-align: right;
  }

  .dashboard-head > .btn,
  .dashboard-head > a:last-child,
  .dashboard-balance-chip,
  .dashboard-hero-actions {
    width: 100%;
  }

  .table-wrap,
  .dashboard-table-wrap {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .responsive-table {
    min-width: 0;
  }

  .billing-switch {
    width: 100%;
  }

  .billing-switch-option {
    flex: 1 1 0;
    min-width: 0;
  }

  .modern-auth-card .auth-tabs,
  .modern-auth-card .field-row {
    grid-template-columns: 1fr !important;
  }

  .modern-auth-card .tab-content {
    padding: 1rem !important;
  }
}

@media (max-width: 560px) {
  .page-hero .container,
  .hero-card,
  .panel,
  .dashboard-card,
  .form-card,
  .list-card,
  .side-card,
  .payment-card,
  .ticket-message,
  .pricing-card,
  .plan-card,
  .feature-card,
  .testimonial,
  .domain-card,
  .stat-card,
  .empty-state {
    padding: 16px;
    border-radius: 18px;
  }

  .dashboard-meta-grid > div,
  .resource-item,
  .detail-stat,
  .purchase-highlight,
  .hero-value-card {
    padding: 12px;
  }

  .launch-step-card {
    padding: 16px;
    padding-inline-start: 62px;
  }

  .launch-step-number {
    inset-inline-start: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
  }
}
