* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg: #faf8f5;
  --bg-card: #ffffff;
  --border: #e8dfd8;
  --text-primary: #2d2017;
  --text-secondary: #8b7355;
  --text-muted: #b5a48e;
  --accent: #c2703e;
  --accent-light: #d4764e;
  --accent-dark: #b5602f;
  --input-bg: #faf8f5;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-fade-up {
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.animate-slide-up {
  animation: slide-up 0.3s ease-out;
}
.gradient-text {
  background: linear-gradient(135deg, #c2703e, #d4764e, #b5602f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, #d4764e, #c2703e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
nav .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
nav .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #c2703e, #b5602f);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(194, 112, 62, 0.2);
}
nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
nav .nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav .nav-links a:hover {
  color: var(--text-primary);
}
nav .nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-ghost {
  padding: 0.5rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(194, 112, 62, 0.06);
}
.btn-primary {
  padding: 0.625rem 1.5rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #c2703e, #d4764e);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(194, 112, 62, 0.25);
}
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 6px 24px rgba(194, 112, 62, 0.35);
  transform: translateY(-1px);
}
.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.btn-outline {
  padding: 0.625rem 1.5rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5c4d3c;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: #f5f0eb;
  border-color: #d4c4b0;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(194, 112, 62, 0.08) 0%, rgba(212, 118, 78, 0.04) 40%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem 0.375rem 0.5rem;
  border-radius: 999px;
  background: rgba(194, 112, 62, 0.06);
  border: 1px solid rgba(194, 112, 62, 0.12);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: glow-pulse 2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-family: 'Georgia', 'Times New Roman', serif;
}
.hero p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  z-index: 2;
}
.hero-cta .btn-primary {
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  border-radius: 16px;
}
.hero-cta .btn-outline {
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  border-radius: 16px;
}

.showcase {
  padding: 2rem 2rem 6rem;
  position: relative;
  z-index: 2;
}
.showcase-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.showcase-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-family: 'Georgia', 'Times New Roman', serif;
}
.showcase-heading p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto;
}
.tool-explorer {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  height: 370px;
  box-shadow: 0 4px 24px rgba(45, 32, 23, 0.06);
}
.tool-explorer-nav {
  width: 240px;
  min-width: 240px;
  border-right: 1px solid var(--border);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg);
}
.tool-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}
.tool-nav-btn:hover {
  background: rgba(194, 112, 62, 0.05);
}
.tool-nav-btn.active {
  background: rgba(194, 112, 62, 0.1);
  box-shadow: 0 2px 8px rgba(194, 112, 62, 0.08);
}
.tool-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(194, 112, 62, 0.12), rgba(194, 112, 62, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
}
.tool-nav-btn.active .tool-nav-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}
.tool-nav-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s;
}
.tool-nav-btn.active .tool-nav-icon svg {
  stroke: #fff;
}
.tool-nav-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tool-nav-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.25s;
}
.tool-nav-btn.active .tool-nav-name {
  color: var(--accent);
}
.tool-nav-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 400;
}
.tool-explorer-preview {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.tool-preview-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.tool-preview-panel.active {
  opacity: 1;
  pointer-events: auto;
}
.tool-preview-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.stats {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: center;
}
.stat-item {
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.stat-item .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(194, 112, 62, 0.1), rgba(212, 118, 78, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.stat-item .stat-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}
.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #c2703e, #d4764e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.features-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}
.features-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-family: 'Georgia', 'Times New Roman', serif;
}
.features-heading p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  padding: 1.75rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: rgba(194, 112, 62, 0.2);
  box-shadow: 0 8px 30px rgba(194, 112, 62, 0.06);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(194, 112, 62, 0.1), rgba(212, 118, 78, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.cta-section {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(194, 112, 62, 0.06), transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-family: 'Georgia', 'Times New Roman', serif;
}
.cta-section > p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}
.login-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}
.login-card-inner {
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(45, 32, 23, 0.05);
}
.login-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.login-card input[type="text"],
.login-card input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.login-card input:focus {
  border-color: rgba(194, 112, 62, 0.4);
}
.login-card .btn-primary {
  width: 100%;
  padding: 0.875rem;
  font-size: 0.95rem;
  border-radius: 12px;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

footer {
  padding: 2rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(194, 112, 62, 0.06);
  top: 10%;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}
.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(181, 96, 47, 0.04);
  bottom: 20%;
  left: -80px;
  animation: float 10s ease-in-out infinite 1s;
}
.orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(212, 118, 78, 0.04);
  top: 60%;
  right: 10%;
  animation: float 12s ease-in-out infinite 2s;
}

@media (max-width: 768px) {
  nav .nav-links {
    display: none;
  }
  .tool-explorer {
    flex-direction: column;
    min-height: auto;
  }
  .tool-explorer-nav {
    width: 100%;
    min-width: 100%;
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 12px;
    gap: 6px;
  }
  .tool-nav-btn {
    flex-shrink: 0;
    padding: 10px 14px;
  }
  .tool-nav-desc {
    display: none;
  }
  .tool-explorer-preview {
    min-height: 300px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline {
    width: 100%;
    text-align: center;
  }
}
