/* General styles */
body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #0f0f0f, #1c1c1c);
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

body.light-mode {
  background: #f0f2f5;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

body.light-mode .header {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

body.light-mode .logo {
  color: #333;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo-dark {
  display: none;
}

body.light-mode .logo-light {
  display: block;
}

body.light-mode .logo-dark {
  display: none;
}

body:not(.light-mode) .logo-light {
  display: none;
}

body:not(.light-mode) .logo-dark {
  display: block;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

body.light-mode .nav-links a {
  color: #333;
}

.nav-links a:hover {
  color: #00ffb3;
}

body.light-mode .nav-links a:hover {
  color: #0ea5a4;
}

/* Theme switcher */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-switcher .fas {
  color: #fff;
}

body.light-mode .theme-switcher .fas {
  color: #333;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: #00ffb3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #00ffb3;
}

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

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #00b3ff, #00ffb3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 50px;
}

body.light-mode .hero .subtitle {
  color: #666;
}

/* Card styles */
.card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  margin: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
}

body.light-mode .card {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #333;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 255, 179, 0.3);
}

body.light-mode .card:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #00ffb3;
}

body.light-mode .card h2 {
  color: #0ea5a4;
}

.card p {
  font-size: 1rem;
  color: #ccc;
}

body.light-mode .card p {
  color: #666;
}

.card i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #00ffb3;
}

body.light-mode .card i {
  color: #0ea5a4;
}

/* Button styles */
.btn {
  background: linear-gradient(90deg, #00b3ff, #00ffb3);
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body.light-mode .btn {
  background: linear-gradient(90deg, #06b6d4, #0ea5a4);
}

/* Input styles */
.input {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #333;
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.light-mode .input {
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
}

/* Tool grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Section styles */
.section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px 40px;
  margin-bottom: 40px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

body.light-mode .section {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 255, 179, 0.3);
}

body.light-mode .section:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #00ffb3;
}

body.light-mode .section h2 {
  color: #0ea5a4;
}

.section h2 i {
  margin-right: 10px;
}

.section p.desc {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 20px;
}

body.light-mode .section p.desc {
  color: #666;
}

/* Art divider */
.art-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00b3ff, #00ffb3);
  margin: 40px 0;
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(0, 255, 179, 0.5);
}

body.light-mode .art-divider {
  background: linear-gradient(90deg, #06b6d4, #0ea5a4);
  box-shadow: none;
}

/* Art text */
.art-text {
  font-size: 1.2rem;
  color: #00ffb3;
  text-align: center;
  font-style: italic;
  margin-bottom: 40px;
  opacity: 0.9;
}

body.light-mode .art-text {
  color: #0ea5a4;
}

/* Button group */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

a.domain-btn {
  background: linear-gradient(145deg, #202020, #181818);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 15px 25px;
  text-decoration: none;
  color: #00ffb3;
  font-weight: 600;
  font-size: 1rem;
  text-transform: capitalize;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 179, 0.3), 0 5px 15px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

body.light-mode a.domain-btn {
  background: #f0f2f5;
  border: 1px solid #ddd;
  color: #0ea5a4;
  box-shadow: none;
}

a.domain-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 255, 179, 0.5);
  background: linear-gradient(145deg, #1b1b1b, #232323);
}

body.light-mode a.domain-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
}

/* FAQ section */
.faq-item {
  margin-bottom: 20px;
}

.faq-item p {
  margin: 5px 0;
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  text-align: center;
  margin-top: 60px;
  transition: background 0.3s ease;
}

body.light-mode .footer {
  background: #fff;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.social-links a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

body.light-mode .social-links a {
  color: #333;
}

.social-links a:hover {
  color: #00ffb3;
}

body.light-mode .social-links a:hover {
  color: #0ea5a4;
}
