/* HPT Brand Colors */
:root {
  --hpt-red: #ED1C24;
  --hpt-red-dark: #B8151B;
  --hpt-red-light: #F04E54;
  --hpt-navy: #3D3B3C;
  --hpt-gray: #E8E7E7;
  --hpt-gray-dark: #656263;
  --hpt-white: #ffffff;
  --hpt-success: #10b981;
  --hpt-accent: #f59e0b;
  --hpt-error: #f87171;

  --font-primary: Arial, Helvetica, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--hpt-navy);
  background: var(--hpt-white);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--hpt-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--hpt-navy);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--hpt-gray-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--hpt-red-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--hpt-red-dark);
  color: var(--hpt-white);
}

.btn-primary:hover {
  background: var(--hpt-red);
}

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

.btn-secondary:hover {
  background: var(--hpt-red-dark);
  color: var(--hpt-white);
}

/* Hero Section */
.hero {
  padding: calc(var(--header-height) + 80px) 0 80px;
  background: linear-gradient(135deg, var(--hpt-gray) 0%, var(--hpt-white) 100%);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--hpt-navy);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--hpt-gray-dark);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-image {
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
  padding: 80px 0;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
}

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

.feature-card {
  padding: 32px;
  background: var(--hpt-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--hpt-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--hpt-red);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--hpt-gray-dark);
  font-size: 0.95rem;
}

/* Download Section */
.download {
  padding: 80px 0;
  background: var(--hpt-navy);
  color: var(--hpt-white);
  text-align: center;
}

.download h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.download-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

/* Lead Form - CRM Ready */
.lead-form {
  max-width: 480px;
  margin: 0 auto;
}

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

.lead-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--hpt-white);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.lead-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.lead-form input[type="email"]:focus {
  outline: none;
  border-color: var(--hpt-red-light);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  text-align: left;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.consent-row input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--hpt-red-light);
  cursor: pointer;
}

.consent-error {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--hpt-error);
  text-align: left;
}

.form-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Download Links */
.download-links {
  max-width: 600px;
  margin: 0 auto;
}

.download-links h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.platform-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.platform-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--hpt-white);
  text-decoration: none;
  transition: background 0.2s;
}

.platform-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.platform-btn svg {
  opacity: 0.9;
}

.platform-btn span {
  font-weight: 500;
  font-size: 0.9rem;
}

/* About Section */
.about {
  padding: 80px 0;
  text-align: center;
  background: var(--hpt-gray);
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about p {
  color: var(--hpt-gray-dark);
  max-width: 640px;
  margin: 0 auto 32px;
}

/* Footer */
.footer {
  padding: 32px 0;
  background: var(--hpt-navy);
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

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

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

  .nav {
    display: none;
  }
}
