/* Easysell1 Erexiva – minimal one-pager */

:root {
  --color-bg: #f4f7fb;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-border: #e2e8f0;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-btn: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --max-width: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.header {
  padding: 1.25rem 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.btn-nav {
  flex-shrink: 0;
  white-space: nowrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-img {
  display: block;
  height: 2rem;
  width: auto;
}

@media (min-width: 500px) {
  .logo-img {
    height: 2.25rem;
  }
}

.logo:hover .logo-img {
  opacity: 0.88;
}

/* Hero */
.hero {
  padding: 2.5rem 0 2rem;
  background: var(--color-surface);
}

.hero-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  line-height: 0;
  text-decoration: none;
  border-radius: var(--radius);
}

.hero-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.hero-link:hover .hero-image {
  opacity: 0.96;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease;
}

@media (min-width: 500px) {
  .hero-image {
    max-width: 380px;
  }
}

/* Content */
.content {
  padding: 2.5rem 0 3rem;
}

.content-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

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

.content-text strong {
  color: var(--color-text);
}

/* CTA */
.cta-section {
  padding: 2rem 0 3rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.cta-lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

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

.btn-secondary:hover {
  background: rgba(37, 99, 235, 0.1);
}

.header .btn-nav {
  min-width: unset;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

@media (min-width: 500px) {
  .header .btn-nav {
    padding: 0.65rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* CTA sticky bottom on mobile */
@media (max-width: 768px) {
  .content {
    padding-bottom: 8rem;
  }

  .cta-section {
    position: sticky;
    bottom: 0;
    z-index: 10;
    padding: 1rem 0 1.25rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    margin-top: auto;
    background: var(--color-surface);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    border-top: 1px solid var(--color-border);
  }

  .cta-lead {
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  .cta-buttons {
    gap: 0.6rem;
  }

  .btn {
    min-width: 140px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Footer */
.footer {
  padding: 1.5rem 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
}
