/* Slimo3D Landing Page — design aligned with reference (white, grey, green) */

:root {
  --color-white: #ffffff;
  --color-bg-light: #f8faf8;
  --color-green: #22c55e;
  --color-green-dark: #16a34a;
  --color-green-light: #dcfce7;
  --color-text: #1f2937;
  --color-text-muted: #6b7280;
  --color-text-light: #9ca3af;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --header-h: 72px;
  --max-w: 1200px;
  --section-pad: 80px;
  --section-pad-sm: 48px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--color-green);
  color: var(--color-white);
  border-color: var(--color-green);
}

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

.btn-secondary {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-border-light);
  border-color: var(--color-text-light);
}

.btn-lg {
  padding: 10px 24px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-nav {
  padding: 8px 18px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-green);
  border-radius: var(--radius);
}

.logo-text {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text);
}

.header .nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
}

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

/* Hero */
.hero {
  padding: 120px 24px 80px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-headline {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

.hero-subheadline {
  margin: 0 0 28px;
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-trust {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-light);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-frame {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16/10;
  background: var(--color-border-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.hero-visual-shape {
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-border-light) 100%);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  transform: rotate(-8deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Social proof */
.social-proof {
  padding: 24px 24px 48px;
  text-align: center;
}

.social-proof-text {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-light);
}

/* Section title */
.section-title {
  margin: 0 0 48px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
}

/* Features */
.features {
  padding: var(--section-pad) 24px;
  background: var(--color-white);
}

.features-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--color-green);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
}

.pro-badge {
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 0.9em;
}

.feature-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* How it works */
.how-it-works {
  padding: var(--section-pad) 24px;
  background: var(--color-white);
}

.steps {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
}

.step-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}

.step-desc {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Pricing */
.pricing {
  padding: var(--section-pad) 24px;
  background: var(--color-white);
}

.pricing-subtitle {
  margin: -32px 0 40px;
  text-align: center;
  font-size: 16px;
  color: var(--color-text-muted);
}

.pricing-cards {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  padding: 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pricing-card-popular {
  border-color: var(--color-green);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.15);
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.pricing-name {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
}

.pricing-price {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
}

.pricing-tagline {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing-features {
  flex: 1;
  margin: 0 0 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing-features .check {
  color: var(--color-green);
  font-weight: 700;
}

.pricing-note {
  max-width: var(--max-w);
  margin: 32px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--color-text-muted);
}

/* Final CTA */
.cta-final {
  padding: 64px 24px;
  background: var(--color-green-light);
  text-align: center;
}

.cta-final-title {
  margin: 0 0 24px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--color-text);
}

.cta-final-sub {
  margin: 20px 0 0;
  font-size: 16px;
  color: var(--color-text-muted);
}

/* Footer */
.footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
}

.footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-copyright {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-light);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-light);
}

.footer-links a:hover {
  color: var(--color-text-muted);
}

.footer-newsletter-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.footer-newsletter-desc {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 360px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
}

.newsletter-input {
  flex: 1;
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
}

.newsletter-input::placeholder {
  color: var(--color-text-light);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-green);
}

.footer-made {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 24px;
  background: #111827;
  font-size: 14px;
  color: var(--color-text-light);
}

.v-logo {
  font-weight: 700;
  color: #8b5cf6;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subheadline {
    max-width: none;
  }

  .hero-ctas {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-legal {
    align-items: center;
  }

  .footer-newsletter-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .newsletter-form {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 48px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .header .nav {
    gap: 16px;
  }

  .nav-link:not(.btn) {
    display: none;
  }

  .hero {
    padding: 40px 16px 56px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

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

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

  .newsletter-form {
    flex-direction: column;
  }
}
