/**
 * DayLoops Marketing Page - Professional Theme
 * Matching web app branding with navy blue, teal, and gold
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* CSS Variables - DayLoops Brand Theme */
:root {
  /* Brand Colors (matching logo) */
  --color-navy: #0B3D5C;           /* Deep Navy Blue - main brand color */
  --color-teal: #00A19C;           /* Teal/Turquoise from logo */
  --color-gold: #D4AF37;           /* Gold from logo */

  /* Neutral Colors */
  --color-white: #FFFFFF;
  --color-cream: #FAFAFA;
  --color-light-gray: #F3F4F6;
  --color-gray: #6B7280;
  --color-dark-gray: #374151;
  --color-black: #1F2937;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0B3D5C 0%, #00A19C 100%);
  --gradient-accent: linear-gradient(135deg, #00A19C 0%, #D4AF37 100%);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  --spacing-5xl: 8rem;

  /* Transitions */
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius: 0.5rem;
  --radius-lg: 1rem;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--color-white);
  color: var(--color-dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11, 61, 92, 0.1);
  padding: var(--spacing-lg) 0;
  box-shadow: 0 2px 8px rgba(11, 61, 92, 0.05);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: color var(--transition-base);
}

.logo:hover {
  color: var(--color-teal);
}

.nav-links {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--color-dark-gray);
  font-weight: 500;
  transition: color var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-teal);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

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

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Hero Section */
.hero {
  position: relative;
  padding: var(--spacing-5xl) var(--spacing-xl);
  text-align: center;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: var(--spacing-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-navy);
  margin-bottom: var(--spacing-xl);
  font-weight: 600;
}

.ornamental-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin: var(--spacing-xl) 0;
}

.divider-line {
  width: 80px;
  height: 2px;
  background: var(--gradient-primary);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-2xl);
}

.btn {
  padding: var(--spacing-lg) var(--spacing-2xl);
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-family);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--color-teal);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 161, 156, 0.3);
}

.btn-primary:hover {
  background: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 161, 156, 0.4);
}

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

.btn-secondary:hover {
  background: var(--color-navy);
  color: white;
  transform: translateY(-2px);
}

/* Features Section */
.features {
  padding: var(--spacing-5xl) var(--spacing-xl);
  background: var(--color-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-3xl);
  color: var(--color-navy);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-2xl);
}

.feature-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 161, 156, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(11, 61, 92, 0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 161, 156, 0.15);
  border-color: var(--color-teal);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-navy);
}

.feature-card p {
  color: var(--color-gray);
  font-size: 1rem;
  line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
  padding: var(--spacing-5xl) var(--spacing-xl);
  background: var(--color-cream);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-3xl);
  margin-top: var(--spacing-3xl);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background: var(--gradient-primary);
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 161, 156, 0.3);
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-navy);
}

.step-card p {
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-5xl) var(--spacing-xl);
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  position: relative;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-lg);
  color: white;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-2xl);
  opacity: 0.95;
}

.cta-section .btn-primary {
  background: white;
  color: var(--color-navy);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.cta-section .btn-primary:hover {
  background: var(--color-gold);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
  padding: var(--spacing-3xl) var(--spacing-xl);
  background: var(--color-navy);
  color: white;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--spacing-lg);
}

.footer-links {
  display: flex;
  gap: var(--spacing-xl);
  justify-content: center;
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--color-teal);
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--spacing-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .nav-links {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .hero {
    padding: var(--spacing-3xl) var(--spacing-lg);
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

@media (max-width: 480px) {
  .features,
  .how-it-works,
  .cta-section {
    padding: var(--spacing-3xl) var(--spacing-lg);
  }
}
