/* ========================================
   HostPK - Main Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg-primary: #020d0f;
  --bg-secondary: #041820;
  --bg-card: #062428;
  --bg-card-hover: #082e34;
  --accent: #0891b2;
  --accent-hover: #0e7490;
  --accent-light: #22d3ee;
  --accent-glow: rgba(8, 145, 178, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #073035;
  --border-light: #0a3d45;
  --success: #10b981;
  --warning: #f59e0b;
  --orange: #f97316;
  --green: #22d3ee;
  --topbar-bg: #020d0f;
  --navbar-bg: rgba(2, 13, 15, 0.97);
  --gradient-btn: linear-gradient(135deg, #0891b2, #0e7490);
  --gradient-hero: linear-gradient(135deg, #020d0f 0%, #041820 50%, #062428 100%);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(8, 145, 178, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  animation: fadeIn 0.5s ease forwards;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== TOP BAR ========== */
.topbar {
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar a:hover { color: var(--accent-light); }

.topbar-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.live-chat-btn {
  background: var(--accent);
  color: #fff !important;
  padding: 3px 12px 3px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-chat-btn::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22d3ee;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: livepulse 1.8s ease-in-out infinite;
}

@keyframes livepulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70%  { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.live-chat-btn:hover { background: var(--accent-hover) !important; }

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 13, 31, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}

/* ---- Logo Icon Mark ---- */
.nav-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(145deg, #042f38 0%, #0891b2 45%, #22d3ee 100%);
  box-shadow:
    0 0 0 1px rgba(56,189,248,0.35),
    0 4px 20px rgba(37,99,235,0.5),
    inset 0 1px 0 rgba(255,255,255,0.2);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.nav-logo:hover .nav-logo-icon {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(56,189,248,0.55),
    0 10px 28px rgba(37,99,235,0.6),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

/* sheen sweep */
.nav-logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 55%;
  height: 200%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-15deg);
}

/* bottom glow */
.nav-logo-icon::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 10px;
  background: rgba(56,189,248,0.5);
  border-radius: 50%;
  filter: blur(7px);
}

.nav-logo-icon svg {
  width: 23px;
  height: 23px;
  fill: #fff;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.35));
}

/* ---- Logo Text ---- */
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.nav-logo-main {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 0px;
}

/* "4x" — vivid cyan-to-blue gradient */
.nav-logo-main .logo-nice {
  background: linear-gradient(135deg, #22d3ee 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
}

/* "Hostings" — clean white, slightly lighter weight */
.nav-logo-main .logo-word {
  color: #ffffff;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.3px;
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(148,163,184,0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-links li:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 8px;
  padding-top: 16px;
  min-width: 200px;
  z-index: 100;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  z-index: -1;
}

.nav-links li:hover .dropdown-menu {
  display: block;
  animation: dropDown 0.2s ease;
}

@keyframes dropDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
}

.dropdown-menu a:hover {
  color: var(--text-primary);
  background: rgba(8, 145, 178, 0.1);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  background: rgba(8, 145, 178, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-login {
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--accent);
  background: rgba(8, 145, 178, 0.08);
  transition: all 0.2s;
}

.btn-login:hover {
  color: #fff;
  border-color: var(--accent-light);
  background: rgba(22, 163, 74, 0.2);
}

.btn-signup {
  background: var(--gradient-btn);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.btn-signup:hover {
  background: linear-gradient(135deg, #0e7490, #166534);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  background: var(--bg-primary);
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Dark base */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(22, 163, 74, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(22, 163, 74, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(22, 163, 74, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Grid lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 163, 74, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 163, 74, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

/* ---- Hero Background Icons ---- */
.hero-bg-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-icon {
  position: absolute;
  color: rgba(34, 197, 94, 0.55);
  filter: drop-shadow(0 0 10px rgba(22, 163, 74, 0.4));
}

/* Server rack - left */
.icon-rack-left {
  width: 100px;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
  animation: floatY 7s ease-in-out infinite;
  color: rgba(34, 197, 94, 0.6);
  filter: drop-shadow(0 0 14px rgba(22, 163, 74, 0.55));
}

/* Server rack - right */
.icon-rack-right {
  width: 100px;
  right: 4%;
  top: 45%;
  transform: translateY(-50%);
  animation: floatY 8s ease-in-out infinite reverse;
  color: rgba(34, 197, 94, 0.6);
  filter: drop-shadow(0 0 14px rgba(22, 163, 74, 0.55));
}

/* Shield - top left */
.icon-shield {
  width: 60px;
  left: 12%;
  top: 12%;
  animation: floatY 6s ease-in-out infinite;
  color: rgba(74, 222, 128, 0.55);
  filter: drop-shadow(0 0 12px rgba(22, 163, 74, 0.5));
}

/* Globe - bottom right */
.icon-globe {
  width: 70px;
  right: 12%;
  bottom: 10%;
  animation: floatY 9s ease-in-out infinite;
  color: rgba(34, 197, 94, 0.55);
  filter: drop-shadow(0 0 12px rgba(22, 163, 74, 0.5));
}

/* CPU - top right */
.icon-cpu {
  width: 64px;
  right: 18%;
  top: 10%;
  animation: floatY 7.5s ease-in-out infinite reverse;
  color: rgba(74, 222, 128, 0.55);
  filter: drop-shadow(0 0 12px rgba(22, 163, 74, 0.5));
}

/* Database - bottom left */
.icon-database {
  width: 56px;
  left: 18%;
  bottom: 10%;
  animation: floatY 8.5s ease-in-out infinite;
  color: rgba(34, 197, 94, 0.6);
  filter: drop-shadow(0 0 12px rgba(22, 163, 74, 0.5));
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* Fix for rack icons since they have their own transform */
.icon-rack-left  { animation: floatYCentered 7s ease-in-out infinite; }
.icon-rack-right { animation: floatYCentered 8s ease-in-out infinite reverse; }

@keyframes floatYCentered {
  0%, 100% { top: 50%; margin-top: 0px; }
  50%       { top: 50%; margin-top: -14px; }
}

/* Responsive hero background icons */
@media (max-width: 900px) {
  .icon-rack-left  { width: 70px; left: 1%; }
  .icon-rack-right { width: 70px; right: 1%; }
  .icon-shield     { width: 44px; left: 6%; top: 8%; }
  .icon-globe      { width: 50px; right: 6%; bottom: 6%; }
  .icon-cpu        { width: 46px; right: 10%; top: 7%; }
  .icon-database   { width: 40px; left: 10%; bottom: 6%; }
}
@media (max-width: 600px) {
  .icon-rack-left  { width: 52px; left: 0%; opacity: 0.55; }
  .icon-rack-right { width: 52px; right: 0%; opacity: 0.55; }
  .icon-shield     { width: 32px; left: 3%; top: 5%; opacity: 0.5; }
  .icon-globe      { width: 36px; right: 3%; bottom: 4%; opacity: 0.5; }
  .icon-cpu        { width: 30px; right: 8%; top: 4%; opacity: 0.45; }
  .icon-database   { width: 28px; left: 8%; bottom: 4%; opacity: 0.45; }
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(8, 145, 178, 0.3);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}

.domain-search-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  max-width: 700px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-card);
}

.domain-search-row {
  display: flex;
  gap: 8px;
}

.domain-search-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 16px;
}

.domain-search-row input::placeholder { color: var(--text-muted); }

.btn-search {
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-search:hover {
  background: linear-gradient(135deg, #0e7490, #166534);
  transform: translateY(-1px);
}

.ext-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  padding: 4px 6px;
}

.ext-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
}

.ext-btn:hover {
  background: rgba(8, 145, 178, 0.15);
  border-color: var(--accent);
  color: var(--accent-light);
}

/* ========== DOMAIN PRICING STRIP ========== */
.domain-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
}

.domain-strip-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.domain-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 28px;
  border-right: 1px solid var(--border);
}

.domain-strip-item:last-child { border-right: none; }

.domain-strip-ext {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.domain-strip-price {
  font-size: 14px;
  color: var(--accent-light);
  font-weight: 500;
}

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

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  background: rgba(8, 145, 178, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: var(--accent-light);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.section-title span { color: var(--accent); }

.section-sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ========== PLAN CARDS ========== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.plan-card.popular {
  border-color: var(--accent);
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(22, 163, 74, 0.25);
}

.plan-card.popular:hover {
  transform: scale(1.04) translateY(-8px);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-popular { background: var(--green); color: #fff; }
.badge-value { background: var(--orange); color: #fff; }
.badge-new { background: var(--accent); color: #fff; }

.plan-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.plan-price {
  margin-bottom: 24px;
}

.plan-price .amount {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
}

.plan-price .currency {
  font-size: 18px;
  font-weight: 600;
  vertical-align: super;
  color: var(--text-secondary);
}

.plan-price .period {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 2px;
}

.plan-features {
  margin-bottom: 26px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.plan-features li:last-child { border-bottom: none; }

.feature-check {
  width: 18px;
  height: 18px;
  background: rgba(8, 145, 178, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-check svg {
  width: 10px;
  height: 10px;
  fill: var(--accent-light);
}

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--gradient-btn);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-plan:hover {
  background: linear-gradient(135deg, #0e7490, #166534);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.btn-plan-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent-light);
}

.btn-plan-outline:hover {
  background: var(--gradient-btn);
  color: #fff;
}

/* ========== FEATURES ICONS SECTION ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(22, 163, 74, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--accent-light);
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== WHY CHOOSE US ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 50%, #22d3ee 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: var(--transition);
  margin: 0 8px;
}

.btn-white:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 34px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition);
  margin: 0 8px;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ========== CLIENTS SECTION ========== */
.clients-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 36px;
  font-family: var(--font-heading);
}

.clients-marquee-wrap {
  position: relative;
  overflow: hidden;
}

.clients-marquee-wrap::before,
.clients-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.clients-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.clients-marquee {
  display: flex;
  gap: 20px;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.clients-marquee:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 22px;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.client-logo:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37,99,235,0.15);
}

.client-logo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.client-logo-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.client-logo:hover .client-logo-name {
  color: var(--text-primary);
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 auto;
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  background: var(--bg-card);
  transition: var(--transition);
}

.stat-item:hover { background: var(--bg-card-hover); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========== PAGE HERO ========== */
.page-hero {
  background: var(--gradient-hero);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero h1 span { color: var(--accent); }

.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 30px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--accent-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }

/* ========== COMPARISON TABLE ========== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

thead th {
  background: var(--bg-card);
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

thead th:first-child { padding-left: 24px; }

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

tbody tr:last-child { border-bottom: none; }

tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
tbody tr:hover { background: rgba(22, 163, 74, 0.06); }

tbody td {
  padding: 14px 20px;
  color: var(--text-secondary);
}

tbody td:first-child {
  padding-left: 24px;
  color: var(--text-primary);
  font-weight: 500;
}

.td-check svg {
  width: 18px;
  height: 18px;
  fill: var(--success);
}

.td-cross svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
}

.td-highlight {
  color: var(--accent-light) !important;
  font-weight: 600;
}

/* ========== VPS/DEDICATED PLANS ========== */
.vps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.vps-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vps-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-light);
}

.vps-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(22, 163, 74, 0.2);
}

.vps-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.spec-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.spec-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== OS SECTION ========== */
.os-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.os-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}

.os-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.os-logo {
  font-size: 36px;
  margin-bottom: 10px;
}

.os-item h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
}

.os-item p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========== DOMAIN SEARCH HERO ========== */
.domain-search-hero {
  background: var(--gradient-hero);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.domain-search-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  margin-bottom: 16px;
}

.domain-search-hero h1 span { color: var(--accent); }

.domain-search-hero p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 36px;
}

.domain-search-large {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-card);
}

.domain-search-large form {
  display: flex;
  gap: 8px;
}

.domain-search-large input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 16px;
  font-family: var(--font-body);
  padding: 12px 16px;
}

.domain-search-large input::placeholder { color: var(--text-muted); }

/* ========== DOMAIN PRICING TABLE ========== */
.domain-table thead th {
  text-align: center;
}

.domain-table thead th:first-child { text-align: left; }

.domain-table tbody td {
  text-align: center;
}

.domain-table tbody td:first-child { text-align: left; }

.domain-ext {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-light) !important;
  font-size: 16px !important;
}

/* ========== DOMAIN FEATURES ========== */
.domain-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.domain-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
}

.domain-feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.domain-feature-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin: 14px 0 8px;
}

.domain-feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== ABOUT PAGE ========== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-story-text h2 span { color: var(--accent); }

.about-story-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-story-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-stat {
  text-align: center;
  padding: 20px;
  background: rgba(22, 163, 74, 0.06);
  border-radius: var(--radius);
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}

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

/* ========== TEAM ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== VALUES GRID ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ========== CONTACT PAGE ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(22, 163, 74, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-light);
}

.contact-card-body h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-card-body p, .contact-card-body a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-card-body a:hover { color: var(--accent-light); }

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.contact-form-box h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(22, 163, 74, 0.06);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select option { background: var(--bg-card); }

.btn-submit {
  width: 100%;
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #0e7490, #166534);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.map-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
}

.live-chat-widget {
  background: linear-gradient(135deg, var(--accent), #0e7490);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  margin-top: 16px;
}

.live-chat-widget h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.live-chat-widget p {
  font-size: 13.5px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.btn-live-chat {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}

.btn-live-chat:hover {
  background: #f0f4ff;
  transform: scale(1.04);
}

/* ========== PAYMENT OPTIONS ========== */
.payment-options-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
}
.payment-options-box h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.payment-options-box > p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.payment-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.payment-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.payment-icon-card svg {
  width: 100%;
  max-width: 80px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.payment-icon-card span {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}
.payment-secure-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  color: #22d3ee;
  margin: 0;
}

/* ========== LIVE CHAT POPUP ========== */
.chat-popup {
  position: fixed;
  top: 110px;
  right: 24px;
  width: 340px;
  max-height: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.chat-popup.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-popup-header {
  background: linear-gradient(135deg, #042f38, #0891b2);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-popup-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-popup-avatar svg { width: 20px; height: 20px; fill: #fff; }

.chat-popup-info { flex: 1; }
.chat-popup-info strong { display: block; color: #fff; font-size: 14px; font-weight: 700; }
.chat-popup-info span { font-size: 12px; color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 5px; }
.chat-popup-info span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  display: inline-block;
}

.chat-popup-close,
.chat-min-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  pointer-events: auto;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}
.chat-popup-close:hover,
.chat-min-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }

.chat-popup.minimized .chat-popup-messages,
.chat-popup.minimized .chat-popup-input { display: none; }
.chat-popup.minimized { max-height: none; }

.chat-popup-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  max-height: 320px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-msg.agent { align-self: flex-start; }
.chat-msg.user  { align-self: flex-end; flex-direction: row-reverse; }

.chat-msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg,#042f38,#0891b2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-msg-avatar svg { width: 14px; height: 14px; fill: #fff; }

.chat-msg-bubble {
  max-width: 220px;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
}

.chat-msg.agent .chat-msg-bubble {
  background: var(--bg-secondary, #1e2a3a);
  color: var(--text-secondary);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-msg-bubble {
  background: linear-gradient(135deg, #0891b2, #0e7490);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
  text-align: right;
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 13px;
  background: var(--bg-secondary, #1e2a3a);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: chatdot 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatdot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-popup-input {
  padding: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-popup-input input {
  flex: 1;
  background: var(--bg-secondary, #1e2a3a);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 9px 14px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.chat-popup-input input:focus { border-color: var(--accent); }
.chat-popup-input input::placeholder { color: var(--text-muted); }

.chat-send-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0891b2, #0e7490);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s, opacity 0.15s;
}
.chat-send-btn:hover { transform: scale(1.08); }
.chat-send-btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.chat-send-btn svg { width: 16px; height: 16px; fill: #fff; }

@media (max-width: 400px) {
  .chat-popup { width: calc(100vw - 24px); right: 12px; top: 100px; }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--topbar-bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 14px;
  display: inline-flex;
}

.footer-brand .nav-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(56,189,248,0.2),
    0 3px 12px rgba(37,99,235,0.3),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.footer-brand .nav-logo-icon svg {
  width: 20px;
  height: 20px;
}

.footer-brand .nav-logo-main {
  font-size: 18px;
}

.footer-brand .nav-logo-main .logo-nice {
  font-size: 20px;
}

.footer-brand .nav-logo-main .logo-word {
  font-size: 17px;
}

.footer-brand .nav-logo-sub {
  font-size: 8px;
  letter-spacing: 1.8px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.social-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary);
  transition: var(--transition);
}

.social-btn:hover svg { fill: #fff; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a:hover { color: var(--accent-light); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-bottom a { color: var(--accent-light); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links a:hover { color: var(--accent-light); }

.footer-payment {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.footer-payment-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.footer-payment-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pay-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 10px;
  color: var(--text-secondary);
}
.pay-badge span {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1;
}

/* ========== MOBILE NAV ========== */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 16px;
  gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: block;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.mobile-nav-actions {
  display: flex;
  gap: 10px;
  padding: 8px 0 4px;
}

.mobile-nav-actions a {
  flex: 1;
  text-align: center;
  font-size: 14px;
}

/* ========== PAGE LOADER ========== */
.page-fade {
  animation: fadeIn 0.4s ease forwards;
}

/* ========== UTILITIES ========== */
.text-accent { color: var(--accent-light); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 70px 0 60px; }
  .domain-search-row { flex-direction: column; }
  .btn-search { width: 100%; }

  .domain-strip-inner { flex-direction: column; align-items: stretch; }
  .domain-strip-item { border-right: none; border-bottom: 1px solid var(--border); }
  .domain-strip-item:last-child { border-bottom: none; }

  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.popular { transform: none; }
  .plan-card.popular:hover { transform: translateY(-8px); }

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-banner { padding: 40px 24px; }
  .btn-white, .btn-outline-white { display: block; margin: 8px auto; max-width: 220px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 24px 18px; }

  .stats-bar { grid-template-columns: 1fr 1fr; }
  .about-story-visual { grid-template-columns: 1fr 1fr; }

  .domain-search-large form { flex-direction: column; }

  .table-wrapper { font-size: 13px; }
  thead th, tbody td { padding: 12px 14px; }

  .section { padding: 60px 0; }
  .page-hero { padding: 60px 0 40px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .vps-specs { grid-template-columns: 1fr 1fr; }
  .os-grid { grid-template-columns: 1fr 1fr; }
}
