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

body {
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background-color: #0d1117;
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background-color: #0d1117;
  border-bottom: 1px solid #1a1a1a;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-weight: bold;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border-radius: 16px;
  padding: 0.75rem 1.5rem;
  transition: background 0.2s ease;
  min-height: 44px;
}

.nav-btn.primary {
  background-color: #2563eb;
  color: black;
  border: none;
}

.nav-btn.secondary {
  background-color: #1f2937;
  color: white;
  border: none;
}

/* Main Layout */
.decluttereasy-main {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Top section: image + text */
.decluttereasy-top {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.decluttereasy-image {
  flex: 0 0 160px;
}

.app-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 16px;
}

.decluttereasy-text {
  flex: 1;
  min-width: 300px;
}

.decluttereasy-text h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.2rem;
  color: #a1a1aa;
  margin-bottom: 1.5rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.btn-primary {
  background-color: #2563eb;
  color: black;
  border: none;
}

.btn-primary:hover {
  background-color: #3b82f6;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #444;
  color: white;
}

.btn-outline:hover {
  background-color: #222;
}

/* Feature Cards Section */
.features-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
  margin-bottom: 3rem;
}

.feature-card {
  flex: 1;
  min-width: 250px;
  max-width: 360px;
  border: 1px solid #2a2a2a;
  padding: 1rem;
  border-radius: 12px;
  background-color: #111;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: #bbb;
}

/* Method Section */
.method-section {
  text-align: center;
  margin-bottom: 3rem;
}

.method-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.method-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.method-step {
  background-color: #1f2937;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.method-arrow {
  color: #2563eb;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Perfect For Section */
.perfect-for-section {
  text-align: center;
}

.perfect-for-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.perfect-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.perfect-for-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: #111;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  font-size: 0.9rem;
}

.perfect-for-icon {
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .features-grid {
    flex-wrap: wrap;
  }
  
  .method-steps {
    gap: 0.5rem;
  }
  
  .method-step {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .perfect-for-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background-color: #0d1117;
  border-top: 1px solid #1a1a1a;
  padding: 1rem 2rem;
  font-size: 0.85rem;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

footer a {
  color: #a1a1aa;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Privacy Page Layout */
.privacy-main {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  flex: 1;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.back-link {
  margin-bottom: 1rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
}

.back-link:hover {
  text-decoration: underline;
}

.updated-date {
  font-size: 0.85rem;
  color: #a1a1aa;
  margin-top: -1rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: bold;
}

h2 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

ul {
  padding-left: 1.25rem;
  list-style: disc;
  color: #d1d5db;
}

.email-link {
  color: #a1a1aa;
  font-weight: 600;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}