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

:root {
  --bg-primary: #050505;
  --bg-secondary: #121212;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.08);
  --accent-cyan: #00f2fe;
  --accent-purple: #815af2;
  --accent-glow: rgba(129, 90, 242, 0.4);
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease-in-out;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-logo {
  font-family: var(--font-heading);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  z-index: -1;
  transition: var(--transition-smooth);
}

.btn:hover::before {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline::before {
  display: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Base glowing effect */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Dropdown */
.dropdown {
  position: relative;
  padding: 10px 0;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--text-muted);
}
.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}
.nav-chevron {
  font-size: 0.8rem;
  margin-left: 4px;
}

/* Mega Menu */
.dropdown-menu.mega-menu {
  flex-direction: row;
  min-width: 380px;
  padding: 0.8rem;
  gap: 0.8rem;
}
.mega-list {
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.mega-list a {
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
}
.mega-all-services {
  width: 200px;
  height: 140px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  padding: 0 !important;
  flex-shrink: 0;
}
.mega-all-services img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: block;
}
.mega-all-services:hover img {
  opacity: 1;
  transform: scale(1.08);
}
.mega-all-text {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  z-index: 2;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mega-all-text i {
  color: var(--color-cyan);
  transition: var(--transition-fast);
}
.mega-all-services:hover .mega-all-text i {
  transform: translateX(3px);
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Currency Switcher */
.currency-switcher {
  position: relative;
}
.currency-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
}
.currency-btn:hover {
  background: rgba(129, 90, 242, 0.15);
  border-color: rgba(129, 90, 242, 0.4);
}
.currency-btn i {
  font-size: 0.7rem;
  color: var(--color-cyan);
  transition: transform 0.2s ease;
}
.currency-switcher:hover .currency-btn i {
  transform: rotate(180deg);
}
.currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 6px;
  min-width: 100px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-fast);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 200;
}
.currency-switcher:hover .currency-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.currency-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: var(--transition-fast);
}
.currency-option:hover,
.currency-option.active {
  background: rgba(129, 90, 242, 0.12);
  color: var(--text-main);
}
.currency-option.active {
  color: var(--color-cyan);
}
.currency-flag {
  font-size: 1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero .glow-orb:nth-child(1) {
  top: -10%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: rgba(129, 90, 242, 0.15);
}

.hero .glow-orb:nth-child(2) {
  bottom: 0;
  right: -5%;
  width: 600px;
  height: 600px;
  background: rgba(0, 242, 254, 0.1);
}

.hero-content {
  max-width: 800px;
  z-index: 10;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Features grid */
.features {
  padding: 6rem 0;
  background: var(--bg-secondary);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(129, 90, 242, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Feedback Section */
.feedback {
  padding: 6rem 0;
  overflow: hidden;
  background: var(--bg-primary);
}
.marquee-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%); /* breaks out of container to span full width */
}
.marquee-row {
  display: flex;
  width: max-content;
  animation: scrollLeft 28s linear infinite;
}
.marquee-row.reverse-marquee {
  animation: scrollRight 25s linear infinite;
  transform: translateX(-50%);
}
.marquee-content {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
}
.marquee-content.reverse {
  /* No special class logic needed if reverse uses scrollRight, just container */
}

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

.feedback-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s;
  height: fit-content;
}
.feedback-card:hover {
  border-color: rgba(129, 90, 242, 0.3);
}
.fb-user {
  display: flex;
  align-items: center;
  gap: 15px;
}
.fb-avatar {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
}
.fb-info h4 {
  color: var(--text-main);
  font-size: 1.1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.yt-badge {
  background: #ff0000;
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
}
.fb-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.fb-stars {
  color: #f59e0b;
  font-size: 0.85rem;
}

/* Pricing/Plans */
.pricing {
  padding: 8rem 0;
  position: relative;
  background: url('../assets/services_bg.png') center/cover no-repeat;
}
.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(5,5,5,0.6) 40%, rgba(5,5,5,0.6) 60%, var(--bg-primary) 100%);
  z-index: 0;
}
.pricing .container {
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.01), 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 32px;
  padding: 3rem 2rem;
  position: relative;
  transition: var(--transition-smooth);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.pricing-card:hover {
  transform: scale(1.02) translateY(-5px);
  border-color: rgba(129, 90, 242, 0.15);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 
    inset 0 0 30px rgba(129, 90, 242, 0.15),
    0 15px 40px rgba(0, 0, 0, 0.6), 
    0 0 40px rgba(0, 242, 254, 0.2);
}

.pricing-card.popular {
  border-color: rgba(0, 242, 254, 0.5);
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.plan-features {
  margin-bottom: 2.5rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.plan-features i {
  color: var(--accent-cyan);
}

.pricing-card .btn {
  width: 100%;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open,
.faq-item:hover {
  border-color: rgba(129, 90, 242, 0.35);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  gap: 1rem;
}
.faq-question span {
  flex: 1;
}
.faq-icon {
  color: var(--color-cyan);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 0 1.5rem 1.3rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
  margin: 0;
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

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

.footer-brand .brand-logo {
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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

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

.footer-links ul a:hover {
  color: var(--text-main);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .nav-links, .nav-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
    word-break: break-word;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}

/* Mobile Menu Active State */
@media (max-width: 900px) {
  .nav-container {
    flex-wrap: wrap;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
    margin-top: 1.5rem;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    padding-bottom: 1rem;
    border-bottom: none;
    order: 3;
    z-index: 100;
  }
  .nav-actions.active {
    display: flex;
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
    justify-content: center;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0 2rem;
    border-bottom: 1px solid var(--border-color);
    order: 4;
    z-index: 100;
  }
  .navbar.scrolled .nav-links.active {
    margin-top: 1rem;
  }
}

/* Infrastructure */
.infrastructure {
  padding: 6rem 0;
  background: var(--bg-primary);
}
.infra-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}
@media (min-width: 900px) {
  .infra-content {
    grid-template-columns: 1fr 350px;
  }
}
.map-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.1);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
.map-container img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.8;
  transition: var(--transition-smooth);
}
.map-container:hover img {
  opacity: 1;
  transform: scale(1.02);
}
.infra-features .feature-card {
  background: rgba(129, 90, 242, 0.05);
  border-color: rgba(129, 90, 242, 0.2);
}
