/**
 * 超群蛋業 - 全局樣式表
 * CHAU CHIUN EGG - Global Stylesheet
 *
 * 設計理念：簡潔優雅、不花俏卻耐看
 * 品牌色：溫暖橘色系（源自品牌 LOGO）
 */

/* ==================== CSS Variables ==================== */
:root {
  /* 品牌主色 - 橘色系 */
  --brand-primary: #F5A623;
  --brand-primary-light: #FFBB5C;
  --brand-primary-dark: #E89611;
  --brand-secondary: #FF8C42;

  /* 中性色系 - 簡潔專業 */
  --color-white: #FFFFFF;
  --color-off-white: #FAFAFA;
  --color-light-gray: #F5F5F5;
  --color-gray-100: #E5E5E5;
  --color-gray-200: #CCCCCC;
  --color-gray-300: #999999;
  --color-gray-400: #666666;
  --color-dark: #2C2C2C;
  --color-black: #1A1A1A;

  /* 語意化顏色 */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-info: #3B82F6;

  /* 排版 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", "微軟正黑體", "Noto Sans TC", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Noto Serif TC", serif;

  /* 字體大小 */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */

  /* 間距系統 */
  --space-xs: 0.5rem;      /* 8px */
  --space-sm: 0.75rem;     /* 12px */
  --space-md: 1rem;        /* 16px */
  --space-lg: 1.5rem;      /* 24px */
  --space-xl: 2rem;        /* 32px */
  --space-2xl: 3rem;       /* 48px */
  --space-3xl: 4rem;       /* 64px */
  --space-4xl: 6rem;       /* 96px */

  /* 陰影 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* 圓角 */
  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* 動畫速度 */
  --transition-fast: 150ms;
  --transition-normal: 300ms;
  --transition-slow: 500ms;

  /* 容器寬度 */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
  margin-bottom: var(--space-md);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-md);
  line-height: 1.75;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-primary-dark);
}

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

/* ==================== Container & Layout ==================== */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.section-lg {
  padding: calc(var(--space-4xl) * 1.5) 0;
}

/* ==================== Navigation ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar-logo {
  height: 75px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 180px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  margin-left: -10px;
  transition: all var(--transition-normal);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-logo:hover img {
  transform: scale(1.03);
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
  align-items: center;
}

.navbar-menu a {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark);
  position: relative;
  padding: var(--space-sm) 0;
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
}

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

.navbar-menu a:hover {
  color: var(--brand-primary);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

/* 企業入口連結樣式 */
.nav-enterprise-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--color-gray-400) !important;
  padding: 6px 12px !important;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-fast);
  margin-left: 8px;
}

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

.nav-enterprise-link svg {
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.nav-enterprise-link:hover {
  color: var(--color-gray-400) !important;
  background: var(--color-off-white);
  border-color: var(--color-gray-200);
}

.nav-enterprise-link:hover svg {
  opacity: 1;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.navbar-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-dark);
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--brand-primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--color-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--color-black);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
}

.btn-outline:hover {
  background: var(--brand-primary);
  color: var(--color-white);
}

.btn-line {
  background: #06C755;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-line:hover {
  background: #05B54D;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: calc(var(--space-xs) * 0.75) var(--space-md);
  font-size: var(--text-sm);
}

/* ==================== Hero Section ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #FFF9F0 0%, #FFFFFF 100%);
  padding-top: 80px;
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.25;
  filter: blur(1px) brightness(1.1);
  transform: scale(1.05);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, #FFF9F0 0%, transparent 30%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  max-width: 700px;
  margin-right: auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-gray-400);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ==================== Cards ==================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--color-light-gray);
}

.card-body {
  padding: var(--space-xl);
}

.card-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--color-gray-400);
  margin-bottom: var(--space-lg);
}

/* ==================== Grid System ==================== */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ==================== Feature Boxes ==================== */
.feature-box {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--color-off-white);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
}

.feature-box:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: var(--text-4xl);
}

.feature-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  color: var(--color-gray-400);
  line-height: 1.7;
}

/* ==================== Footer ==================== */
.footer {
  background: var(--color-dark);
  color: var(--color-gray-200);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
}

.footer-section p,
.footer-section a {
  color: var(--color-gray-200);
  font-size: var(--text-sm);
  line-height: 1.8;
}

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

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-bottom {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-gray-300);
}

.footer-bottom p {
  margin: 0;
  line-height: 1.8;
}

.footer-divider {
  margin: 0 8px;
  opacity: 0.4;
}

.designer-link {
  color: var(--color-gray-300);
  text-decoration: none;
  transition: all 0.3s ease;
}

.designer-link:hover {
  color: var(--color-primary);
}

/* ==================== Floating CTA ==================== */
.floating-cta {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 28px;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl);
}

.floating-btn-line {
  background: #06C755;
  color: var(--color-white);
}

.floating-btn-phone {
  background: var(--brand-primary);
  color: var(--color-white);
}

/* ==================== Forms ==================== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-dark);
}

.form-control {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ==================== Utility Classes ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-brand { color: var(--brand-primary); }
.text-dark { color: var(--color-dark); }
.text-gray { color: var(--color-gray-400); }
.text-white { color: var(--color-white); }

.bg-brand { background-color: var(--brand-primary); }
.bg-light { background-color: var(--color-off-white); }
.bg-dark { background-color: var(--color-dark); }
.bg-white { background-color: var(--color-white); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

/* ==================== Responsive Design ==================== */

/* Tablets */
@media (max-width: 1024px) {
  :root {
    --space-4xl: 4rem;
  }

  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Landscape & Portrait */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
    --space-3xl: 3rem;
    --space-4xl: 4rem;
  }

  .navbar-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-xl);
  }

  .navbar-menu.active {
    transform: translateX(0);
  }

  .navbar-toggle {
    display: flex;
  }

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

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

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

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .hero-image-container {
    width: 100%;
    opacity: 0.15;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .floating-cta {
    bottom: var(--space-md);
    right: var(--space-md);
  }

  .floating-btn {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }

  .container,
  .container-fluid {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
  }

  .btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
  }

  .feature-box {
    padding: var(--space-xl);
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: var(--text-3xl);
  }
}

/* ==================== Enhanced UI/UX Styles ==================== */

/* Page Loading Animation */
body {
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

/* Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Enhanced Hover Effects */
.hover-lift {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Section Dividers */
.section-divider {
  position: relative;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  border-radius: var(--radius-full);
}

/* Pulse Animation for CTA */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 15px rgba(245, 166, 35, 0);
  }
}

.btn-pulse {
  animation: pulse 2s infinite;
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Enhanced Cards with Border Gradient */
.card-premium {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
}

.badge-success {
  background: var(--color-success);
  color: white;
}

.badge-dark {
  background: var(--color-dark);
  color: white;
}

/* Tooltip Styles */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background: var(--color-dark);
  color: white;
  font-size: 12px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 100;
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 8px);
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--color-gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

/* Counter Animation */
.counter {
  display: inline-block;
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--brand-primary);
}

/* Stats Section Styles */
.stat-item {
  text-align: center;
  padding: var(--space-xl);
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
  transition: transform 0.3s ease;
}

.stat-number.counter-animate {
  display: inline-block;
  min-width: 80px;
}

/* White stat number for dark backgrounds */
.stat-number-white {
  font-size: 48px;
  font-weight: 900;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: none !important;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
  min-width: 80px;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-label-white {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Counter Animation Keyframes */
@keyframes countPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.counter-pulse {
  animation: countPulse 0.3s ease;
}

/* Testimonial Card */
.testimonial-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 100px;
  font-family: Georgia, serif;
  color: var(--brand-primary);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-content {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-gray-400);
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-lg);
}

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

.testimonial-role {
  font-size: var(--text-sm);
  color: var(--color-gray-300);
}

/* Enhanced Feature Icons */
.feature-icon-enhanced {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, rgba(255, 140, 66, 0.1) 100%);
  border-radius: var(--radius-2xl);
  color: var(--brand-primary);
  transition: all var(--transition-normal);
}

.feature-box:hover .feature-icon-enhanced {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-secondary));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}

/* Enhanced Buttons with Ripple Effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
  width: 200px;
  height: 200px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-gray-400);
  font-size: var(--text-sm);
}

.scroll-indicator-icon {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-gray-300);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator-icon::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.5;
  }
}

/* Info Box Styles */
.info-box {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.05) 0%, rgba(255, 140, 66, 0.05) 100%);
  border-left: 4px solid var(--brand-primary);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.info-box-title {
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: var(--space-xs);
}

.info-box-content {
  color: var(--color-gray-400);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Accent Border */
.accent-border {
  position: relative;
}

.accent-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-secondary));
  border-radius: var(--radius-full);
}

/* Numbered List Styles */
.numbered-list {
  counter-reset: list-counter;
  list-style: none;
  padding: 0;
}

.numbered-list li {
  counter-increment: list-counter;
  position: relative;
  padding-left: 50px;
  margin-bottom: var(--space-lg);
}

.numbered-list li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image Overlay */
.image-overlay {
  position: relative;
  overflow: hidden;
}

.image-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.image-overlay:hover::after {
  opacity: 1;
}

/* Stagger Animation Helper */
[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
}

[data-animate-stagger].visible > *:nth-child(1) { animation: fadeInUp 0.6s ease forwards 0.1s; }
[data-animate-stagger].visible > *:nth-child(2) { animation: fadeInUp 0.6s ease forwards 0.2s; }
[data-animate-stagger].visible > *:nth-child(3) { animation: fadeInUp 0.6s ease forwards 0.3s; }
[data-animate-stagger].visible > *:nth-child(4) { animation: fadeInUp 0.6s ease forwards 0.4s; }
[data-animate-stagger].visible > *:nth-child(5) { animation: fadeInUp 0.6s ease forwards 0.5s; }
[data-animate-stagger].visible > *:nth-child(6) { animation: fadeInUp 0.6s ease forwards 0.6s; }

/* Enhanced Scale Animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out;
}

/* Bounce Animation */
@keyframes bounce {
  0%, 20%, 53%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.animate-bounce {
  animation: bounce 1s ease infinite;
}

/* Rotate Animation */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-rotate {
  animation: rotate 8s linear infinite;
}

/* Dot Pattern Background */
.dot-pattern {
  background-image: radial-gradient(rgba(245, 166, 35, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Wave Pattern */
.wave-pattern {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23F5A623' fill-opacity='0.1' d='M0,128L48,138.7C96,149,192,171,288,165.3C384,160,480,128,576,128C672,128,768,160,864,176C960,192,1056,192,1152,176C1248,160,1344,128,1392,112L1440,96L1440,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'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
}

/* Enhanced Floating CTA with Animation */
.floating-cta {
  animation: floatIn 0.5s ease-out;
}

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

.floating-btn {
  position: relative;
}

.floating-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  background: inherit;
  opacity: 0;
  filter: blur(10px);
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.floating-btn:hover::before {
  opacity: 0.5;
}

/* ==================== Print Styles ==================== */
@media print {
  .navbar,
  .floating-cta,
  .btn {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}
