@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Rubik:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: #eff1f5;
  --foreground: #161718;
  --card: #ffffff;
  --card-foreground: #161718;
  --primary: #36363a;
  --primary-foreground: #fafaf9;
  --secondary: #f5f5f4;
  --secondary-foreground: #36363a;
  --muted: #78716c;
  --accent: #f5f5f4;
  --accent-foreground: #36363a;
  --destructive: #dc2626;
  --border: #e7e5e4;
  --input: #e7e5e4;
  --ring: #b4a99f;
  --brand: #d7ff65;
  --radius: 0.5rem;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-display: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

html.dark {
  --background: #1a1a1a;
  --foreground: #f5f5f5;
  --card: #2a2a2a;
  --card-foreground: #f5f5f5;
  --primary: #36363a;
  --primary-foreground: #fafaf9;
  --secondary: #3a3a3a;
  --secondary-foreground: #f5f5f5;
  --muted: #a8a29e;
  --accent: #3a3a3a;
  --accent-foreground: #f5f5f5;
  --border: #3a3a3a;
  --input: #3a3a3a;
  --ring: #78716c;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  transition: var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.navbar {
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.8;
}

.logo svg {
  color: var(--brand);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex: 1;
  margin-left: 3rem;
}

.nav-links a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--brand);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-switcher {
  display: flex;
  gap: 0.4rem;
  background-color: var(--secondary);
  padding: 0.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.theme-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.5rem 0.7rem;
  border-radius: calc(var(--radius) - 1px);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.theme-btn:hover {
  color: var(--foreground);
}

.theme-btn.active {
  background-color: var(--brand);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(215, 255, 101, 0.2);
}

.btn-theme {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  font-size: 1.1rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.btn-theme:hover {
  background-color: var(--secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-sans);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--brand);
  color: var(--primary);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    var(--background) 0%,
    var(--secondary) 100%
  );
  position: relative;
  overflow: hidden;
}

/* .hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(215, 255, 101, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
} */

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--foreground);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.mockup {
  background-color: var(--card);
  border-radius: calc(var(--radius) * 2);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
}

.mockup-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border);
}

.mockup-search {
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--brand) 0%,
    rgba(215, 255, 101, 0.4) 100%
  );
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 2px solid var(--brand);
  opacity: 0.8;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mockup-item {
  height: 90px;
  background: linear-gradient(
    135deg,
    var(--brand) 0%,
    rgba(215, 255, 101, 0.5) 100%
  );
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(215, 255, 101, 0.15);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
  font-family: var(--font-display);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--background);
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(215, 255, 101, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--card);
  padding: 2.5rem 2rem;
  border-radius: calc(var(--radius) * 2);
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--brand);
  background: linear-gradient(
    135deg,
    var(--card) 0%,
    rgba(215, 255, 101, 0.05) 100%
  );
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--brand) 0%,
    rgba(215, 255, 101, 0.5) 100%
  );
  border-radius: calc(var(--radius) * 1.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(215, 255, 101, 0.2);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
  font-weight: 600;
}

.feature-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Why Choose Section */
.why-choose {
  padding: 100px 0;
  background-color: var(--secondary);
  position: relative;
}

.why-choose::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(215, 255, 101, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.comparison-item {
  background-color: var(--card);
  padding: 2rem;
  border-radius: calc(var(--radius) * 2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
}

.comparison-icon.check {
  background-color: rgba(215, 255, 101, 0.2);
  color: var(--brand);
}

.comparison-item h4 {
  font-size: 1.2rem;
  color: var(--foreground);
  font-family: var(--font-display);
}

.comparison-item p {
  color: var(--muted-foreground);
}

/* Analytics Section */
.analytics {
  padding: 100px 0;
  background-color: var(--background);
  position: relative;
}

.analytics::before {
  content: "";
  position: absolute;
  top: -5%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(215, 255, 101, 0.07) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.analytics-card {
  background-color: var(--card);
  padding: 2rem;
  border-radius: calc(var(--radius) * 2);
  border: 1px solid var(--border);
}

.analytics-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  font-family: var(--font-display);
}

.analytics-list {
  list-style: none;
}

.analytics-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
}

.badge.success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.badge.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.analytics-note {
  background-color: var(--secondary);
  padding: 1.5rem;
  border-radius: calc(var(--radius) * 2);
  border-left: 4px solid var(--brand);
}

.analytics-note p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* Privacy Section */
.privacy {
  padding: 100px 0;
  background-color: var(--secondary);
  position: relative;
}

.privacy::before {
  content: "";
  position: absolute;
  top: -8%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(215, 255, 101, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.privacy-item {
  background-color: var(--card);
  padding: 2rem;
  border-radius: calc(var(--radius) * 2);
  border: 1px solid var(--border);
  text-align: center;
}

.privacy-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand), rgba(215, 255, 101, 0.5));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 auto 1rem;
  font-family: var(--font-display);
}

.privacy-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
  font-family: var(--font-display);
}

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

/* Privacy Policy */
.privacy-policy {
  padding: 100px 0;
  background-color: var(--background);
  position: relative;
}

.policy-content {
  background-color: var(--card);
  padding: 3rem;
  border-radius: calc(var(--radius) * 2);
  border: 1px solid var(--border);
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--foreground);
  font-family: var(--font-display);
}

.policy-section p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.policy-section ul {
  list-style: none;
  margin-left: 1rem;
}

.policy-section ul li {
  color: var(--muted-foreground);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.policy-section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.policy-section strong {
  color: var(--foreground);
  font-weight: 600;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: #0f0f0f;
  position: relative;
  overflow: hidden;
}

.cta-content {
  text-align: center;
  color: var(--primary-foreground);
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta .btn-primary {
  background-color: var(--brand);
  color: var(--primary);
  position: relative;
  z-index: 2;
}

.cta .btn-primary:hover {
  background-color: rgba(215, 255, 101, 0.9);
  box-shadow: 0 12px 30px rgba(215, 255, 101, 0.3);
}

/* Footer */
.footer {
  background-color: #0f0f0f;
  color: #fafaf9;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand);
}

.footer-section p {
  opacity: 0.8;
  line-height: 1.6;
  color: #fafaf9;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--primary-foreground);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-section a:hover {
  opacity: 1;
  color: var(--brand);
}

/* Professional Spacing & Layout Enhancements */
section {
  position: relative;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Enhanced visual hierarchy */
h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  line-height: 1.7;
}

/* Professional card elevations */
.feature-card,
.comparison-item,
.privacy-item,
.analytics-card {
  backdrop-filter: blur(4px);
}

html.dark .feature-card,
html.dark .comparison-item,
html.dark .privacy-item,
html.dark .analytics-card {
  background-color: rgba(42, 42, 42, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.6;
  color: #fafaf9;
}

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

  .hero .container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .features-grid,
  .comparison,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .policy-content {
    padding: 1.5rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .nav-content {
    height: 60px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .feature-card,
  .analytics-card,
  .privacy-item {
    padding: 1.5rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for scroll fade-in */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.comparison-item,
.privacy-item,
.analytics-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Dark mode toggle smooth transition */
html.dark body {
  background-color: var(--background);
  color: var(--foreground);
}
