/* Health Passport Complete CSS */
/* Based on provided design guidelines */

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

:root {
  /* Color Palette */
  --primary-color: #2196F3;
  --sub-color: #64B5F6;
  --accent-color: #1976D2;
  --bg-color: #FFFFFF;
  --text-color: #1a1a1a;
  --gray-light: #f8f9fa;
  --gray-medium: #e9ecef;
  --gray-dark: #6c757d;
  
  /* Fonts */
  --font-primary: 'Noto Sans JP', sans-serif;
  --font-number: 'Roboto', sans-serif;
  
  /* Spacing */
  --section-spacing: 80px;
  --section-spacing-mobile: 40px;
  
  /* Effects */
  --shadow: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-dark);
  font-size: 1.125rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-family: var(--font-primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

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

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

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

.btn-xlarge {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

/* ========================================
   Header
   ======================================== */
.header {
  background: white;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}

.nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow);
  transform: translateY(-100%);
  transition: var(--transition);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 1rem 0;
}

.mobile-menu a {
  display: block;
  padding: 1rem 2rem;
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-medium);
  transition: var(--transition);
}

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

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 20% 50%, var(--primary-color) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, var(--sub-color) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, var(--accent-color) 0%, transparent 50%);
}

.hero-content {
  text-align: center;
  z-index: 1;
}

.service-name {
  display: inline-block;
  background: transparent;
  color: var(--gray-dark);
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: none;
  position: relative;
}

.service-label {
  display: inline-block;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.2em;
  position: relative;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.5rem;
}

.service-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-dark);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: 0 3px 15px rgba(33, 150, 243, 0.15);
  border: 1px solid rgba(33, 150, 243, 0.2);
  transition: var(--transition);
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.25);
}

.badge i {
  color: var(--accent-color);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.feature-item {
  text-align: center;
  padding: 2.5rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

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

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

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--sub-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.feature-item p {
  color: var(--gray-dark);
  line-height: 1.6;
}

/* ========================================
   Flow Section
   ======================================== */
.flow {
  padding: var(--section-spacing) 0;
  background: white;
}

.flow-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.flow-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gray-medium);
  z-index: 0;
}

.flow-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-number {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow);
}

.flow-content {
  padding: 0 1rem;
}

.flow-icon {
  font-size: 2rem;
  color: var(--sub-color);
  margin-bottom: 0.5rem;
}

.flow-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.flow-time {
  display: inline-block;
  background: var(--gray-light);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.875rem;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}

.flow-content p {
  font-size: 0.875rem;
  color: var(--gray-dark);
  line-height: 1.5;
}

/* ========================================
   Treatments Section
   ======================================== */
.treatments {
  padding: var(--section-spacing) 0;
  background: var(--gray-light);
}

.treatment-tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.tab-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 3.5rem !important;
  background: white;
  border: 3px solid var(--gray-medium);
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.5rem !important;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  min-height: 120px !important;
  width: 100%;
}

.tab-btn i {
  font-size: 2.5rem !important;
  margin-right: 0.5rem;
}

.tab-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(41, 128, 185, 0.1) 100%);
  transition: width 0.3s ease;
}

.tab-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(52, 152, 219, 0.2);
}

.tab-btn:hover::before {
  width: 100%;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
  color: white;
  border-color: var(--primary-color);
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(52, 152, 219, 0.3);
}

.tab-btn.active::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1rem;
  font-weight: bold;
  animation: checkmark 0.3s ease;
}

@keyframes checkmark {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(-45deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.tab-pane {
  display: none;
  background: white;
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tab-pane.active {
  display: block;
}

.treatment-header {
  text-align: center;
  margin-bottom: 2rem;
}

.treatment-header h3 {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.treatment-subtitle {
  color: var(--gray-dark);
  font-size: 1.125rem;
}

.problem-box {
  background: #fff3e0;
  border-left: 4px solid #ff9800;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
}

.problem-box p {
  margin: 0;
  line-height: 1.8;
}

.product-highlight {
  background: linear-gradient(135deg, #e8f5e9 0%, #e1f5fe 100%);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ff5252;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.875rem;
}

.product-highlight h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.product-subtitle {
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

.product-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-features li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
}

.product-features i {
  position: absolute;
  left: 0;
  top: 0.7rem;
  color: #4caf50;
}

.price-tag {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-number);
}

.price-note {
  font-size: 0.875rem;
  color: var(--gray-dark);
  font-weight: 400;
}

.other-options {
  margin-top: 2rem;
}

.other-options h5 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

.option-item {
  background: var(--gray-light);
  padding: 1rem;
  border-radius: var(--radius);
  position: relative;
}

.option-item h6 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.option-price {
  color: var(--primary-color);
  font-weight: 700;
  font-family: var(--font-number);
}

.option-item.special {
  background: #fff8e1;
  border: 2px solid #ffc107;
}

.special-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background: #ff5252;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
}

.treatment-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Tab Pricing Section */
.tab-pricing-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: var(--radius);
}

.tab-pricing-section h5 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.medication-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.medication-card {
  background: var(--gray-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  position: relative;
}

.medication-card.featured {
  background: linear-gradient(135deg, #e8f5e9 0%, #e1f5fe 100%);
  border: 2px solid var(--primary-color);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 700;
}

.medication-features {
  list-style: none;
  margin: 1rem 0;
}

.medication-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.medication-features i {
  position: absolute;
  left: 0;
  color: #4caf50;
}

.timeline-box {
  background: #e3f2fd;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 2rem;
}

.timeline-items {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
}

.timeline-item {
  text-align: center;
}

.timeline-period {
  display: block;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--gray-dark);
}

.effectiveness-box {
  background: #e8f5e9;
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 1rem;
}

.test-options {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.test-card {
  background: var(--gray-light);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.test-features {
  list-style: none;
  margin: 1rem 0;
}

.test-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.test-features i {
  position: absolute;
  left: 0;
  color: #4caf50;
}

.risk-alert {
  background: #ffebee;
  border: 2px solid #f44336;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 2rem;
}

.risk-alert h5 {
  color: #c62828;
  margin-bottom: 1rem;
}

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

.risk-item {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: var(--radius);
}

.risk-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #f44336;
  font-family: var(--font-number);
}

.risk-name {
  font-size: 0.875rem;
  color: var(--gray-dark);
}

/* ========================================
   Pricing Section - Complete Implementation
   ======================================== */
.pricing {
  padding: var(--section-spacing) 0;
  background: white;
}

.pricing-note {
  background: #e3f2fd;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 3rem;
  text-align: center;
  color: var(--primary-color);
  font-weight: 500;
}

.pricing-note i {
  margin-right: 0.5rem;
}

.pricing-tables {
  display: grid;
  gap: 3rem;
}

.pricing-category {
  background: var(--gray-light);
  padding: 2rem;
  border-radius: var(--radius);
}

.pricing-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.pricing-category h3 i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.table-responsive {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-table thead {
  background: var(--primary-color);
  color: white;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-medium);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: var(--gray-light);
}

.pricing-table .price {
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-number);
}

.highlight {
  background: #fff3e0 !important;
}

.special-offer {
  background: #fff8e1 !important;
}

.original-price {
  text-decoration: line-through;
  color: var(--gray-dark);
  margin-right: 0.5rem;
}

.sale-price {
  color: #f44336;
  font-weight: 700;
}

.sale-badge {
  background: #f44336;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
}

.campaign-box {
  background: linear-gradient(135deg, #fff3e0 0%, #ffebee 100%);
  border: 2px solid #ff9800;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 3rem;
}

.campaign-box h4 {
  color: #f57c00;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.campaign-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f44336;
  font-family: var(--font-number);
}

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

.faq-categories {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-category h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.faq-accordion {
  display: grid;
  gap: 1rem;
}

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

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

.faq-question:hover {
  background: var(--gray-light);
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary-color);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

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

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

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  line-height: 1.8;
  color: var(--gray-dark);
}

/* モバイル用のタブボタンスタイル */
@media (max-width: 768px) {
  .tab-nav {
    gap: 0.75rem;
    padding: 0 1rem 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  
  .tab-nav::-webkit-scrollbar {
    height: 4px;
  }
  
  .tab-nav::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 2px;
  }
  
  .tab-nav::-webkit-scrollbar-thumb {
    background: var(--gray-medium);
    border-radius: 2px;
  }
  
  .tab-btn {
    padding: 1.5rem 2rem !important;
    font-size: 1.125rem !important;
    min-width: fit-content;
    flex-shrink: 0;
    min-height: 80px !important;
  }
  
  .tab-btn i {
    font-size: 1.5rem !important;
  }
  
  .tab-btn.active {
    transform: scale(1);
  }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  padding: var(--section-spacing) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--sub-color) 100%);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-text {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.cta-button {
  margin-bottom: 3rem;
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary-color);
}

.cta-section .btn-primary:hover {
  background: var(--gray-light);
  transform: translateY(-3px);
}

.cta-links h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-link-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  border-radius: var(--radius);
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.cta-link:hover {
  background: white;
  color: var(--primary-color);
}

.cta-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-disclaimer p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  :root {
    --section-spacing: 40px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  /* Mobile Menu */
  .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  /* Hero */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-badges {
    gap: 0.5rem;
  }
  
  .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Flow */
  .flow-timeline {
    flex-direction: column;
    gap: 2rem;
  }
  
  .flow-timeline::before {
    display: none;
  }
  
  /* Treatments */
  .tab-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
  }
  
  .tab-btn {
    width: 100%;
    min-width: unset;
    padding: 2rem 2.5rem !important;
    font-size: 1.25rem !important;
    min-height: 100px !important;
  }
  
  .tab-pane {
    padding: 2rem 1.5rem;
  }
  
  .option-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-items {
    flex-direction: column;
    gap: 1rem;
  }
  
  .risk-items {
    grid-template-columns: 1fr;
  }
  
  /* Pricing */
  .pricing-category {
    padding: 1.5rem;
  }
  
  .pricing-table {
    font-size: 0.875rem;
  }
  
  .pricing-table th,
  .pricing-table td {
    padding: 0.75rem 0.5rem;
  }
  
  /* CTA */
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-link-grid {
    flex-direction: column;
  }
  
  .cta-link {
    width: 100%;
  }
  
  .cta-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
  }
}

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

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

/* Scroll animations */
[data-aos] {
  opacity: 0;
  transition: all 0.6s ease-out;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(20px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}