/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Unique color scheme different from previous sites */
  --primary: #F2709C;
  --secondary: #9E30F4;
  --accent: #FF9472;
  --dark: #18181B;
  --dark-lighter: #27272A;
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --gradient: linear-gradient(135deg, #FF9472, #F2709C, #9E30F4);
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  
  --max-width: 1200px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-8);
  position: relative;
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Header */
header {
  background-color: rgba(24, 24, 27, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-4) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

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

.site-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links a {
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--text);
  margin: 6px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(242, 112, 156, 0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 148, 114, 0.15), transparent 50%);
  z-index: -1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-8);
}

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

.hero-tagline {
  font-size: 1.25rem;
  margin-bottom: var(--space-8);
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

.cta-group {
  display: flex;
  gap: var(--space-4);
}

/* Buttons */
.primary-button {
  display: inline-block;
  background: var(--gradient);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(242, 112, 156, 0.4);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 112, 156, 0.5);
}

.ghost-button {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: 2px solid rgba(248, 250, 252, 0.2);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ghost-button:hover {
  background-color: rgba(248, 250, 252, 0.05);
  border-color: rgba(248, 250, 252, 0.3);
}

.full-width {
  width: 100%;
  text-align: center;
}

.cta-button {
  background: var(--gradient);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}

.cta-button:hover {
  box-shadow: 0 4px 12px rgba(242, 112, 156, 0.4);
  transform: translateY(-2px);
}

/* Tool Section */
.tool-section {
  padding: var(--space-24) 0;
  background-color: var(--dark-lighter);
}

.tool-showcase {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.tool-ui {
  background-color: var(--dark);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.input-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.input-field {
  margin-bottom: var(--space-4);
}

.input-field label {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.faux-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-3);
  border-radius: var(--radius);
  color: var(--text-muted);
  height: 100px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.option {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.option-value {
  color: var(--primary);
  font-weight: 600;
}

.tool-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-icon {
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.info-item h3 {
  margin-bottom: var(--space-2);
  font-size: 1.25rem;
}

.info-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Features Section */
.features-section {
  padding: var(--space-24) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
}

.feature-card {
  background-color: var(--dark-lighter);
  padding: var(--space-6);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* How To Section */
.how-to-section {
  padding: var(--space-24) 0;
  background-color: var(--dark-lighter);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  align-items: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-content h3 {
  margin-bottom: var(--space-2);
}

.step-content p {
  color: var(--text-muted);
}

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

/* Footer */
footer {
  background-color: rgba(18, 18, 20, 0.95);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.footer-logo {
  width: 60px;
  height: 60px;
}

.footer-brand {
  font-weight: 600;
  font-size: 1.125rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-8);
}

.footer-nav-group h4 {
  font-size: 1rem;
  margin-bottom: var(--space-4);
  color: var(--text-muted);
}

.footer-nav-group ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav-group ul a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-nav-group ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-8);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom p:first-child {
  margin-bottom: var(--space-2);
}

/* Responsive */
@media (max-width: 991px) {
  .tool-showcase {
    grid-template-columns: 1fr;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-visual {
    grid-row: 1;
    margin-bottom: var(--space-8);
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-branding {
    align-items: center;
    margin-bottom: var(--space-8);
  }
}

@media (max-width: 767px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--dark);
    flex-direction: column;
    padding: 80px var(--space-6) var(--space-6);
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .step {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-4);
  }
  
  .step-number {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  :root {
    --space-12: 2rem;
    --space-16: 3rem;
    --space-24: 4rem;
  }
  
  .cta-group {
    flex-direction: column;
  }
  
  .option-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
}
