/*
Theme Name: Payfrit Pads
Theme URI: https://pads.payfrit.com
Author: Payfrit
Description: One-page landing theme for Payfrit Pads — Housing for people who work.
Version: 1.0
License: Proprietary
Text Domain: payfrit-pads
*/

/* ========================================
   CSS Variables
   ======================================== */
:root {
  --black: #0a0a0a;
  --black-light: #141414;
  --black-lighter: #1a1a1a;
  --green: #00ff88;
  --green-hover: #00cc6a;
  --green-dim: rgba(0, 255, 136, 0.1);
  --white: #ffffff;
  --gray: #a0a0a0;
  --gray-dark: #666666;
  --border: #2a2a2a;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--gray);
}

.subhead {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--gray);
  max-width: 600px;
}

/* ========================================
   Layout
   ======================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
}

/* ========================================
   Navigation
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

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

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

.nav-links a {
  font-size: 0.95rem;
  color: var(--gray);
  transition: color 0.2s;
}

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

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .site-header {
    background: #0a0a0a;
    backdrop-filter: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    flex-direction: column;
    align-items: flex-end;
    background: rgba(10, 10, 10, 0.40);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 0 12px;
    padding: 24px 32px;
    gap: 20px;
    display: none;
    z-index: 9999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: var(--white);
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

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

.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: var(--black-lighter);
  border-color: var(--gray-dark);
}

.btn-muted {
  background: none;
  padding: 0;
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
}

.btn-muted:hover {
  color: var(--white);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.7) 50%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .subhead {
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* ========================================
   What Are Pads
   ======================================== */
.what-are-pads {
  background: var(--black-light);
}

.what-are-pads-content {
  max-width: 720px;
}

.what-are-pads h2 {
  margin-bottom: 24px;
}

.what-are-pads .lead {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 32px;
}

.pads-traits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.pads-trait {
  padding: 24px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.pads-trait h3 {
  color: var(--green);
  margin-bottom: 0;
}

.what-are-pads .closing {
  font-size: 1rem;
  color: var(--gray-dark);
  font-weight: 500;
}

/* ========================================
   Who Pads Are For
   ======================================== */
.who-for {
  background: var(--black);
}

.who-for-content {
  max-width: 720px;
}

.who-for h2 {
  margin-bottom: 32px;
}

.who-for-list {
  list-style: none;
  margin-bottom: 32px;
}

.who-for-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray);
  font-size: 1.05rem;
}

.who-for-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.who-for .qualifier {
  color: var(--white);
  font-weight: 500;
  margin-bottom: 8px;
}

.who-for .qualifier-note {
  color: var(--gray-dark);
  font-size: 0.95rem;
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
  background: var(--black-light);
}

.how-it-works h2 {
  margin-bottom: 64px;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--green-dim);
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 12px;
  margin-bottom: 20px;
}

.step h3 {
  margin-bottom: 8px;
  color: var(--white);
}

.how-it-works .aside {
  text-align: center;
  color: var(--gray-dark);
  font-size: 0.9rem;
  font-style: italic;
}

/* ========================================
   What Makes Pads Different
   ======================================== */
.different {
  background: var(--black);
}

.different-content {
  max-width: 720px;
}

.different h2 {
  margin-bottom: 32px;
}

.no-list {
  list-style: none;
  margin-bottom: 32px;
}

.no-list li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray);
  font-size: 1.05rem;
}

.no-list li::before {
  content: '\2715';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
}

.different .closing {
  color: var(--white);
  font-weight: 500;
  font-size: 1.1rem;
}

/* ========================================
   Community Section
   ======================================== */
.community {
  background: var(--black-light);
}

.community h2 {
  margin-bottom: 32px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.community-card {
  padding: 28px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.community-card h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.community-card p {
  font-size: 0.95rem;
}

.community .design-note {
  max-width: 600px;
  color: var(--gray-dark);
  font-style: italic;
  font-size: 0.95rem;
}

/* ========================================
   Availability Section
   ======================================== */
.availability {
  background: var(--black);
}

.availability-content {
  max-width: 600px;
}

.availability h2 {
  margin-bottom: 24px;
}

.availability p {
  margin-bottom: 12px;
}

.availability .highlight {
  color: var(--white);
  font-weight: 500;
}

/* ========================================
   Property Owners Section
   ======================================== */
.property-owners {
  background: var(--black-light);
}

.owners-content {
  max-width: 640px;
}

.owners-content h2 {
  margin-bottom: 16px;
}

.owners-content .subhead {
  margin-bottom: 32px;
}

.owner-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.owner-form .form-group {
  flex: 1;
}

.owner-form .form-group.full-width {
  flex: 1 1 100%;
}

.owner-form label {
  display: block;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.owner-form input,
.owner-form select,
.owner-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.owner-form input:focus,
.owner-form select:focus,
.owner-form textarea:focus {
  outline: none;
  border-color: var(--green);
}

.owner-form input::placeholder,
.owner-form textarea::placeholder {
  color: var(--gray-dark);
}

.owner-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.owner-form select option {
  background: var(--black);
  color: var(--white);
}

.owner-form textarea {
  resize: vertical;
  min-height: 80px;
}

.owner-form .btn {
  margin-top: 4px;
}

@media (max-width: 600px) {
  .owner-form .form-row {
    flex-direction: column;
    gap: 16px;
  }
}

/* ========================================
   CTA / Waitlist Section
   ======================================== */
.waitlist {
  background: var(--black-light);
  text-align: center;
  padding: 120px 0;
}

.waitlist h2 {
  margin-bottom: 16px;
}

.waitlist .subhead {
  margin: 0 auto 40px;
}

.waitlist-form {
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-form .form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"],
.waitlist-form select {
  flex: 1;
  padding: 14px 18px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: none;
  border-color: var(--green);
}

.waitlist-form input::placeholder {
  color: var(--gray-dark);
}

.waitlist-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.waitlist-form select option {
  background: var(--black);
  color: var(--white);
}

.waitlist-form .btn {
  white-space: nowrap;
}

.waitlist .small-text {
  font-size: 0.85rem;
  color: var(--gray-dark);
  margin-top: 16px;
}

.form-success {
  background: var(--green-dim);
  border: 1px solid var(--green);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.form-success h3 {
  color: var(--green);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--white);
}

.form-error {
  background: rgba(255, 100, 100, 0.1);
  border: 1px solid #ff6464;
  border-radius: 8px;
  padding: 12px 16px;
  color: #ff6464;
  margin-bottom: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 480px) {
  .waitlist-form .form-row {
    flex-direction: column;
  }

  .waitlist-form .btn {
    width: 100%;
  }
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

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

.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray-dark);
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--gray);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.875rem;
  color: var(--gray-dark);
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
