/* ============================================================
   HHPOKER代理联盟 - Custom Styles
   Color Scheme: Business Blue (#1e3a8a) + Gold (#d4a854)
   ============================================================ */

/* CSS Variables */
:root {
  --blue-primary: #1e3a8a;
  --blue-dark: #152c6b;
  --blue-light: #1e40af;
  --blue-lighter: #2563eb;
  --gold-primary: #d4a854;
  --gold-dark: #b8923a;
  --gold-light: #e2c278;
  --gold-lighter: #f0d99a;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.18);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ============================================================
   Navbar Styles
   ============================================================ */
.navbar {
  background: rgba(30, 58, 138, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.navbar .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: color var(--transition-fast);
  padding: 6px 0;
}

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

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-normal);
}

.navbar .nav-link:hover::after {
  width: 100%;
}

.navbar .btn-nav-cta {
  background: linear-gradient(135deg, var(--gold-primary), #c4943a);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(212, 168, 84, 0.4);
  letter-spacing: 0.5px;
}

.navbar .btn-nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  box-shadow: 0 6px 25px rgba(212, 168, 84, 0.6);
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: rgba(15, 23, 42, 0.99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-menu.active {
  display: block;
}

.hamburger {
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #152c6b 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=600') center/cover no-repeat;
  opacity: 0.12;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(30, 58, 138, 0.6) 0%, transparent 70%),
              radial-gradient(ellipse at 70% 30%, rgba(212, 168, 84, 0.15) 0%, transparent 60%);
  z-index: 2;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-lighter) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-cta-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-primary), #c4943a);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 30px rgba(212, 168, 84, 0.5);
  letter-spacing: 1px;
}

.hero-cta-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 168, 84, 0.7);
}

.hero-cta-secondary {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all var(--transition-normal);
  letter-spacing: 1px;
}

.hero-cta-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 168, 84, 0.1);
}

/* Hero Registration Form Card */
.hero-form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(212, 168, 84, 0.3);
}

.hero-form-card .form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-primary);
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold-primary);
}

.hero-form-card .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.hero-form-card .form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 168, 84, 0.15);
}

.hero-form-card .form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 13px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  letter-spacing: 1px;
}

.hero-form-card .form-submit:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-lighter));
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
  transform: translateY(-2px);
}

/* ============================================================
   Features Section
   ============================================================ */
.features-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 0.8rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 3rem;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-slow);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--gold-primary));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-primary);
}

.feature-card .feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(212, 168, 84, 0.12));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-primary);
}

.feature-card .feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.6rem;
}

.feature-card .feature-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
}

/* ============================================================
   Stats Section
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom/cover no-repeat;
  z-index: 1;
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(212, 168, 84, 0.3);
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 1px;
}

/* ============================================================
   Testimonials Section
   ============================================================ */
.testimonials-section {
  background: #ffffff;
  padding: 80px 0;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  border: 1px solid #e2e8f0;
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--gold-primary);
  opacity: 0.2;
  line-height: 1;
  font-family: serif;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-name {
  font-weight: 700;
  color: var(--blue-dark);
}

.testimonial-role {
  font-size: 0.85rem;
  color: #94a3b8;
}

.stars {
  color: var(--gold-primary);
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.faq-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border-left: 4px solid var(--gold-primary);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--blue-dark);
  font-size: 1.02rem;
  transition: all var(--transition-fast);
  user-select: none;
}

.faq-question:hover {
  color: var(--gold-dark);
}

.faq-question .faq-icon {
  font-size: 1.3rem;
  color: var(--gold-primary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(180deg);
  color: var(--blue-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.2rem;
  color: #475569;
  line-height: 1.8;
  font-size: 0.94rem;
}

/* ============================================================
   CTA Banner Section
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 168, 84, 0.1) 0%, transparent 50%);
  animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-banner-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 48px;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 35px rgba(212, 168, 84, 0.5);
  letter-spacing: 1px;
}

.cta-btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(212, 168, 84, 0.7);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #0a0f1a;
  padding: 50px 0 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer h4 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-primary);
}

.footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-block;
  padding: 3px 0;
}

.footer a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   Download Page Specific Styles
   ============================================================ */
.download-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #152c6b 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.download-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  border: 2px solid #e2e8f0;
  cursor: pointer;
}

.download-card:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.download-card.featured {
  border-color: var(--gold-primary);
  position: relative;
}

.download-card.featured::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-primary);
  color: #ffffff;
  font-size: 0.8rem;
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  color: #ffffff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.btn-download:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-lighter));
  box-shadow: 0 8px 30px rgba(30, 58, 138, 0.4);
  transform: translateY(-2px);
}

.download-steps {
  counter-reset: step;
}

.download-steps .step-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2rem;
}

.download-steps .step-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue-primary), var(--gold-primary));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================================
   About Page Specific Styles
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #152c6b 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-primary), var(--gold-primary));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--gold-primary);
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px var(--gold-primary);
}

.timeline-year {
  font-weight: 700;
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.team-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid #e2e8f0;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
  transform: translateY(-5px);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--gold-primary));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
}

/* ============================================================
   Contact Page Specific Styles
   ============================================================ */
.contact-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #152c6b 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-card .form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.contact-form-card .form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 168, 84, 0.15);
}

.contact-form-card textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 1rem 0;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(212, 168, 84, 0.12));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 0.6s ease forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.5s ease forwards;
}

/* Delay classes for staggered animations */
.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }

/* ============================================================
   Scrollbar Styling
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--blue-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dark);
}

/* ============================================================
   Form Validation Styles
   ============================================================ */
.form-input.error,
.form-control.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-input.success,
.form-control.success {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1) !important;
}

.error-message {
  color: #ef4444;
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
}

.error-message.show {
  display: block;
}

/* ============================================================
   Back to Top Button
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gold-primary);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(212, 168, 84, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 168, 84, 0.6);
}

/* ============================================================
   Responsive Styles
   ============================================================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .cta-banner-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.8rem;
  }

  .hero-form-card {
    margin-top: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .feature-card {
    margin-bottom: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-suffix {
    font-size: 1.4rem;
  }

  .cta-banner-title {
    font-size: 1.4rem;
  }

  .cta-btn-gold {
    padding: 14px 36px;
    font-size: 1rem;
  }

  .download-hero,
  .about-hero,
  .contact-hero {
    padding: 100px 0 50px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .navbar .logo-text {
    font-size: 1.1rem;
  }
}
