/* Hudson Marketing Website Styles */

/* CSS Custom Properties */
:root {
  /* Colors - aligned with Midnight theme */
  --color-primary: #9333EA;
  --color-primary-dark: #7C22CE;
  --color-primary-light: #A855F7;
  --color-secondary: #C026D3;
  --color-success: #10B981;
  --color-background: #F8F9FA;
  --color-surface: #FFFFFF;
  --color-text: #2C3E50;
  --color-text-light: #6B7280;
  --color-text-lighter: #9CA3AF;
  --color-border: #E5E7EB;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-link {
  color: var(--color-text-light);
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-lg);
}

/* Hero Section */
.hero {
  padding: var(--space-3xl) 0 var(--space-4xl);
  text-align: center;
  background-image: url('images/hero.jpg');
  background-image: url('images/hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.6);
  padding: var(--space-xl) var(--space-2xl);
  border-radius: var(--radius-xl);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(147, 51, 234, 0.1);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .gradient-text {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xl);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.store-badge {
  height: 48px;
  transition: transform var(--transition-fast);
}

.store-badge:hover {
  transform: scale(1.05);
}

.hero-image {
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero-image-placeholder {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/3;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(192, 38, 211, 0.1) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-lighter);
  font-size: var(--font-size-sm);
}

/* Features Section */
.features {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
}

/* Gradient Shimmer Text - matches app's welcome screen */
.gradient-text {
  font-size: var(--font-size-lg);
  font-weight: 600;
  background: linear-gradient(
    90deg,
    #9333EA 0%,
    #C026D3 25%,
    #9333EA 50%,
    #C026D3 75%,
    #9333EA 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Alternating Section Backgrounds */
.section-light {
  background: var(--color-surface);
}

.section-subtle {
  background: var(--color-background);
}

.section-gradient {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-background) 100%);
}

.section-purple-tint {
  background: linear-gradient(180deg, rgba(147, 51, 234, 0.03) 0%, rgba(192, 38, 211, 0.03) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(147, 51, 234, 0.4);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 24px;
}

.feature-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-description {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Social Proof Section */
.social-proof {
  padding: var(--space-4xl) 0;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: #FBBF24;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: var(--font-size-lg);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-role {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

/* FAQ Section */
.faq {
  padding: var(--space-4xl) 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.faq-question {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.faq-answer {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* CTA Section */
.cta {
  padding: var(--space-4xl) 0 var(--space-lg);
  text-align: center;
  background: linear-gradient(180deg, #9333EA 0%, #C026D3 100%);
  color: white;
}

.cta .section-title {
  color: white;
}

.cta .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
}

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

.cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  padding: var(--space-md) 0 var(--space-sm);
  background: #C026D3;
  color: white;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-brand {
  flex: 1;
}

.footer-logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-section h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-xs);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  align-items: center;
  text-align: center;
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
  color: white;
}

/* Legal Pages */
.legal-page {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: var(--color-surface);
  min-height: 60vh;
}

.legal-page h1 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.legal-updated {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-xl);
}

.legal-content {
  max-width: 800px;
  line-height: 1.8;
  color: var(--color-text);
}

.legal-content h2 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content p {
  margin-bottom: var(--space-md);
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-content li {
  margin-bottom: var(--space-sm);
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-title {
    font-size: var(--font-size-5xl);
  }

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

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

@media (min-width: 768px) {
  .nav {
    display: block;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Dark Mode - Midnight Theme */
@media (prefers-color-scheme: dark) {
  :root {
    --color-background: #0A0A0A;
    --color-surface: #151515;
    --color-text: #FFFFFF;
    --color-text-light: #D6D6E7;
    --color-text-lighter: #A7A7C7;
    --color-border: #3A3A3A;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
  }

  .header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: #3A3A3A;
  }

  .logo {
    color: #FFFFFF;
  }

  .hero-content {
    background: rgba(21, 21, 21, 0.85);
  }

  .hero-badge {
    background: rgba(147, 51, 234, 0.2);
  }

  .hero-title {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .section-purple-tint {
    background: linear-gradient(180deg, rgba(147, 51, 234, 0.08) 0%, rgba(192, 38, 211, 0.08) 100%);
  }

  .feature-card {
    background: #151515;
    border-color: #3A3A3A;
  }

  .feature-card:hover {
    border-color: rgba(147, 51, 234, 0.6);
  }

  .testimonial-card {
    background: #151515;
  }

  .faq-item {
    border-bottom-color: #3A3A3A;
  }

  .legal-page {
    background: #0A0A0A;
  }
}
