/*
Theme Name: B2B Sales Landing
Description: Modern B2B sales recruitment landing page theme with green color scheme and smooth animations
Author: Your Name
Version: 1.0
License: GPL v2 or later
Text Domain: b2b-sales-landing
*/

/* CSS Variables */
:root {
  --brand-green: #0f9d58;
  --brand-light-green: #34c759;
  --brand-bg-green: #e8f5e9;
  --brand-dark: #212121;
  --brand-white: #ffffff;
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-inter);
  line-height: 1.6;
  color: var(--brand-dark);
  background-color: var(--brand-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-light-green));
  color: var(--brand-white);
  box-shadow: 0 4px 20px rgba(15, 157, 88, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 157, 88, 0.4);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--brand-bg-green) 0%, var(--brand-white) 100%);
  padding: 6rem 0;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-light-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #666;
}

/* Video Section */
.video-section {
  padding: 5rem 0;
  text-align: center;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Benefits Section */
.benefits {
  padding: 5rem 0;
  background-color: #f8fffe;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--brand-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-light-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-white);
  font-size: 1.5rem;
}

/* Quiz Section */
.quiz {
  padding: 5rem 0;
}

.quiz-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--brand-white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-light-green));
  transition: width 0.3s ease;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Footer */
.footer {
  background-color: var(--brand-dark);
  color: var(--brand-white);
  padding: 3rem 0 1rem;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.social-links a {
  color: var(--brand-white);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--brand-light-green);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .video-container iframe {
    height: 300px;
  }
  
  .sticky-cta {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .quiz-form {
    padding: 2rem 1rem;
  }
}