/* ===========================
   No-Ack Hosting Theme
   =========================== */

:root {
  --color-navy: #1a1a2e;
  --color-navy-light: #16213e;
  --color-accent: #e94560;
  --color-accent-dark: #c73e54;
  --color-white: #ffffff;
  --color-gray-50: #f8f9fa;
  --color-gray-100: #f1f3f5;
  --color-gray-200: #e9ecef;
  --color-gray-300: #dee2e6;
  --color-gray-400: #ced4da;
  --color-gray-500: #adb5bd;
  --color-gray-600: #868e96;
  --color-gray-700: #495057;
  --color-gray-800: #343a40;
  --color-gray-900: #212529;
  --color-text: #2d3436;
  --color-text-light: #636e72;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1200px;
  --header-height: 72px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Base */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-block { width: 100%; }

/* ===========================
   Header
   =========================== */
.site-header {
  background: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-text { color: var(--color-white); }
.logo-accent { color: var(--color-accent); }

.main-nav {
  flex: 1;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  justify-content: flex-end;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

/* Language selector */
.lang-selector {
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  overflow: hidden;
  z-index: 100;
}

.lang-dropdown.open { display: block; }

.lang-dropdown a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--color-text);
  font-size: 0.9rem;
  transition: background var(--transition);
}

.lang-dropdown a:hover {
  background: var(--color-gray-100);
}

.lang-dropdown a.active {
  color: var(--color-accent);
  font-weight: 600;
}

/* ===========================
   Hero
   =========================== */
.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(233, 69, 96, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(233, 69, 96, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-actions .btn-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===========================
   Sections
   =========================== */
.section {
  padding: 5rem 0;
}

.section:nth-child(even) {
  background: var(--color-gray-50);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   Service Cards
   =========================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--color-gray-200);
}

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

.service-card__icon {
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}

.service-card p {
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.service-card__link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.service-card__link:hover {
  color: var(--color-accent-dark);
}

/* ===========================
   Pricing Cards
   =========================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--color-gray-200);
  transition: all var(--transition);
  position: relative;
}

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

.pricing-card--highlight {
  border-color: var(--color-accent);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
  text-align: center;
}

.pricing-card__price {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.pricing-card__amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
}

.pricing-card__period {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.pricing-card__features {
  margin-bottom: 1.5rem;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--color-text);
}

.pricing-card__features svg {
  flex-shrink: 0;
}

/* ===========================
   Features Grid
   =========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 1.5rem;
}

.feature__icon {
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

.feature p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===========================
   Page Content
   =========================== */
.page-content {
  background: var(--color-white);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-accent);
  display: inline-block;
}

.content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 2.5rem 0 1rem;
}

.content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 2rem 0 0.75rem;
}

.content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.content ul, .content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.content ul { list-style: disc; }
.content ol { list-style: decimal; }

.content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content a:hover {
  color: var(--color-accent-dark);
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.content table th,
.content table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-200);
}

.content table th {
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.content table th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.content table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.content table tr:nth-child(even) {
  background: var(--color-gray-50);
}

.content table tr:hover {
  background: var(--color-gray-100);
}

.content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.content blockquote p {
  margin-bottom: 0;
  color: var(--color-text-light);
  font-style: italic;
}

/* ===========================
   Blog / Post List
   =========================== */
.post-list {
  margin-top: 2rem;
}

.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
}

.post-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.post-card h2 a {
  color: var(--color-navy);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--color-accent);
}

.post-card time {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.post-card p {
  margin-top: 0.75rem;
  color: var(--color-text-light);
}

.read-more {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-heading {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact svg {
  flex-shrink: 0;
  stroke: var(--color-accent);
}

.payment-methods {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.uptime-badge {
  background: rgba(233, 69, 96, 0.15);
  color: var(--color-accent);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-navy);
    padding: 1.5rem;
    z-index: 999;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .lang-selector {
    margin-right: auto;
    margin-left: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

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

  .page-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero-badges { flex-direction: column; align-items: center; }
  .section { padding: 3rem 0; }
}
