/* ============================================================
   SEOMate Landing Page — styles.css
   Brand palette: purple #797ad0 / deep indigo #615daf
   ============================================================ */

:root {
  --primary: #797ad0;
  --primary-dark: #615daf;
  --primary-light: #a8a9e8;
  --bg-gradient-start: #faf6ff;
  --bg-gradient-end: #e6f2ff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--bg-gradient-start);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 12px rgba(121, 122, 208, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-link-active {
  color: var(--primary);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-cta {
  font-size: 0.88rem;
  padding: 9px 20px;
  box-shadow: 0 4px 14px rgba(121, 122, 208, 0.35);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1040 0%, #2d1b69 35%, #1e3a8a 70%, #1e293b 100%);
  padding: 80px 24px 60px;
  min-height: 640px;
  display: flex;
  align-items: center;
}

/* Decorative blobs */
.hero-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #797ad0 0%, #615daf 100%);
  top: -120px;
  left: -100px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 100%);
  bottom: -80px;
  right: 20%;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #a78bfa 0%, #7c3aed 100%);
  top: 40%;
  left: 40%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(121, 122, 208, 0.25);
  border: 1px solid rgba(121, 122, 208, 0.4);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-accent {
  background: linear-gradient(135deg, #a8a9e8 0%, #797ad0 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.hero-image-wrap {
  flex: 1.1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   CTA BUTTON
   ============================================================ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(121, 122, 208, 0.45);
  transition: transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(121, 122, 208, 0.55);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn-light {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-btn-light:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  padding: 100px 0;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 60px;
  line-height: 1.65;
}

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

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(121, 122, 208, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(121, 122, 208, 0.15) 0%, rgba(97, 93, 175, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  background: linear-gradient(135deg, #faf6ff 0%, #eef2ff 100%);
  padding: 100px 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 48px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 18px rgba(121, 122, 208, 0.35);
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step p strong {
  color: var(--primary-dark);
}

.step-arrow {
  flex-shrink: 0;
  color: var(--primary-light);
  padding-top: 52px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1040 0%, #2d1b69 50%, #1e3a8a 100%);
  padding: 100px 24px;
  text-align: center;
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  pointer-events: none;
}

.cta-blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #797ad0, #615daf);
  top: -100px;
  left: -80px;
}

.cta-blob-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #3b82f6, #1d4ed8);
  bottom: -80px;
  right: -60px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 24px;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* ============================================================
   PRIVACY HERO (privacy.html)
   ============================================================ */
.privacy-hero {
  background: linear-gradient(135deg, #1a1040 0%, #2d1b69 50%, #1e3a8a 100%);
  padding: 72px 24px 60px;
  position: relative;
  overflow: hidden;
}

.privacy-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 122, 208, 0.3), transparent 70%);
  top: -160px;
  left: -100px;
  pointer-events: none;
}

.privacy-hero .container {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.privacy-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 10px;
}

.privacy-hero .privacy-updated {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.privacy-hero .privacy-intro {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  max-width: 640px;
  margin-bottom: 0;
}

/* ============================================================
   PRIVACY POLICY
   ============================================================ */
.privacy {
  background: var(--bg-gradient-start);
  padding: 60px 0 100px;
}

.privacy-container {
  max-width: 820px;
}

.privacy .section-title {
  text-align: left;
  margin-bottom: 6px;
}

.privacy-updated {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.privacy-intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.privacy-block {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  padding: 32px;
  margin-bottom: 20px;
}

.privacy-block h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.privacy-block h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 20px 0 10px;
}

.privacy-block h4:first-of-type {
  margin-top: 0;
}

.privacy-block p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.privacy-block p:last-child {
  margin-bottom: 0;
}

.privacy-block ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.privacy-block li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.privacy-block strong {
  color: var(--text-main);
  font-weight: 600;
}

.privacy-block a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.privacy-block a:hover {
  color: var(--primary-dark);
}

/* Privacy table */
.privacy-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border-radius: var(--radius-sm);
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  min-width: 580px;
}

.privacy-table thead {
  background: linear-gradient(135deg, rgba(121, 122, 208, 0.12) 0%, rgba(97, 93, 175, 0.08) 100%);
}

.privacy-table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(121, 122, 208, 0.15);
}

.privacy-table td {
  padding: 12px 14px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  line-height: 1.55;
  vertical-align: top;
}

.privacy-table tbody tr:last-child td {
  border-bottom: none;
}

.privacy-table tbody tr:hover td {
  background: rgba(121, 122, 208, 0.04);
}

.contact-placeholder {
  color: var(--text-light);
  font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text-main);
  padding: 28px 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-link {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--primary-light);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    padding: 60px 24px 48px;
    min-height: auto;
  }

  .hero-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero-sub {
    margin: 0 auto 32px;
  }

  .hero-badge {
    display: block;
    width: fit-content;
    margin: 0 auto 20px;
  }

  .hero h1 br {
    display: none;
  }

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
    align-self: center;
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .privacy .section-title {
    text-align: center;
  }
}

@media (max-width: 540px) {
  .nav-actions {
    gap: 12px;
  }

  .nav-link {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 12px 16px;
  }

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

  .cta-btn {
    font-size: 0.9rem;
    padding: 13px 22px;
  }

  .privacy-block {
    padding: 20px;
  }
}
