/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background: #f7f7f7;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

img {
  max-width: 100%;
  display: block;
}

/* Header */
.header {
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo {
  background: none !important;
}

.logo img {
  width: 200px;
  height: 40px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav a {
  color: #072f92;
  font-weight: 500;
}

.auth-buttons a {
  margin-left: 10px;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 17px;
}

.btn-login {
  border: 1px solid #072f92;
  color: #072f92;
}

.btn-signup {
  background: #1062fe;
  color: #fff;
}

/* Mobile menu styles */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #072f92;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 10px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 200px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  padding: 10px;
}

.mobile-menu li {
  margin-bottom: 10px;
}

.mobile-menu li a {
  color: #072f92;
  display: block;
  padding: 8px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 60px 0;
  background: #fff;
}

.hero-nav {
  margin: 20px 0;
}

.hero-nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
}

.hero-nav a {
  color: #072f92;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
}

.hero-nav a:hover {
  background: #e8e595;
}

.hero-text {
  font-size: 1.2rem;
  color: #072f92;
  margin-bottom: 20px;
  font-weight: 500;
}

.crypto-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.crypto-icons span {
  font-size: 1rem;
  color: #072f92;
  font-weight: 500;
}

.section-title {
  font-size: 2rem;
  color: #333;
  margin: 20px 0;
}

.domain-search {
  display: inline-flex;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.domain-search input {
  padding: 10px;
  border: none;
  width: 250px;
}

.domain-search button {
  background: #1062fe;
  color: #fff;
  padding: 0 20px;
  border: none;
  cursor: pointer;
}

.tld-list {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  color: #96aaca;
}

.tld-list span {
  background: #fff;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Link Generator Section */
.link-generator {
  padding: 60px 0;
  position: relative;
}

.link-generator::before,
.link-generator::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: url('https://ext.same-assets.com/510012271/3779143521.svg') no-repeat center/cover;
  opacity: 0.2;
  pointer-events: none;
}

.link-generator::before {
  left: 0;
  transform: scaleX(-1);
}

.link-generator::after {
  right: 0;
}

.lg-title {
  text-align: center;
  font-size: 1.8rem;
  color: #1e2a3d;
  margin-bottom: 30px;
  font-weight: 600;
}

.lg-box {
  background: #fff;
  border: 1px solid #dbe4fb;
  border-radius: 8px;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.lg-tabs {
  display: flex;
  list-style: none;
  border-bottom: 1px solid #dbe4fb;
}

.lg-tabs li {
  padding: 10px 20px;
  cursor: pointer;
  color: #556b8d;
}

.lg-tabs li.active {
  color: #1062fe;
  border-bottom: 2px solid #1062fe;
}

.lg-content {
  display: flex;
  gap: 10px;
  padding: 20px 0;
}

.lg-content input {
  flex: 1;
  padding: 10px;
  border: 1px solid #dbe4fb;
  border-radius: 4px;
}

.lg-btn {
  background: #1062fe;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.lg-btn:hover {
  background: #0052cc;
  color: #fff;
}

.lg-domain {
  text-align: center;
  color: #96aaca;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* Products */
.products {
  padding: 60px 0;
  background: #f7f7f7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
  border-color: #1062fe;
}

.card h3 {
  margin: 15px 0;
  font-size: 1.1rem;
  color: #072f92;
}

.card p {
  color: #333;
  margin: 10px 10px 15px 10px;
  font-size: 14px;
}

.card img {
  margin: 0 auto;
  width: 150px;
}

.btn-primary {
  display: inline-block;
  background: #1062fe;
  color: #fff;
  padding: 8px 24px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 17px;
}

/* Features */
.features {
  padding: 60px 0;
}

.bg-blue {
  background: #072f92;
}

.section-title-white {
  font-size: 2rem;
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-grid div {
  text-align: center;
  color: #fff;
}

.feature-grid img {
  margin: 0 auto 10px;
  height: 40px;
}

.feature-grid p {
  font-size: 0.95rem;
}

/* Feature items */
.feature-item img {
  height: 100px;
}

.feature-item p {
  margin-top: 8px;
}

/* News */
.news {
  padding: 60px 0;
  background: #f7f7f7;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.news-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
  border-color: #1062fe;
}

.news-card time {
  display: block;
  color: #96aaca;
  margin-bottom: 10px;
}

.news-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.card-more {
  color: #1062fe;
  font-weight: 500;
  margin-top: 10px;
}

/* CTA */
.cta {
  padding: 60px 0;
  text-align: center;
}

.cta-text {
  color: #fff;
  margin: 15px 0 30px;
  font-size: 1rem;
  text-align: center;
}

.btn-primary-light {
  background: #1062fe;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  display: inline-block;
  font-size: 17px;
}

/* Footer */
.footer {
  background: #fff;
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.footer-col h4 {
  color: #072f92;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 6px;
  color: #333;
}

.footer-col li a {
  color: #333;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col li a:hover {
  color: #333;
  background: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  color: #96aaca;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #96aaca;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-bottom a:hover {
  color: #96aaca;
  background: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.chat-widget img {
  width: 50px;
  height: 50px;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 186px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 1000;
}

#backToTop::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 24px;
  width: 12px;
  height: 12px;
  border-top: 2px solid #072f92;
  border-left: 2px solid #072f92;
  transform: rotate(45deg);
}

/* Customer Service Button */
#customerService {
  position: fixed;
  bottom: 256px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #072f92;
}

#customerService:hover {
  background: #f0f0f0;
}

#customerService::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23072f92'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10h5v-2h-5c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57V12c0-2.76-2.24-5-5-5s-5 2.24-5 5 2.24 5 5 5c1.38 0 2.63-.56 3.54-1.46.65.89 1.77 1.46 2.96 1.46 1.97 0 3.5-1.53 3.5-3.57V12c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* Logo no hover effect */
.logo:hover {
  background: none;
}

/* New badge next to nav item */
.new-badge {
  color: #072f92;
  font-size: 0.6rem;
  padding: 2px 4px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: super;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .header-inner {
    position: relative;
    flex-direction: column;
    gap: 10px;
  }

  .nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .lg-tabs {
    flex-wrap: wrap;
  }

  .lg-content {
    flex-direction: column;
  }

  .lg-content input,
  .lg-btn {
    width: 100%;
  }
}
