/* DueIn Shared Styling - Sleek Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-base: #030712;
  --bg-surface: #0b0f19;
  --bg-surface-accent: #111827;
  --primary: #10b981;
  --primary-hover: #34d399;
  --primary-glow: rgba(16, 185, 129, 0.15);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: #1f2937;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* Glassmorphism Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

.logo span {
  color: var(--primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-base);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #059669);
  color: var(--bg-base);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  color: var(--bg-base);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
  background: var(--bg-surface-accent);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(31, 41, 55, 0.5);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

@media (max-width: 968px) {
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Background Gradients */
.glow-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(0,0,0,0) 70%);
  top: 10%;
  right: -5%;
  z-index: -1;
  pointer-events: none;
}

/* Interactive App Mockup (CSS Styled Dashboard) */
.mockup-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.phone-shell {
  background: #090d16;
  border: 12px solid #1f2937;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  font-size: 0.85rem;
}

/* Scrollbar styling for phone mockup */
.phone-screen::-webkit-scrollbar {
  display: none;
}

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

.phone-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.75rem;
}

.phone-header-title {
  font-weight: 700;
  font-size: 1rem;
}

.phone-card {
  background: var(--bg-surface-accent);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.phone-card-metric {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

.phone-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.phone-sub-card {
  background: rgba(31, 41, 55, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.phone-val-green {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
}

.phone-val-warning {
  color: var(--warning);
  font-weight: 600;
  font-size: 1.05rem;
}

.phone-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--bg-surface-accent);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
}

.phone-list-title {
  font-weight: 600;
}

.phone-badge {
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
}

.phone-badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.phone-badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Features Grid */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* Interactive Calculator Styling */
.calc-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input, .form-group select {
  background-color: var(--bg-surface-accent);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--primary);
}

.calc-results {
  background: rgba(16, 185, 129, 0.03);
  border: 1px dashed rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.result-item {
  display: flex;
  flex-direction: column;
}

.result-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.result-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.result-value-sub {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Footer & Legal styling */
.legal-wrapper {
  padding-top: 140px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}

.legal-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--text-primary);
}

.legal-body p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.legal-body ul {
  color: var(--text-secondary);
  margin-bottom: 24px;
  padding-left: 20px;
}

.legal-body li {
  margin-bottom: 8px;
}

/* Screenshots Layout for Account Deletion Page */
.screenshots-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 32px 0;
}

.screenshot-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  transition: border-color 0.2s;
}

.screenshot-card:hover {
  border-color: var(--primary);
}

.screenshot-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.screenshot-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 8px;
}

/* Highlight box for Web Deletion info */
.web-delete-action {
  background: rgba(239, 68, 68, 0.03);
  border: 1px dashed rgba(239, 68, 68, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}

.web-delete-action p {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.web-delete-action p:last-child {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

