/* ============================================================
   HHpoker俱乐部 - 德扑圈下载 | 六安德扑官网
   Custom Stylesheet
   ============================================================ */

/* ---------- CSS Variables / Root ---------- */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #6366f1;
  --primary-50: #eef2ff;
  --primary-100: #e0e7ff;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --primary-900: #312e81;
  --text-dark: #1e293b;
  --text-body: #475569;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-indigo: 0 10px 40px -10px rgba(79, 70, 229, 0.4);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Section Spacing ---------- */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .badge {
  display: inline-block;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 0.625rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  transition: var(--transition-base);
  white-space: nowrap;
}

.navbar.scrolled .logo {
  color: var(--primary-700);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition-base);
}

.navbar.scrolled .nav-links a {
  color: var(--text-body);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary-600);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-400);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar:not(.scrolled) .nav-links a:hover::after {
  background: #ffffff;
}

.navbar:not(.scrolled) .nav-links a:hover {
  color: #ffffff;
}

.nav-cta {
  background: #ffffff;
  color: var(--primary-700) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 9999px;
  font-weight: 600 !important;
  transition: var(--transition-base) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.nav-cta::after {
  display: none !important;
}

.navbar.scrolled .nav-cta {
  background: var(--primary-600);
  color: #ffffff !important;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: var(--transition-base);
}

.navbar.scrolled .hamburger span {
  background: var(--text-dark);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  transition: var(--transition-base);
}

.mobile-menu a:hover {
  color: var(--primary-light);
}

.mobile-menu .mobile-cta {
  background: var(--primary-600);
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  margin-top: 1rem;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 40%, #6366f1 70%, #818cf8 100%);
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4);
  max-width: 520px;
  width: 100%;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.6s ease;
}

.hero-visual img:hover {
  transform: perspective(1000px) rotateY(0deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
  text-align: center;
}

.btn-primary {
  background: #ffffff;
  color: var(--primary-700);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-indigo {
  background: var(--primary-600);
  color: #ffffff;
  box-shadow: var(--shadow-indigo);
}

.btn-indigo:hover {
  background: var(--primary-700);
  transform: translateY(-3px);
  box-shadow: 0 15px 50px -10px rgba(79, 70, 229, 0.5);
}

/* Button Shine Effect */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  animation: btn-shine 3s infinite;
}

@keyframes btn-shine {
  0% { left: -60%; }
  25% { left: 120%; }
  100% { left: 120%; }
}

/* Button Pulse */
.btn-pulse {
  animation: btn-pulse 2s infinite;
}

@keyframes btn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(79, 70, 229, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
  }
}

/* ---------- Features Section ---------- */
.features {
  background: var(--bg-light);
}

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

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--primary-light));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.25);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--primary-600);
  transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--primary-600);
  color: #ffffff;
  transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---------- Stats Section ---------- */
.stats {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
  color: #ffffff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-item .stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.stat-item .stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
  background: var(--bg-white);
}

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

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.testimonial-card .stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.testimonial-card .review-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-100);
}

.testimonial-author .name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

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

/* ---------- FAQ Section ---------- */
.faq {
  background: var(--bg-light);
}

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

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-base);
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition-base);
}

.faq-question:hover {
  color: var(--primary-600);
}

.faq-question .faq-icon {
  font-size: 1rem;
  color: var(--text-light);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question {
  color: var(--primary-600);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

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

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  border-top: 1px solid var(--primary-50);
  padding-top: 1rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer .footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition-base);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--primary-600);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ---------- About Page ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  color: #ffffff;
}

.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.about-text p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-base);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.team-card .team-info {
  padding: 1.5rem 1rem;
}

.team-card .team-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-card .team-role {
  font-size: 0.85rem;
  color: var(--primary-600);
  font-weight: 500;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-200);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--primary-600);
  border-radius: 50%;
  border: 3px solid var(--primary-100);
}

.timeline-item h4 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.timeline-item .timeline-date {
  font-size: 0.85rem;
  color: var(--primary-600);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---------- Contact Page ---------- */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}

.contact-form-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-base);
  background: var(--bg-light);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: #ffffff;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group .error-message {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 0.375rem;
  display: none;
}

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

.form-submit {
  width: 100%;
  padding: 0.875rem;
  background: var(--primary-600);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}

.form-submit:hover {
  background: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-indigo);
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  font-size: 3rem;
  color: #22c55e;
  margin-bottom: 1rem;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-info-sidebar {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-info-sidebar h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-item .info-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-600);
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.fade-in-up.delay-1 { animation-delay: 0.1s; }
.fade-in-up.delay-2 { animation-delay: 0.2s; }
.fade-in-up.delay-3 { animation-delay: 0.3s; }
.fade-in-up.delay-4 { animation-delay: 0.4s; }
.fade-in-up.delay-5 { animation-delay: 0.5s; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive Overrides ---------- */

/* Tablet / Small Desktop */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  .section-header h2 {
    font-size: 1.75rem;
  }

  /* Navbar */
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 7rem 0 3rem;
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    margin: 0 auto 2rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .hero-visual img {
    max-width: 300px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-item .stat-number {
    font-size: 2.25rem;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-section h2 {
    font-size: 1.75rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* About */
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Contact */
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.625rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    padding: 0.75rem 1.5rem;
  }
}

/* ---------- Utility ---------- */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-600), #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.bg-pattern {
  background-image: radial-gradient(circle, rgba(79, 70, 229, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.separator {
  width: 60px;
  height: 4px;
  background: var(--primary-600);
  border-radius: 2px;
  margin: 1rem auto;
}
