/* Base Styles and Variables */
:root {
  --primary: #1E293B;
  --secondary: #7C3AED;
  --accent: #F97316;
  --background-light: #F8FAFC;
  --background-dark: #0F172A;
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --success: #10B981;
  --warning: #FBBF24;
  --error: #EF4444;
  --container-width: 65%;
}

/* Base and Typography */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-light);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-reject-all, .cookie-customize {
  color: var(--primary) !important;
}

/* Magazine Cover Bold Style */
.magazine-cover {
  position: relative;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 8px solid var(--secondary);
}

.magazine-headline {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 700;
}

.magazine-subheading {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

/* Professional Left-Aligned Content */
.container {
  width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.right-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - var(--container-width));
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  height: 40px;
}

.nav-desktop {
  display: flex;
}

.nav-desktop a {
  margin-left: 2rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
}

.nav-desktop a:hover {
  color: var(--secondary);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

.nav-mobile {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}

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

.btn-primary:hover {
  background-color: #6D28D9;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Features */
.features {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-desc {
  color: var(--text-secondary);
}

/* Server Types */
.server-types {
  padding: 4rem 0;
  background-color: #F1F5F9;
}

.server-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.server-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.server-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.server-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.server-content {
  padding: 1.5rem;
}

.server-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.server-specs {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.server-specs li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.server-specs li i {
  color: var(--success);
  margin-right: 0.5rem;
}

/* Configs Section */
.configs {
  padding: 4rem 0;
}

.config-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.config-table th {
  background-color: var(--primary);
  color: white;
  text-align: left;
  padding: 1rem;
}

.config-table td {
  padding: 1rem;
  border-top: 1px solid #E2E8F0;
}

.config-table tr:hover {
  background-color: #F8FAFC;
}

/* DDoS Section */
.ddos-section {
  padding: 4rem 0;
  background-color: #F1F5F9;
}

.ddos-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.ddos-text {
  flex: 1;
  min-width: 300px;
}

.ddos-image {
  flex: 1;
  min-width: 300px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.ddos-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Control Panel */
.control-panel {
  padding: 4rem 0;
}

.splide__slide {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.splide__slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Community Section */
.community {
  padding: 4rem 0;
  background-color: #F1F5F9;
}

.community-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.community-text {
  flex: 1;
  min-width: 300px;
}

.community-image {
  flex: 1;
  min-width: 300px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.community-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact Form */
.contact {
  padding: 4rem 0;
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #E2E8F0;
  border-radius: 0.375rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.checkbox-group input {
  margin-top: 0.3rem;
  margin-right: 0.75rem;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #CBD5E1;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #94A3B8;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1rem;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  display: none;
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-text {
  flex: 3;
  min-width: 280px;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-settings {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
  display: none;
}

.cookie-settings-content {
  background-color: white;
  border-radius: 0.5rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E2E8F0;
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-toggle {
  display: flex;
  align-items: center;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--secondary);
}

input:focus + .toggle-slider {
  box-shadow: 0 0 1px var(--secondary);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.cookie-manager-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: white;
  color: var(--text-primary);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 999;
}

.cookie-manager-btn:hover {
  background-color: #F1F5F9;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1200;
  display: none;
}

.modal-content {
  background-color: white;
  border-radius: 0.5rem;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  position: relative;
  border-left: 8px solid var(--secondary);
}

.modal-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

/* Thank You Page */
.thank-you {
  padding: 8rem 0;
  text-align: center;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.thank-you-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.thank-you-message {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Partners Page */
.partners {
  padding: 4rem 0;
}

.partner-section {
  margin-bottom: 4rem;
}

/* SLA Page */
.sla {
  padding: 4rem 0;
}

.sla-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.sla-table th {
  background-color: var(--primary);
  color: white;
  text-align: left;
  padding: 1rem;
}

.sla-table td {
  padding: 1rem;
  border-top: 1px solid #E2E8F0;
}

/* Contacts Page */
.contacts {
  padding: 4rem 0;
}

.contact-info {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-right: 1rem;
  min-width: 24px;
}

.map-container {
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Policy Pages */
.policy {
  padding: 4rem 0;
}

.policy-content {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.policy-date {
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.policy-section {
  margin-bottom: 2rem;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--secondary);
  color: white;
  padding: 8px;
  z-index: 1001;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Telephone Input Styling */
.iti {
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  :root {
    --container-width: 85%;
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: 90%;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: block;
  }
  
  .nav-mobile.active {
    right: 0;
  }
  
  .nav-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
  }
  
  .nav-mobile-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .nav-mobile-menu {
    padding: 1.5rem;
  }
  
  .nav-mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid #E2E8F0;
  }
  
  .nav-mobile-menu a:last-child {
    border-bottom: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .magazine-headline {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .magazine-headline {
    font-size: 2rem;
  }
  
  .magazine-subheading {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.75rem;
  }
}