/* Design tokens and variables */

:root {
  /* Brand Colors */
  --color-primary: #BE185D;
  --color-primary-dark: #9D174D;
  --color-accent: #059669;
  --color-white: #ffffff;
  --color-primary-rgba-10: rgba(190, 24, 93, 0.1);
  --color-primary-rgba-20: rgba(190, 24, 93, 0.2);
  --color-accent-rgba-10: rgba(5, 150, 105, 0.1);
  --color-accent-rgba-20: rgba(5, 150, 105, 0.2);
  --color-accent-rgba-30: rgba(5, 150, 105, 0.3);
  --color-accent-rgba-40: rgba(5, 150, 105, 0.4);
  
  /* Shadow System */
  --shadow-logo: 0 4px 12px var(--color-accent-rgba-30), 0 2px 4px var(--color-accent-rgba-20);
  --shadow-logo-hover: 0 6px 16px var(--color-accent-rgba-40), 0 3px 6px rgba(5, 150, 105, 0.3);
  --shadow-button: 0 8px 25px var(--color-accent-rgba-30), 0 4px 10px var(--color-accent-rgba-20);
  --shadow-button-hover: 0 12px 35px var(--color-accent-rgba-40), 0 6px 15px rgba(5, 150, 105, 0.3);
  --shadow-card: 0 20px 40px var(--color-primary-rgba-10), 0 8px 16px var(--color-accent-rgba-10);
  --shadow-card-hover: 0 12px 30px var(--color-accent-rgba-40), 0 6px 12px rgba(5, 150, 105, 0.3);
}

/* Header Container */
header {
  text-align: left;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

/* Logo Container */
.logo {
  text-align: left;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-primary);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* Logo Title */
.logo h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* NFA Logo Box (Pseudo-element) */
.logo h1::before {
  content: "NFA";
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-logo), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  margin-right: var(--spacing-sm);
  vertical-align: 4px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Container */
.hero {
  background: linear-gradient(315deg, 
    var(--color-primary) 0%, 
    var(--color-primary-dark) 65%, 
    var(--color-accent) 100%);
  position: relative;
  overflow: hidden;
}

/* Hero Content Container */
.hero__container {
  position: relative;
  z-index: 2;
}

/* Hero Title */
.hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Description */
.hero__description {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

/* Hero Button */
.hero__button {
  background: linear-gradient(135deg, 
    var(--color-accent) 0%, 
    #047857 100%);
  color: var(--color-white);
  padding: var(--spacing-lg) var(--spacing-xxl);
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-button), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 3;
  overflow: hidden;
}

/* Button Shimmer Effect */
.hero__button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

/* Button Hover State */
.hero__button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-button-hover), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero__button:hover::before {
  left: 100%;
}

/* Button Active State */
.hero__button:active {
  transform: translateY(0) scale(0.98);
}

/* Trust Badges Container */
.hero__trust-badges {
  margin-top: var(--spacing-xl);
  gap: var(--spacing-md);
}

/* Trust Badge */
.hero__trust-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 25px;
}

/* Trust Badge Hover State */
.hero__trust-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */

/* Tablet Styles (768px+) */
@media (min-width: 768px) {
  /* Hero Section */
  .hero__title {
    font-size: 3rem;
  }
  
  .hero__description {
    font-size: 1.3rem;
  }
  
  .hero__button {
    font-size: 1.4rem;
    padding: var(--spacing-xl) var(--spacing-xxl);
  }
  
  /* Features Section */
  .features__card {
    padding: var(--spacing-xxl) var(--spacing-lg);
  }
  
  .features__icon {
    width: 100px;
    height: 70px;
    font-size: 1.8rem;
    padding: 0 var(--spacing-sm);
  }
  
  .features__card:nth-child(1) .features__icon::before,
  .features__card:nth-child(2) .features__icon::before,
  .features__card:nth-child(3) .features__icon::before {
    font-size: 2.2rem;
  }
}

/* Desktop Styles (1024px+) */
@media (min-width: 1024px) {
  /* Hero Section */
  .hero__title {
    font-size: 3.5rem;
  }
  
  /* Features Section */
  .features__card {
    padding: var(--spacing-xxl);
  }
  
  .features__icon {
    width: 120px;
    height: 80px;
    font-size: 2rem;
    padding: 0 var(--spacing-md);
  }
  
  .features__card:nth-child(1) .features__icon::before,
  .features__card:nth-child(2) .features__icon::before,
  .features__card:nth-child(3) .features__icon::before {
    font-size: 2.5rem;
  }
}

/* Features Section Container */
.features {
  background: linear-gradient(135deg, 
    var(--color-background) 0%, 
    rgba(248, 250, 252, 0.5) 100%);
  position: relative;
}

/* Features Grid */
.features__grid {
  gap: var(--spacing-xl);
}

/* Feature Card */
.features__card {
  background: var(--color-white);
  border: 1px solid var(--color-primary-rgba-10);
  border-radius: 16px;
  padding: var(--spacing-xxl);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.features__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.features__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-primary-rgba-20);
}

.features__card:hover::before {
  transform: scaleX(1);
}

/* Feature Icon */
.features__icon {
  width: 130px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 20px;
  border: 3px solid var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-logo);
  transition: all 0.4s ease;
  padding: 0 var(--spacing-md);
}

/* Icon Content */
.features__card:nth-child(1) .features__icon::before {
  content: "📝";
  font-size: 2.5rem;
}

.features__card:nth-child(2) .features__icon::before {
  content: "🔗";
  font-size: 2.5rem;
}

.features__card:nth-child(3) .features__icon::before {
  content: "⚡";
  font-size: 2.5rem;
}

.features__card:hover .features__icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-card-hover);
}