/* ==========================================================================
   ALTERNET HOMEPAGE STYLES
   Modern ISP design — clean, dark hero, blue brand palette
   ========================================================================== */

/* ---- Reset & Base ---- */
.alternet-home,
.alternet-home * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.alternet-home {
  --brand-dark: #042C53;
  --brand: #185FA5;
  --brand-light: #378ADD;
  --brand-pale: #E6F1FB;
  --text: #1a1a1a;
  --text-muted: #5f6b7a;
  --text-light: #8a96a3;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --border: #e5ebf2;
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;

  font-family: 'Helvetica Neue', 'BPG Nino Mtavruli', 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.alternet-home img { max-width: 100%; height: auto; display: block; }
.alternet-home a { color: var(--brand); text-decoration: none; transition: color .2s; }
.alternet-home a:hover { color: var(--brand-light); }
.alternet-home h1, .alternet-home h2, .alternet-home h3, .alternet-home h4, .alternet-home h5 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.al-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---- Buttons ---- */
.al-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  line-height: 1.4;
}
.al-btn-primary {
  background: var(--brand-light);
  color: #fff;
}
.al-btn-primary:hover {
  background: var(--brand);
  color: #fff;
}
.al-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.al-btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}
.al-btn-white {
  background: #fff;
  color: var(--brand-dark);
}
.al-btn-white:hover {
  background: var(--brand-pale);
  color: var(--brand-dark);
}

/* ============ HEADER / NAV ============ */
.al-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.al-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.al-logo img {
  height: 50px;
  width: auto;
}
.al-menu {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.al-menu a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color .2s;
}
.al-menu a:hover,
.al-menu a.active {
  color: var(--brand);
}
.al-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 2px;
  background: var(--brand);
}
.al-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}
.al-lang a { color: var(--text-light); }
.al-lang a.active { color: var(--brand); }
.al-lang-sep { color: var(--border); }
.al-burger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.al-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all .2s;
}

/* ============ HERO ============ */
.al-hero {
  background: var(--brand-dark);
  color: #fff;
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}
.al-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.al-hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: .25;
}
.al-hero-circle-1 {
  width: 400px; height: 400px;
  background: var(--brand);
  top: -100px; right: -100px;
}
.al-hero-circle-2 {
  width: 280px; height: 280px;
  background: var(--brand-light);
  bottom: -80px; right: 200px;
  opacity: .15;
}
.al-hero-circle-3 {
  width: 180px; height: 180px;
  background: var(--brand-light);
  top: 50%; right: 40%;
  opacity: .1;
}
.al-hero-inner {
  position: relative;
  z-index: 1;
}
.al-hero-content {
  max-width: 640px;
}
.al-tagline {
  display: inline-block;
  background: rgba(255,255,255,.1);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,.15);
}
.al-hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #fff;
}
.al-hero-text {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 540px;
}
.al-hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ SECTION COMMON ============ */
.al-section {
  padding: 80px 0;
}
.al-section-head {
  margin-bottom: 48px;
}
.al-section-title {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 600;
  margin-bottom: 16px;
}

/* ============ SERVICES ============ */
.al-services {
  background: var(--bg);
}
.al-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.al-service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all .3s;
  color: var(--text);
  text-decoration: none;
  display: block;
}
.al-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 10px 30px -10px rgba(24, 95, 165, .2);
  color: var(--text);
}
.al-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all .3s;
}
.al-service-card:hover .al-service-icon {
  background: var(--brand);
  color: #fff;
}
.al-service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}
.al-service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ STATS ============ */
.al-stats {
  background: var(--bg-soft);
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.al-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.al-stat-num {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}
.al-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ ABOUT ============ */
.al-about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.al-lead {
  font-size: 18px;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.5;
  font-weight: 500;
}
.al-about-content p:not(.al-lead) {
  color: var(--text-muted);
  margin-bottom: 28px;
}
.al-about-visual {
  display: flex;
  justify-content: center;
}
.al-about-card {
  background: var(--brand-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
}
.al-about-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 150px; height: 150px;
  background: var(--brand);
  border-radius: 50%;
  opacity: .3;
}
.al-about-card-num {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.al-about-card-text {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  position: relative;
  z-index: 1;
}

/* ============ WHY US ============ */
.al-why {
  background: var(--bg-soft);
}
.al-why .al-section-title { margin-bottom: 48px; }
.al-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.al-why-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.al-why-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.al-why-item h4 {
  font-size: 16px;
  margin-bottom: 10px;
}
.al-why-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ CTA BAND ============ */
.al-cta {
  background: var(--brand-dark);
  padding: 64px 0;
  color: #fff;
}
.al-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.al-cta h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 8px;
  color: #fff;
}
.al-cta p {
  color: rgba(255,255,255,.8);
  font-size: 16px;
}

/* ============ UTILITY (IP) ============ */
.al-utility {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.al-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 13px;
}
.al-ip-label { color: var(--text-muted); }
.al-ip-value {
  font-family: 'Monaco', 'Menlo', monospace;
  font-weight: 600;
  color: var(--text);
  margin-left: 6px;
}
.al-port-link {
  color: var(--brand);
  font-weight: 500;
}

/* ============ FOOTER ============ */
.al-footer {
  background: #0a1929;
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.al-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.al-footer-col h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.al-footer-logo {
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.al-footer-col p {
  font-size: 14px;
  line-height: 1.6;
}
.al-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.al-footer-col li {
  margin-bottom: 8px;
}
.al-footer-col a {
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.al-footer-col a:hover {
  color: #fff;
}
.al-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .al-services-grid { grid-template-columns: repeat(2, 1fr); }
  .al-why-grid { grid-template-columns: repeat(2, 1fr); }
  .al-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .al-about-grid { grid-template-columns: 1fr; }
  .al-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .al-menu { gap: 20px; }
  .al-menu a { font-size: 13px; }
}

@media (max-width: 768px) {
  .al-hero { padding: 60px 0 80px; }
  .al-section { padding: 60px 0; }
  .al-stats { padding: 40px 0; }
  .al-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .al-utility-inner { flex-direction: column; gap: 8px; }

  .al-burger { display: flex; }
  .al-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,.1);
  }
  .al-menu.open { display: flex; }
  .al-menu a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .al-menu a:last-child { border-bottom: none; }
}

/* ============ INNER PAGES ============ */

/* Narrow container for text-heavy sections */
.al-narrow {
  max-width: 800px;
}

.al-bg-soft { background: var(--bg-soft); }

/* Page hero (smaller than home hero) */
.al-page-hero {
  background: var(--brand-dark);
  color: #fff;
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}
.al-page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.al-page-hero-bg .al-hero-circle-1 {
  width: 320px; height: 320px;
  background: var(--brand);
  top: -80px; right: -80px;
  opacity: .22;
}
.al-page-hero-bg .al-hero-circle-2 {
  width: 200px; height: 200px;
  background: var(--brand-light);
  bottom: -60px; right: 30%;
  opacity: .15;
}
.al-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.al-page-hero-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  color: #fff;
  margin: 16px 0 16px;
  line-height: 1.1;
}
.al-page-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
  max-width: 600px;
}

/* Directions grid (About page) */
.al-dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.al-dir-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.al-dir-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.al-dir-item p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

/* Check list */
.al-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.al-check-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.al-check-list li:last-child { border-bottom: none; }
.al-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  background: var(--brand-pale);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185FA5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* Plan cards (Internet, Hosting) */
.al-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.al-hosting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.al-plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.al-plan-card:hover {
  border-color: var(--brand);
  box-shadow: 0 15px 40px -15px rgba(24, 95, 165, .25);
  transform: translateY(-4px);
}
.al-plan-featured {
  border-color: var(--brand);
  border-width: 2px;
  position: relative;
}
.al-plan-featured::before {
  content: '★';
  position: absolute;
  top: 16px;
  right: 20px;
  color: var(--brand);
  font-size: 20px;
}
.al-plan-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.al-plan-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.al-plan-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.al-plan-card .al-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Notice box (Internet letter, Contact 24/7) */
.al-notice {
  display: flex;
  gap: 20px;
  background: var(--brand-pale);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  align-items: flex-start;
}
.al-notice-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.al-notice-content h4 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--brand-dark);
}
.al-notice-content p {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 8px;
}
.al-link-arrow {
  color: var(--brand);
  font-weight: 500;
  font-size: 14px;
}

/* Features grid (Corporate) */
.al-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.al-feat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.al-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.al-feat-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}
.al-feat-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Contact grid */
.al-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.al-contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
}
.al-contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-pale);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.al-contact-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text);
}
.al-contact-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.al-contact-card p a { color: var(--brand); }

/* Pricing card (Internet page) */
.al-pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.al-pricing-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--brand-pale);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.al-pricing-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.al-pricing-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Empty state (Projects placeholder) */
.al-empty-icon {
  color: var(--text-light);
  margin: 0 auto 24px;
  display: flex;
  justify-content: center;
}

/* ============ RESPONSIVE: INNER PAGES ============ */
@media (max-width: 1024px) {
  .al-dir-grid { grid-template-columns: repeat(2, 1fr); }
  .al-hosting-grid { grid-template-columns: 1fr; }
  .al-feat-grid { grid-template-columns: repeat(2, 1fr); }
  .al-contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .al-plan-grid { grid-template-columns: 1fr; }
  .al-page-hero { padding: 50px 0 60px; }
  .al-notice { flex-direction: column; gap: 12px; }
}

@media (max-width: 540px) {
  .al-services-grid,
  .al-why-grid,
  .al-stats-grid,
  .al-footer-grid,
  .al-dir-grid,
  .al-feat-grid,
  .al-contact-grid {
    grid-template-columns: 1fr;
  }
  .al-hero-buttons .al-btn { width: 100%; text-align: center; }
}
