/* tweakvip – shared layout, mobile-first */
:root {
  --bg-dark: #0d0d12;
  --bg-card: #16161d;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --text: #f5f5f7;
  --text-muted: #a1a1aa;
  --white: #ffffff;
  --wave-height: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header / Nav */
.site-header {
  background: var(--bg-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: block;
  line-height: 0;
  border: none;
  outline: none;
  box-shadow: none;
}

.logo img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border: none;
  border-radius: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo:hover img {
  opacity: 0.9;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  background: linear-gradient(160deg, #1a1625 0%, var(--bg-dark) 60%);
  padding: 3rem 0 4rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.hero .lead {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--text);
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cta:hover {
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
}

.hero-img {
  width: 100%;
  max-width: 140px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  border: none;
  border-radius: 12px;
  box-shadow: none;
}

@media (min-width: 768px) {
  .hero-img {
    max-width: 180px;
  }
}

/* Two-column sections */
.section {
  padding: 3rem 0;
}

.section--light {
  background: var(--white);
  color: #1a1a1a;
}

.section--light a {
  color: var(--accent);
}

.section--dark {
  background: var(--bg-dark);
}

.section-title {
  margin: 0 0 2rem;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  text-align: center;
}

.section--light .section-title {
  color: #1a1a1a;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.two-col__text h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.two-col__text p {
  margin: 0 0 1rem;
}

.two-col__text p:last-child {
  margin-bottom: 0;
}

.section--light .two-col__text h3,
.section--light .two-col__text p {
  color: #2d2d2d;
}

/* Steps (3 columns) */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-num {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

/* Categories (3 columns) */
.categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .categories {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category {
  text-align: center;
  padding: 1.5rem;
}

.category-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.25rem;
}

.section--light .category-icon {
  background: var(--accent);
}

.section--light .category p {
  color: #2d2d2d;
}

.category p {
  margin: 0;
}

/* Features list */
.features-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.features-list li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
}

.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section--light .features-list li::before {
  background: var(--accent);
}

/* Wave divider */
.wave-top {
  margin-top: -1px;
  height: var(--wave-height);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V20c200 0 400-20 600-20s400 20 600 20v20z' fill='%230d0d12'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% var(--wave-height);
}

.wave-bottom {
  margin-bottom: -1px;
  height: var(--wave-height);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0v20c200 0 400 20 600 20s400-20 600-20V0z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat top center;
  background-size: 100% var(--wave-height);
}

/* Why section (gradient) */
.section--accent {
  background: linear-gradient(160deg, #2d2640 0%, #1a1625 100%);
  padding: 3rem 0;
  text-align: center;
}

.section--accent .section-title {
  color: var(--text);
}

.section--accent p {
  max-width: 640px;
  margin: 0 auto 1rem;
  color: var(--text-muted);
}

.keywords-block {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.keywords-block strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* Footer */
.site-footer {
  background: #1a1625;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--accent-light);
}

/* Placeholder for images */
.img-placeholder {
  aspect-ratio: 4/5;
  max-width: 320px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section--light .img-placeholder {
  background: #e5e5e5;
  color: #666;
}

.section-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  display: block;
}

.section--light .section-img {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Contact form */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-section .section-title {
  margin-bottom: 1rem;
}

.contact-intro {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

button[type="submit"] {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--text);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--accent-light);
}

/* Legal pages */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content ul {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content .last-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
