/* ========================================
   グリーンガード - Traffic Security
   White + Green #2E7D32 + Yellow #FFC107
   ======================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --green-light: #43A047;
  --yellow: #FFC107;
  --yellow-dark: #FFA000;
  --yellow-light: #FFD54F;
  --white: #FFFFFF;
  --off-white: #F9FBF9;
  --gray-50: #F5F7F5;
  --gray-100: #E8ECE8;
  --gray-200: #D0D6D0;
  --gray-300: #B0B8B0;
  --gray-400: #889088;
  --gray-500: #606860;
  --gray-600: #404840;
  --gray-700: #283028;
  --shadow-sm: 0 2px 8px rgba(46, 125, 50, 0.08);
  --shadow-md: 0 4px 20px rgba(46, 125, 50, 0.12);
  --shadow-lg: 0 8px 40px rgba(46, 125, 50, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- HEADER --- */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; background: transparent; transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(46, 125, 50, 0.1);
}

.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 80px;
}

.logo { display: flex; align-items: center; gap: 10px; }

.logo-text {
  font-size: 1.2rem; font-weight: 900; color: var(--white);
  letter-spacing: 2px; transition: var(--transition);
}

.header.scrolled .logo-text { color: var(--green); }

.nav-list { display: flex; align-items: center; gap: 24px; }

.nav-list a {
  color: var(--white); font-size: 0.85rem; font-weight: 500; position: relative;
  transition: var(--transition);
}

.header.scrolled .nav-list a:not(.nav-cta) { color: var(--gray-600); }

.nav-list a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--green); transition: var(--transition);
}

.nav-list a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--green); color: var(--white) !important;
  padding: 10px 24px; border-radius: 6px; font-weight: 700;
}

.nav-cta:hover { background: var(--green-light); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}

.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition);
}

.header.scrolled .hamburger span { background: var(--green); }

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

.mobile-nav {
  position: fixed; top: 80px; left: 0; width: 100%;
  background: var(--white); z-index: 999;
  transform: translateY(-120%); transition: var(--transition); padding: 20px 0;
  box-shadow: var(--shadow-md);
}

.mobile-nav.active { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mobile-nav a { color: var(--green); font-size: 1rem; font-weight: 500; }

/* --- HERO --- */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }

.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.8) 0%, rgba(46, 125, 50, 0.6) 50%, rgba(27, 94, 32, 0.75) 100%);
}

.hero-content {
  position: relative; z-index: 2; text-align: center; color: var(--white); padding: 0 24px;
}

.hero-sub {
  font-family: 'Inter', sans-serif; font-size: 0.85rem;
  letter-spacing: 6px; color: var(--yellow); margin-bottom: 20px; font-weight: 600;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900;
  line-height: 1.3; margin-bottom: 20px; letter-spacing: 4px;
}

.hero-desc {
  font-size: 1.1rem; line-height: 2; opacity: 0.9;
  margin-bottom: 40px; font-weight: 300;
}

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 40px; border-radius: 6px; font-size: 0.95rem;
  font-weight: 700; letter-spacing: 1px; transition: var(--transition);
  cursor: pointer; border: none; font-family: inherit;
}

.btn-primary { background: var(--yellow); color: var(--green-dark); }

.btn-primary:hover {
  background: var(--yellow-light); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.3);
}

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, 0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }
.btn-full { width: 100%; max-width: 400px; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--white); font-size: 0.7rem; letter-spacing: 3px; opacity: 0.7; z-index: 2;
}

.scroll-line {
  width: 1px; height: 40px; background: var(--white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- SECTIONS --- */
.section { padding: 100px 0; }

.section-label {
  font-family: 'Inter', sans-serif; font-size: 0.8rem;
  letter-spacing: 4px; color: var(--green); margin-bottom: 12px;
  text-align: center; font-weight: 600;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 900;
  text-align: center; color: var(--green-dark); margin-bottom: 16px;
}

.section-subtitle {
  text-align: center; font-size: 1rem; color: var(--gray-400);
  line-height: 2; margin-bottom: 60px;
}

/* --- ABOUT --- */
.about { background: var(--off-white); }

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

.about-image {
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%; height: 400px; object-fit: cover; transition: var(--transition-slow);
}

.about-image:hover img { transform: scale(1.05); }

.about-text h3 { font-size: 1.6rem; color: var(--green-dark); margin-bottom: 20px; line-height: 1.6; }
.about-text p { margin-bottom: 16px; color: var(--gray-500); line-height: 2; }

.about-features { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

.about-feature {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--green-dark); font-size: 0.95rem;
}

/* --- SERVICES --- */
.services { background: var(--white); }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.service-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 12px; padding: 40px; transition: var(--transition);
}

.service-card:hover {
  border-color: var(--green); box-shadow: var(--shadow-lg); transform: translateY(-4px);
}

.service-icon { margin-bottom: 24px; }

.service-card h3 { font-size: 1.3rem; color: var(--green-dark); margin-bottom: 16px; font-weight: 700; }

.service-card p { color: var(--gray-500); line-height: 1.9; margin-bottom: 20px; font-size: 0.95rem; }

.service-features { display: flex; flex-direction: column; gap: 8px; }

.service-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: var(--green-dark); font-weight: 500;
}

.service-features li::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--yellow); flex-shrink: 0;
}

/* --- EDUCATION --- */
.education { background: var(--green-dark); color: var(--white); }
.education .section-label { color: var(--yellow); }
.education .section-title { color: var(--white); }
.education .section-subtitle { color: rgba(255, 255, 255, 0.7); }

.education-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.edu-card {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 12px; padding: 36px; transition: var(--transition);
}

.edu-card:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--yellow); }

.edu-step {
  font-family: 'Inter', sans-serif; font-size: 0.75rem;
  letter-spacing: 3px; color: var(--yellow); margin-bottom: 16px; font-weight: 700;
}

.edu-icon { margin-bottom: 16px; }

.edu-card h3 { font-size: 1.1rem; color: var(--yellow); margin-bottom: 12px; font-weight: 700; }

.edu-card p { color: rgba(255, 255, 255, 0.75); line-height: 1.8; font-size: 0.9rem; margin-bottom: 16px; }

.edu-card ul { display: flex; flex-direction: column; gap: 6px; }

.edu-card li {
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.65);
  padding-left: 16px; position: relative;
}

.edu-card li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--yellow);
}

/* --- NUMBERS --- */
.numbers { background: var(--green); padding: 80px 0; }

.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }

.number-item { color: var(--white); }

.number-value {
  font-family: 'Inter', sans-serif; font-size: 3.5rem;
  font-weight: 800; color: var(--yellow); line-height: 1; display: inline;
}

.number-unit { font-size: 1rem; color: var(--yellow); display: inline; margin-left: 4px; }

.number-label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin-top: 8px; }

/* --- WORKS --- */
.works { background: var(--off-white); }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.work-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}

.work-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.work-image { position: relative; height: 220px; overflow: hidden; }

.work-image img {
  width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow);
}

.work-card:hover .work-image img { transform: scale(1.08); }

.work-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--green); color: var(--white);
  padding: 4px 12px; font-size: 0.75rem; font-weight: 700; border-radius: 4px;
}

.work-content { padding: 24px; }
.work-content h3 { font-size: 1.05rem; color: var(--green-dark); margin-bottom: 12px; font-weight: 700; }
.work-content p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.8; }

/* --- FLOW --- */
.flow { background: var(--white); }

.flow-steps {
  max-width: 700px; margin: 0 auto;
  display: flex; flex-direction: column; position: relative;
}

.flow-steps::before {
  content: ''; position: absolute; left: 28px; top: 0; bottom: 0;
  width: 2px; background: var(--gray-100);
}

.flow-step { display: flex; gap: 28px; padding: 28px 0; position: relative; }

.flow-num {
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 800;
  color: var(--white); background: var(--green);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
}

.flow-body h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 8px; font-weight: 700; }
.flow-body p { font-size: 0.95rem; color: var(--gray-500); line-height: 1.9; }

/* --- FAQ --- */
.faq { background: var(--off-white); }

.faq-list {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}

.faq-item {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%; padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 700; color: var(--green-dark);
  text-align: left; font-family: inherit; gap: 16px;
}

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

.faq-arrow { flex-shrink: 0; transition: var(--transition); }
.faq-item.active .faq-arrow { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }

.faq-answer p { padding: 0 28px 24px; color: var(--gray-500); line-height: 2; font-size: 0.95rem; }

/* --- COMPANY --- */
.company { background: var(--white); }

.company-table-wrapper { max-width: 800px; margin: 0 auto; }

.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--gray-100); }

.company-table th {
  padding: 20px 24px; text-align: left; font-weight: 700;
  color: var(--green-dark); width: 180px; font-size: 0.95rem;
  vertical-align: top; background: var(--gray-50);
}

.company-table td { padding: 20px 24px; color: var(--gray-500); font-size: 0.95rem; }

/* --- CONTACT --- */
.contact { background: var(--off-white); }

.contact-wrapper {
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px;
  max-width: 1000px; margin: 0 auto;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item svg { flex-shrink: 0; margin-top: 4px; }
.contact-info-label { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 4px; }
.contact-info-value { font-size: 1.2rem; font-weight: 700; color: var(--green-dark); }
.contact-info-note { font-size: 0.8rem; color: var(--gray-400); margin-top: 4px; }

.contact-form {
  background: var(--white); padding: 40px; border-radius: 12px; box-shadow: var(--shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block; font-size: 0.9rem; font-weight: 700;
  color: var(--green-dark); margin-bottom: 8px;
}

.required { color: #D32F2F; font-size: 0.75rem; margin-left: 4px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--gray-200);
  border-radius: 6px; font-size: 1rem; font-family: inherit;
  color: var(--gray-600); transition: var(--transition); background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group textarea { resize: vertical; }
.form-privacy { margin-bottom: 24px; }

.form-privacy label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: var(--gray-500); cursor: pointer;
}

.form-privacy a { color: var(--green); text-decoration: underline; }
.contact-form .btn { display: flex; margin: 0 auto; }

/* --- FOOTER --- */
.footer { background: var(--green-dark); color: var(--white); padding: 60px 0 0; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 1.1rem; font-weight: 900;
}

.footer-brand p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); line-height: 1.8; }

.footer-nav h4 { font-size: 0.9rem; font-weight: 700; color: var(--yellow); margin-bottom: 16px; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-nav a:hover { color: var(--yellow); }
.footer-nav li:not(:has(a)) { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.3); }

/* --- ANIMATIONS --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .education-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 64px; }
  .hero { min-height: 600px; }
  .hero-title { font-size: 2rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .section { padding: 70px 0; }
  .section-title { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .company-table th { width: 120px; padding: 14px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .flow-step { gap: 20px; }
  .flow-num { width: 44px; height: 44px; font-size: 0.8rem; }
  .flow-steps::before { left: 21px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .number-value { font-size: 2.5rem; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 10px 16px; }
  .company-table th { padding-bottom: 4px; background: transparent; }
  .company-table td { padding-top: 0; }
}

/* ========================================
   EXTENDED STYLES - Additional Components
   ======================================== */

/* --- ENHANCED HERO VARIANTS --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.hero-feature-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

/* --- ENHANCED CARD STYLES --- */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card-bordered {
  border: 1px solid var(--gray-100, #E8E8E8);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.3s ease;
}

.card-bordered:hover {
  border-color: currentColor;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card-gradient {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 36px;
  transition: all 0.3s ease;
}

.card-gradient:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 100%);
}

/* --- ENHANCED TYPOGRAPHY --- */
.text-gradient {
  background: linear-gradient(135deg, currentColor, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-xl {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 2px;
}

.text-lg {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
}

.text-md {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
}

.text-sm {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.8;
}

.text-xs {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

/* --- ENHANCED BUTTONS --- */
.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 20px 48px;
  font-size: 1.05rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.btn-ghost {
  background: transparent;
  border: none;
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  opacity: 0.7;
}

/* --- ENHANCED BADGES & TAGS --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: rgba(var(--primary-rgb, 0, 0, 0), 0.1);
  color: var(--primary, currentColor);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid currentColor;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.tag:hover {
  opacity: 1;
}

/* --- ENHANCED TABLE STYLES --- */
.table-responsive {
  overflow-x: auto;
  border-radius: 8px;
}

.table-striped tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* --- DIVIDERS & DECORATIONS --- */
.divider {
  width: 60px;
  height: 3px;
  margin: 0 auto 24px;
  border-radius: 2px;
}

.divider-left {
  margin-left: 0;
}

.divider-gold { background: #C9A84C; }
.divider-red { background: #D32F2F; }
.divider-green { background: #2E7D32; }
.divider-cyan { background: #06B6D4; }
.divider-coral { background: #E07A5F; }
.divider-blue { background: #4682B4; }

/* --- ENHANCED STAT DISPLAYS --- */
.stat-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-suffix {
  font-size: 1rem;
  margin-left: 2px;
}

.stat-description {
  font-size: 0.85rem;
  margin-top: 8px;
  opacity: 0.7;
}

/* --- ENHANCED TESTIMONIALS --- */
.testimonial-card {
  padding: 36px;
  border-radius: 12px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 24px;
  opacity: 0.1;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* --- ENHANCED PROGRESS & INDICATORS --- */
.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

.indicator-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot.active {
  background: currentColor;
  transform: scale(1.2);
}

/* --- ENHANCED TIMELINE --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.1);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: white;
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.7;
}

/* --- ENHANCED MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 12px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.5rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.modal-close:hover {
  opacity: 1;
}

/* --- ENHANCED TOOLTIP --- */
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.8);
  color: white;
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

/* --- ENHANCED SKELETON LOADING --- */
.skeleton {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 25%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.06) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

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

.skeleton-text {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-title {
  height: 24px;
  width: 60%;
  margin-bottom: 16px;
}

.skeleton-image {
  height: 200px;
  border-radius: 8px;
}

/* --- ENHANCED SCROLL ANIMATIONS --- */
.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.rotate-in {
  opacity: 0;
  transform: rotate(-5deg) scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.rotate-in.visible {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* --- ENHANCED ACCESSIBILITY --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus-visible:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* --- ENHANCED SPACING UTILITIES --- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mt-6 { margin-top: 64px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.mb-6 { margin-bottom: 64px; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }
.py-6 { padding-top: 64px; padding-bottom: 64px; }

.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 8px; padding-right: 8px; }
.px-2 { padding-left: 16px; padding-right: 16px; }
.px-3 { padding-left: 24px; padding-right: 24px; }
.px-4 { padding-left: 32px; padding-right: 32px; }

/* --- ENHANCED FLEX & GRID UTILITIES --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

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

/* --- ENHANCED RESPONSIVE UTILITIES --- */
.hide-mobile { display: block; }
.show-mobile { display: none; }

@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .show-mobile { display: block; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-features { flex-direction: column; gap: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-number { font-size: 2rem; }
}

@media (max-width: 480px) {
  .card-grid-4 { grid-template-columns: 1fr; }
  .tag-list { gap: 6px; }
  .badge { font-size: 0.7rem; padding: 3px 8px; }
}

/* --- ENHANCED PRINT STYLES --- */
@media print {
  .header, .footer, .hero, .hamburger, .mobile-nav {
    display: none !important;
  }
  
  .section {
    padding: 30px 0;
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a { text-decoration: underline; }
  
  .btn { display: none; }
}
