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

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bg-main: #0B0F19;
  --bg-card: #151D30;
  --bg-card-hover: #1E2942;
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --primary: #06B6D4;
  --primary-hover: #0891B2;
  --secondary: #6366F1;
  --success: #10B981;
  --success-bg: rgba(16, 185, 129, 0.1);
  --error: #EF4444;
  --error-bg: rgba(239, 68, 68, 0.1);
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(6, 182, 212, 0.4);
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}

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

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #A5B4FC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Navbar with Glassmorphism */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

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

.navbar-brand img {
  height: 40px;
  display: block;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.navbar-menu a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.navbar-menu a:hover,
.navbar-menu li.active a {
  color: var(--primary);
  background: rgba(6, 182, 212, 0.08);
}

/* Responsive mobile menu toggle */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 991px) {
  .navbar-toggle {
    display: block;
  }
  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .navbar-menu.active {
    display: flex;
  }
}

/* Hero Section */
#main-slider {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  max-width: 700px;
}

.hero-content h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-content h2 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h3 {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
  color: #fff;
}

/* CTA (Call To Action) banner */
#cta {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.cta-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.cta-grid h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.cta-grid p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.cta-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.cta-image:hover {
  transform: scale(1.03);
}

/* Features */
#features {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.features-image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-media {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-media:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.2);
}

.feature-media p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.feature-media p:last-child {
  margin-bottom: 0;
}

/* Services */
#services {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Portfolio */
#portfolio {
  padding: 6rem 0;
}

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

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.6) 100%);
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #fff;
}

.portfolio-info p {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.portfolio-info a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
}

.portfolio-info a:hover {
  background: var(--primary);
  color: #fff;
}

/* Domain Availability Form */
#about {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.domain-checker {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.domain-form {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
  .domain-form {
    flex-direction: column;
  }
}

.domain-input-wrapper {
  position: relative;
  flex-grow: 1;
}

.domain-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #fff;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 12px;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
}

.domain-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--border-focus);
  background: rgba(255, 255, 255, 0.08);
}

.domain-submit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.domain-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

/* Spinner Modern styling */
#loading {
  display: none;
  margin: 2rem auto;
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s ease-in-out infinite;
  margin: 0 auto 0.75rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Results from process.php */
#results table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

#results table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

#results table tr:last-child td {
  border-bottom: none;
}

#results table tr.success {
  background: rgba(16, 185, 129, 0.04);
}

#results table tr.success td:first-child {
  color: #fff;
  font-weight: 500;
}

#results table tr.success td:last-child {
  color: var(--success);
  font-weight: 600;
  text-align: right;
}

#results table tr.active {
  background: rgba(239, 68, 68, 0.02);
}

#results table tr.active td:first-child {
  color: var(--text-muted);
}

#results table tr.active td:last-child {
  color: var(--error);
  font-weight: 500;
  text-align: right;
}

/* TLD Badges */
#work-process {
  padding: 5rem 0;
}

.tld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.tld-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.3s ease;
}

.tld-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
  background: var(--bg-card-hover);
}

/* Hosting plans cards (#meet-team) */
#meet-team {
  padding: 6rem 0;
}

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

.hosting-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hosting-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.1);
}

.hosting-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

.hosting-tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.hosting-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hosting-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  min-height: 50px;
}

.hosting-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.hosting-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.hosting-features li i {
  color: var(--primary);
}

/* Pricing / Design Packages cards (without cost) */
#pricing {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border);
}

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

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.package-card.featured {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 2px solid var(--secondary);
}

.package-name {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.package-card.featured .package-name {
  color: var(--secondary);
}

.package-info {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.package-features li i {
  color: var(--primary);
  margin-top: 0.25rem;
}

.package-delivery {
  background: rgba(239, 68, 68, 0.05);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.1);
  padding: 0.8rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact Section */
#get-in-touch {
  padding: 6rem 0 4rem;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: rgba(6, 182, 212, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-card p {
  font-size: 1.1rem;
  color: var(--text-main);
  text-align: center;
}

/* Map area */
#contact {
  position: relative;
  width: 100%;
}

#google-map {
  width: 100%;
  border: none;
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

/* Footer styling */
#footer {
  background: #080B12;
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

#footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  #footer .container {
    flex-direction: column;
    text-align: center;
  }
}

/* Animations */
.wow {
  visibility: visible !important;
}
