@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap");

:root {
  --bg-dark: #0a0a12;
  --bg-card: #13131f;
  --primary: #00f3ff;
  --secondary: #bd00ff;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border-glow: rgba(0, 243, 255, 0.2);
  --glass: rgba(255, 255, 255, 0.03);

  --font-main: "Outfit", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(189, 0, 255, 0.15), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.1), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}

header {
  background: rgba(10, 10, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

main {
  flex: 1;
  padding: 4rem 0;
}

.hero {
  text-align: center;
  margin-bottom: 4rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #fff, #a5a5a5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

input[type="text"] {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: 0.3s;
}

input[type="text"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #00a8ff);
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.5);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.8rem 2rem;
  border-radius: 100px;
  color: var(--text-muted);
  font-weight: 600;
  transition: 0.3s;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tab-btn.active {
  background: rgba(0, 243, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.results-grid {
  display: grid;
  gap: 2rem;
}

.result-item {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.result-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.download-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  border: none;
}

.btn-dl {
  background: #22c55e;
  color: #fff;
}
.btn-dl:hover {
  background: #16a34a;
}

.content-section {
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 0 20px;
  color: var(--text-muted);
}

.content-section h2 {
  color: #fff;
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
}

footer {
  background: #050508;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-links a {
  color: var(--text-muted);
  margin-left: 1.5rem;
}

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .nav-links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero {
    padding: 0 1rem;
    margin-bottom: 2.5rem;
  }
  
  .tool-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .input-group {
    flex-direction: column;
  }
  
  .btn-primary {
    width: 100%;
  }

  .tabs {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .tab-btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .footer-links a {
    margin: 0;
    display: block;
    padding: 0.5rem;
  }
}

details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: 0.3s;
}

details:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

summary {
    padding: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: 0.3s;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    padding: 0 1.2rem 1.2rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
    padding-top: 1rem;
}
