/* ===== ROOT VARIABLES ===== */
:root {
  --green: #1a5c2e;
  --green-dark: #134520;
  --green-light: #e8f5ec;
  --blue: #1e3a6e;
  --blue-dark: #142a52;
  --blue-light: #e8eef8;
  --accent: #f4a623;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-500: #adb5bd;
  --gray-700: #495057;
  --gray-900: #212529;
  --danger: #dc3545;
  --success: #28a745;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
p { color: var(--gray-700); }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--gray-100); }
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.text-white { color: var(--white); }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-center { justify-content: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-danger { background: #fdecea; color: var(--danger); }
.badge-success { background: #e9f7ef; color: var(--success); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-block; background: var(--green-light); color: var(--green);
  padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 600;
  margin-bottom: 16px; letter-spacing: 0.5px;
}
.section-header h2 { color: var(--blue); margin-bottom: 16px; }
.section-header p { color: var(--gray-700); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: var(--transition); border: 2px solid transparent;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,92,46,0.3); }
.btn-secondary { background: var(--blue); color: var(--white); }
.btn-secondary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-outline-white { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--green); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #d4911e; transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.navbar-brand img { height: 72px; width: auto; }
.navbar-menu { display: flex; align-items: center; gap: 8px; }
.navbar-menu a {
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 500; color: var(--gray-700); transition: var(--transition);
}
.navbar-menu a:hover, .navbar-menu a.active { color: var(--green); background: var(--green-light); }
.navbar-actions { display: flex; gap: 10px; align-items: center; }
.navbar-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.navbar-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-900); margin: 5px 0; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green-dark) 100%);
  padding: 80px 0; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/hero-pattern.png') repeat; opacity: 0.05;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-content { color: var(--white); }
.hero-label {
  display: inline-block; background: rgba(255,255,255,0.15);
  padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 600;
  color: var(--white); margin-bottom: 20px; backdrop-filter: blur(10px);
}
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content h1 span { color: var(--accent); }
.hero-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-item strong { color: var(--white); font-size: 1.1rem; }
.trust-item span { color: rgba(255,255,255,0.75); font-size: 13px; }
.hero-image { position: relative; }
.hero-image img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.hero-image-placeholder {
  background: rgba(255,255,255,0.1); border-radius: var(--radius);
  aspect-ratio: 4/3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: rgba(255,255,255,0.5);
  border: 2px dashed rgba(255,255,255,0.2);
}
.hero-image-placeholder .ph-icon { font-size: 48px; margin-bottom: 12px; }
.hero-image-placeholder p { font-size: 13px; }

/* ===== STATS STRIP ===== */
.stats-strip { background: var(--green); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; color: var(--white); }
.stat-item strong { display: block; font-size: 2rem; font-weight: 800; }
.stat-item span { font-size: 14px; color: rgba(255,255,255,0.8); }

/* ===== PROBLEM SECTION ===== */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.problem-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); border-left: 4px solid var(--danger); text-align: center;
}
.problem-icon { font-size: 40px; margin-bottom: 16px; }
.problem-card h3 { color: var(--blue); margin-bottom: 12px; }

/* ===== HOW IT WORKS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 36px; left: 12%; right: 12%;
  height: 2px; background: var(--green-light); z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-size: 1.6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 4px 16px rgba(26,92,46,0.3);
}
.step-card h3 { color: var(--blue); margin-bottom: 10px; }

/* ===== PLANS ===== */
.plans-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; }
.toggle-label { font-weight: 600; color: var(--gray-700); }
.toggle-switch { position: relative; width: 56px; height: 28px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: var(--gray-200); border-radius: 50px;
  cursor: pointer; transition: var(--transition);
}
.toggle-slider::before {
  content: ''; position: absolute; width: 20px; height: 20px; left: 4px; top: 4px;
  background: var(--white); border-radius: 50%; transition: var(--transition);
}
input:checked + .toggle-slider { background: var(--green); }
input:checked + .toggle-slider::before { transform: translateX(28px); }
.save-badge { background: var(--accent); color: var(--white); padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.plan-card {
  border-radius: var(--radius); padding: 36px 28px; border: 2px solid var(--gray-200);
  background: var(--white); transition: var(--transition); position: relative; overflow: hidden;
}
.plan-card:hover { border-color: var(--green); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plan-card.featured { border-color: var(--green); background: var(--green); color: var(--white); transform: scale(1.04); }
.plan-card.featured .plan-price, .plan-card.featured h3, .plan-card.featured p { color: var(--white); }
.plan-best-badge {
  position: absolute; top: 16px; right: -28px; background: var(--accent);
  color: var(--white); padding: 4px 48px; font-size: 12px; font-weight: 700;
  transform: rotate(30deg);
}
.plan-icon { font-size: 36px; margin-bottom: 16px; }
.plan-card h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--blue); }
.plan-card.featured h3 { color: var(--white); }
.plan-price { margin: 20px 0; }
.plan-price .amount { font-size: 2.8rem; font-weight: 800; color: var(--green); }
.plan-card.featured .amount { color: var(--white); }
.plan-price .period { font-size: 14px; color: var(--gray-500); }
.plan-card.featured .period { color: rgba(255,255,255,0.7); }
.plan-price .original { font-size: 16px; color: var(--gray-500); text-decoration: line-through; margin-right: 8px; }
.plan-features { margin: 24px 0; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--gray-200); font-size: 14px;
}
.plan-card.featured .plan-features li { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.plan-features li .check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.plan-card.featured .plan-features li .check { color: var(--accent); }
.plan-card .btn-outline { border-color: var(--green); color: var(--green); }
.plan-card.featured .btn { background: var(--white); color: var(--green); }
.plan-card.featured .btn:hover { background: var(--accent); color: var(--white); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border-top: 4px solid var(--green);
}
.testimonial-stars { color: var(--accent); font-size: 18px; margin-bottom: 14px; }
.testimonial-text { color: var(--gray-700); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  background: var(--green-light); display: flex; align-items: center; justify-content: center;
  color: var(--green); font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author strong { display: block; color: var(--blue); font-weight: 600; }
.testimonial-author span { font-size: 13px; color: var(--gray-500); }
.savings-badge { display: inline-block; background: var(--green-light); color: var(--green); padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; margin-top: 8px; }

/* ===== COMPARISON TABLE ===== */
.comparison-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.comparison-table th { padding: 18px 24px; text-align: left; font-size: 15px; }
.comparison-table th:first-child { background: var(--blue); color: var(--white); }
.comparison-table th:nth-child(2) { background: var(--gray-200); color: var(--gray-700); text-align: center; }
.comparison-table th:nth-child(3) { background: var(--green); color: var(--white); text-align: center; }
.comparison-table td { padding: 16px 24px; border-bottom: 1px solid var(--gray-200); }
.comparison-table td:not(:first-child) { text-align: center; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--gray-100); }
.check-yes { color: var(--success); font-size: 20px; }
.check-no { color: var(--danger); font-size: 20px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
  padding: 80px 0; text-align: center; color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--blue-dark); color: rgba(255,255,255,0.8); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; background:#fff; border-radius:6px; padding:4px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--green); }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--green); display: inline-block; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-contact-item .icon { color: var(--green); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-bottom-links a:hover { color: var(--white); }

/* ===== FORM STYLES ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; color: var(--blue); margin-bottom: 6px; font-size: 14px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 15px; transition: var(--transition);
  background: var(--white); color: var(--gray-900);
}
.form-control:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,92,46,0.1); }
.form-control.error { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: 13px; margin-top: 4px; }
.form-hint { color: var(--gray-500); font-size: 13px; margin-top: 4px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23495057' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* ===== CARDS ===== */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; }
.card-body { padding: 24px; }
.card-title { font-size: 1.1rem; font-weight: 700; color: var(--blue); }

/* ===== ALERT ===== */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; border-left: 4px solid transparent; }
.alert-success { background: #e9f7ef; color: #1e7e34; border-color: var(--success); }
.alert-danger { background: #fdecea; color: #c82333; border-color: var(--danger); }
.alert-info { background: var(--blue-light); color: var(--blue); border-color: var(--blue); }
.alert-warning { background: #fff8e1; color: #856404; border-color: var(--accent); }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { background: var(--blue); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 600; white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
.table tr:hover td { background: var(--gray-100); }
.table tr:last-child td { border-bottom: none; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, var(--blue), var(--green-dark)); padding: 60px 0; text-align: center; color: var(--white); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; font-size: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* ===== DASHBOARD ===== */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: var(--blue-dark); color: var(--white); padding: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar-brand { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-brand img { height: 44px; filter: brightness(0) invert(1); }
.sidebar-nav { padding: 16px 0; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; color: rgba(255,255,255,0.7); font-size: 14px;
  transition: var(--transition); border-left: 3px solid transparent;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  color: var(--white); background: rgba(255,255,255,0.08); border-color: var(--green);
}
.sidebar-nav .nav-icon { font-size: 18px; width: 20px; text-align: center; }
.sidebar-nav .nav-section { padding: 16px 20px 8px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 1px; text-transform: uppercase; }
.dashboard-main { background: var(--gray-100); }
.dashboard-topbar { background: var(--white); padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.dashboard-content { padding: 28px; }
.dash-welcome { margin-bottom: 28px; }
.dash-welcome h2 { color: var(--blue); }
.dash-welcome p { color: var(--gray-500); }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.stat-card-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.stat-card-icon.green { background: var(--green-light); }
.stat-card-icon.blue { background: var(--blue-light); }
.stat-card-icon.orange { background: #fff3e0; }
.stat-card-icon.red { background: #fdecea; }
.stat-card-value { font-size: 1.8rem; font-weight: 800; color: var(--blue); }
.stat-card-label { font-size: 13px; color: var(--gray-500); }

/* ===== MEMBERSHIP CARD ===== */
.membership-card {
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: var(--radius); padding: 32px; color: var(--white);
  position: relative; overflow: hidden; max-width: 440px;
}
.membership-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.membership-card::after {
  content: ''; position: absolute; bottom: -60px; left: -30px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.membership-card-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.membership-card-brand img { height: 36px; filter: brightness(0) invert(1); }
.membership-card-brand span { font-size: 13px; opacity: 0.8; }
.membership-id { font-size: 1.6rem; font-weight: 800; letter-spacing: 2px; margin-bottom: 4px; }
.membership-id-label { font-size: 12px; opacity: 0.7; margin-bottom: 24px; }
.membership-card-info { display: flex; gap: 32px; }
.membership-card-info div strong { display: block; font-size: 1rem; }
.membership-card-info div span { font-size: 12px; opacity: 0.7; }
.membership-status { position: absolute; top: 20px; right: 20px; }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 18px 24px; font-weight: 600; color: var(--blue); cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--white); transition: var(--transition); }
.faq-question:hover { background: var(--green-light); }
.faq-question.open { background: var(--green); color: var(--white); }
.faq-question .faq-icon { font-size: 20px; transition: var(--transition); flex-shrink: 0; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.35s ease; background: var(--gray-100); }
.faq-answer.open { padding: 20px 24px; max-height: 500px; }
.faq-answer p { color: var(--gray-700); line-height: 1.7; }

/* ===== HOSPITAL CARD ===== */
.hospitals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hospital-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.hospital-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hospital-card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--gray-200); }
.hospital-card-image img { width: 100%; height: 100%; object-fit: cover; }
.hospital-card-body { padding: 20px; }
.hospital-card-body h3 { color: var(--blue); margin-bottom: 6px; font-size: 1.05rem; }
.hospital-tag { display: inline-flex; align-items: center; gap: 4px; background: var(--green-light); color: var(--green); padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; margin: 4px 2px; }
.hospital-discount { font-size: 14px; font-weight: 700; color: var(--green); margin-top: 10px; }

/* ===== AUTH PAGES ===== */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-left { background: linear-gradient(135deg, var(--green-dark), var(--blue)); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px; color: var(--white); }
.auth-left img { height: 72px; background:#fff; border-radius:8px; padding:6px; margin-bottom: 32px; }
.auth-left h2 { color: var(--white); margin-bottom: 16px; }
.auth-left p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 360px; text-align: center; }
.auth-features { margin-top: 40px; }
.auth-feature { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.auth-feature .icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.auth-feature strong { display: block; color: var(--white); margin-bottom: 4px; }
.auth-feature p { color: rgba(255,255,255,0.7); font-size: 14px; margin: 0; }
.auth-right { display: flex; align-items: center; justify-content: center; padding: 48px; background: var(--gray-100); }
.auth-box { background: var(--white); border-radius: var(--radius); padding: 40px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-box h3 { color: var(--blue); margin-bottom: 6px; }
.auth-box .subtitle { color: var(--gray-500); margin-bottom: 28px; font-size: 14px; }
.otp-inputs { display: flex; gap: 10px; margin-bottom: 20px; }
.otp-inputs input { flex: 1; text-align: center; font-size: 1.4rem; font-weight: 700; padding: 14px 8px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); }
.otp-inputs input:focus { border-color: var(--green); outline: none; }

/* ===== PLACEHOLDER IMAGE ===== */
.img-placeholder {
  background: var(--gray-200); display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: var(--gray-500);
  font-size: 13px; border-radius: var(--radius-sm);
}
.img-placeholder .ph-text { margin-top: 8px; }

/* ===== ABOUT PAGE ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 40px; border: 4px solid var(--white); box-shadow: var(--shadow); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { color: var(--blue); margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--gray-500); }

/* ===== FORM ELEMENTS ===== */
.form-control { width: 100%; padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,92,46,0.1); }
.form-label { display: block; font-size: 13px; color: var(--gray-700); margin-bottom: 6px; font-weight: 600; }
.form-group { margin-bottom: 20px; }

/* ===== CARD ===== */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 20px; }
.card-header { background: var(--gray-100); padding: 16px 20px; border-bottom: 1px solid var(--gray-200); }
.card-title { margin: 0; font-size: 1rem; color: var(--blue); }
.card-body { padding: 20px; }

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { background: var(--gray-100); color: var(--gray-900); padding: 12px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--gray-200); }
.table td { padding: 12px; border-bottom: 1px solid var(--gray-200); }
.table tbody tr:hover { background: var(--gray-100); }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-info-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-info-item strong { display: block; color: var(--blue); margin-bottom: 4px; }

/* ===== SOLUTION SECTION ===== */
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.solution-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== DASHBOARD / USER PAGES ===== */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; gap: 0; }
.sidebar { background: var(--blue-dark); color: var(--white); padding: 20px 0; }
.sidebar-brand { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 10px; }
.sidebar-brand img { height: 44px; background: var(--white); border-radius: 6px; padding: 4px; }
.sidebar-nav { display: flex; flex-direction: column; }
.sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 20px; color: rgba(255,255,255,0.65); font-size: 13px; border-left: 3px solid transparent; transition: var(--transition); }
.sidebar-nav a:hover, .sidebar-nav a.active { color: #fff; background: rgba(255,255,255,0.08); border-color: var(--green); }
.sidebar-nav .nav-section { padding: 14px 20px 6px; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.35); letter-spacing: 1.5px; text-transform: uppercase; }
.dashboard-main { background: var(--gray-100); display: flex; flex-direction: column; }
.dashboard-topbar { background: var(--white); padding: 20px 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.dashboard-content { padding: 28px; flex: 1; }
.membership-card { background: linear-gradient(135deg, var(--blue) 0%, var(--green-dark) 100%); border-radius: var(--radius); padding: 24px; color: var(--white); box-shadow: var(--shadow-lg); }
.membership-card-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.membership-card-brand img { height: 36px; border-radius: 4px; background: var(--white); padding: 2px; }
.membership-id { font-size: 1.3rem; font-weight: 800; letter-spacing: 2px; margin-bottom: 4px; }
.membership-id-label { font-size: 11px; color: rgba(255,255,255,0.6); margin-bottom: 20px; letter-spacing: 1px; }
.membership-card-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.membership-card-info div strong { display: block; font-size: 14px; }
.membership-card-info div span { font-size: 11px; color: rgba(255,255,255,0.7); }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: center; }
.stat-card-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.stat-card-icon.green { background: var(--green-light); }
.stat-card-icon.blue { background: var(--blue-light); }
.stat-card-icon.orange { background: #ffeee8; }
.stat-card-value { font-size: 1.1rem; font-weight: 700; color: var(--blue); }
.stat-card-label { font-size: 12px; color: var(--gray-500); }

/* ===== ALERTS ===== */
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.alert-success { background: #e9f7ef; color: var(--success); border-left: 4px solid var(--success); }
.alert-warning { background: #fff3cd; color: #856404; border-left: 4px solid #ffc107; }
.alert-danger { background: #fdecea; color: var(--danger); border-left: 4px solid var(--danger); }

/* ===== PAGE SECTIONS ===== */
.page-hero { background: linear-gradient(135deg, var(--blue) 0%, var(--green-dark) 100%); color: var(--white); padding: 60px 0; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.breadcrumb a { color: rgba(255,255,255,0.75); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.5); }

/* ===== IMG PLACEHOLDER ===== */
.img-placeholder { background: var(--gray-200); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gray-500); font-size: 13px; border-radius: var(--radius-sm); }
.img-placeholder .ph-text { margin-top: 8px; }

/* ===== ABOUT PAGE ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 40px; border: 4px solid var(--white); box-shadow: var(--shadow); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { color: var(--blue); margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--gray-500); }

/* ===== TABLE SCROLLING ===== */
.table-wrap {
  display: block !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.table {
  width: 100%;
  min-width: 100% !important;
  border-collapse: collapse;
  display: table !important;
  margin: 0 !important;
  padding: 0 !important;
}

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

.table th {
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: none;
}

.table tbody tr {
  border-bottom: 1px solid var(--gray-200);
}

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

.table td {
  padding: 12px 14px;
  font-size: 13px;
  white-space: nowrap;
  border: none;
}

/* ===== MOBILE APP OPTIMIZATION ===== */
@supports (padding: max(0px)) {
  body { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
}

/* Touch-friendly sizing */
@media (max-width: 768px) {
  button, a.btn, [role="button"], input[type="button"], input[type="submit"] { 
    min-height: 48px;
    min-width: 48px;
  }
  input[type="text"], input[type="email"], input[type="password"], input[type="tel"], 
  input[type="number"], textarea, select {
    min-height: 44px;
    font-size: 16px;
  }
  
  /* Remove tap highlight on mobile */
  a, button { -webkit-tap-highlight-color: transparent; }
  
  /* Better form spacing */
  label { display: block; margin-bottom: 8px; }
  .form-group { margin-bottom: 20px; }
  
  /* Smooth scrolling */
  html { scroll-behavior: smooth; }
  
  /* Card improvements */
  .card { margin-bottom: 16px; border-radius: 12px; }
  
  /* Better alert visibility */
  .alert { border-radius: 12px; margin-bottom: 16px; }
  
  /* Improved link tap area */
  a { display: inline-block; min-height: 40px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.featured { transform: scale(1); }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hospitals-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .plans-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; gap: 32px; }
  .solution-services-grid { grid-template-columns: 1fr; }
  .navbar-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow); }
  .navbar-menu.open { display: flex; }
  .navbar-toggle { display: block; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 13px; }
  .table-wrap { overflow-x: auto; }
  .table { font-size: 13px; }
  .table th, .table td { padding: 10px 8px; }
}

/* ===== RESPONSIVE FORM GRID ===== */
.admin-plans-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.admin-filter-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .plan-card.featured { transform: scale(1); }
  .stat-cards { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .hospitals-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .membership-card-info { grid-template-columns: repeat(2, 1fr) !important; }
  .admin-plans-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 768px) {
  /* ===== MOBILE BASE ===== */
  body { font-size: 14px; }
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  
  /* ===== MOBILE SPACING ===== */
  .section-header { margin-bottom: 32px; }
  .form-group { margin-bottom: 16px; }
  
  /* ===== MOBILE HERO ===== */
  .hero { padding: 48px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { display: none; }
  .hero-content h1 { font-size: 1.6rem; margin-bottom: 16px; }
  .hero-content p { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; }
  .hero-trust { flex-direction: column; gap: 16px; margin-top: 28px; }
  .trust-item { justify-content: flex-start; }
  
  /* ===== MOBILE STATS ===== */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 0; }
  .stat-item strong { font-size: 1.4rem; }
  .stat-item span { font-size: 12px; }
  
  /* ===== MOBILE GRIDS ===== */
  .problem-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .problem-card { padding: 20px 16px; margin-bottom: 12px; }
  .problem-icon { font-size: 32px; }
  .problem-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
  .problem-card p { font-size: 0.9rem; }
  
  .steps-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .steps-grid::before { display: none; }
  .step-number { width: 48px; height: 48px; font-size: 1.3rem; margin: 0 auto 16px; }
  .step-card h3 { font-size: 1rem; margin-bottom: 8px; }
  .step-card p { font-size: 0.9rem; }
  
  .plans-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .plan-card { padding: 20px 16px; border-radius: 12px; margin-bottom: 8px; }
  .plan-card.featured { transform: none; padding: 24px 16px; margin-bottom: 12px; }
  .plan-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
  .plan-price .amount { font-size: 2rem; }
  .plan-price .period { font-size: 12px; }
  .plan-features { margin: 16px 0; }
  .plan-features li { padding: 8px 0; font-size: 13px; }
  .plan-card .btn { width: 100%; justify-content: center; }
  
  .testimonials-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .testimonial-card { padding: 16px; border-radius: 12px; }
  .testimonial-stars { font-size: 16px; }
  .testimonial-text { font-size: 13px; margin-bottom: 16px; }
  .testimonial-avatar { width: 40px; height: 40px; font-size: 16px; }
  
  .hospitals-grid { grid-template-columns: 1fr !important; }
  .hospital-card { border-radius: 12px; margin-bottom: 12px; }
  .hospital-image { height: 180px; }
  .hospital-content { padding: 14px; }
  .hospital-discount { font-size: 13px; }
  
  .admin-plans-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  
  .comparison-table { display: none; }
  
  /* Better touch experience for tables */
  .table { width: 100%; }
  .table-wrap { border-radius: 12px; overflow: hidden; }
  .table th { background: var(--blue); color: var(--white); padding: 12px 10px; font-size: 12px; }
  .table td { padding: 12px 10px; border-bottom: 1px solid var(--gray-200); }
  .table tbody tr { border-bottom: 2px solid var(--gray-100); }
  
  /* Improved plan card touch */
  .plan-card { cursor: pointer; transition: all 0.2s ease; }
  .plan-card:active { transform: scale(0.98); }
  
  /* Better button spacing */
  .btn { margin: 4px; }
  .btn-block { margin: 0; width: 100%; }
  
  .contact-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .contact-info-icon { width: 40px; height: 40px; font-size: 20px; }
  
  .solution-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .solution-services-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .solution-services-grid > div { padding: 16px; }
  
  .hospitals-grid { grid-template-columns: 1fr; }
  .hospital-card { padding: 12px; }
  
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .team-avatar { width: 80px; height: 80px; margin: 0 auto 12px; }
  .team-card h4 { font-size: 0.95rem; }
  
  /* ===== MOBILE BUTTONS ===== */
  .btn { padding: 12px 20px; font-size: 14px; border-radius: 8px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .btn-sm { padding: 8px 14px; font-size: 12px; }
  .btn-block { width: 100%; }
  
  /* ===== MOBILE NAVBAR ===== */
  .navbar { padding: 10px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
  .navbar-inner { padding: 8px 0; display: flex; align-items: center; justify-content: space-between; }
  .navbar-brand { flex: 1; }
  .navbar-brand img { height: 50px; object-fit: contain; }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    flex-direction: column;
    padding: 12px 0;
    z-index: 1000;
  }
  
  .navbar-menu.open { display: flex; }
  .navbar-menu a {
    padding: 12px 20px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    display: block;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s ease;
  }
  
  .navbar-menu a:last-child { border-bottom: none; }
  .navbar-menu a:active { background: var(--gray-100); }
  .navbar-menu a.active { background: var(--green-light); color: var(--green); font-weight: 700; }
  
  .navbar-actions {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  
  .navbar-toggle {
    display: block;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 6px;
  }
  
  .navbar-toggle::after {
    content: '☰';
    display: block;
  }
  
  .navbar-toggle.open::after {
    content: '✕';
  }
  
  /* ===== HERO MOBILE ===== */
  .hero { padding: 40px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; align-items: center; }
  .hero-content h1 { font-size: 1.6rem; line-height: 1.3; margin-bottom: 16px; }
  .hero-content p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 24px; }
  .hero-actions { display: flex; flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-image { display: none; }
  
  .hero-trust {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
  }
  
  .trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .trust-item strong { font-size: 1rem; color: var(--blue); }
  .trust-item span { font-size: 12px; color: var(--gray-600); }
  
  /* ===== PAGE HERO MOBILE ===== */
  .page-hero { padding: 40px 0; background: linear-gradient(135deg, var(--blue-light) 0%, var(--green-light) 100%); }
  .page-hero h1 { font-size: 1.6rem; margin-bottom: 12px; }
  .page-hero p { font-size: 0.95rem; line-height: 1.6; }
  
  /* ===== BREADCRUMB MOBILE ===== */
  .breadcrumb { display: none; }
  
  /* ===== FOOTER MOBILE ===== */
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-grid > div { margin-bottom: 28px; }
  .footer-links { display: flex; flex-direction: column; gap: 12px; }
  .footer-links a { font-size: 13px; color: var(--gray-700); text-decoration: none; }
  
  /* ===== SECTION MOBILE ===== */
  .section { padding: 40px 0; }
  .section-header { text-align: center; margin-bottom: 32px; }
  .section-header h2 { font-size: 1.6rem; margin-bottom: 8px; }
  .section-header p { font-size: 13px; color: var(--gray-600); }
  
  /* ===== MOBILE CARDS ===== */
  .card { margin-bottom: 16px; border-radius: 8px; }
  .card-header { padding: 12px 16px; }
  .card-title { font-size: 0.95rem; }
  .card-body { padding: 16px; }
  
  /* ===== FORM INPUTS MOBILE ===== */
  input[type="text"], input[type="email"], input[type="password"], input[type="tel"], 
  input[type="number"], textarea, select {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  
  textarea { min-height: 120px; resize: vertical; }
  
  /* ===== CHECKBOX & RADIO MOBILE ===== */
  input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; cursor: pointer; }
  
  /* ===== SELECT MOBILE ===== */
  select { appearance: none; background: var(--white) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat;
    background-size: 20px; padding-right: 40px; }
  
  /* ===== BTN MOBILE ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    min-height: 44px;
    min-width: 44px;
  }
  
  .btn:active { transform: scale(0.96); }
  
  .btn-primary { background: var(--green); color: var(--white); }
  .btn-primary:hover { background: #22a870; }
  .btn-primary:active { background: #1a9f60; }
  
  .btn-secondary { background: var(--blue); color: var(--white); }
  .btn-outline { border: 2px solid var(--green); color: var(--green); background: transparent; }
  
  /* ===== ALERT MOBILE ===== */
  .alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    border-left: 4px solid;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .alert-success { background: var(--green-light); border-color: var(--green); color: var(--green); }
  .alert-warning { background: #fff3cd; border-color: var(--accent); color: #664d03; }
  .alert-danger { background: #f8d7da; border-color: var(--danger); color: #721c24; }
  .alert-info { background: #d1ecf1; border-color: #0c5460; color: #0c5460; }
  
  /* ===== MODAL/POPUP MOBILE ===== */
  .modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: flex-end; z-index: 1000; }
  .modal-content { background: var(--white); width: 100%; border-radius: 16px 16px 0 0; padding: 20px; max-height: 90vh; overflow-y: auto; }
  .modal-header { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
  .modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
  
  /* ===== BADGE MOBILE ===== */
  .badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
  .badge-success { background: var(--green-light); color: var(--green); }
  .badge-danger { background: #f8d7da; color: var(--danger); }
  .badge-warning { background: #fff3cd; color: #664d03; }
  
  /* ===== LOADING STATE MOBILE ===== */
  .loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
  }
  
  @keyframes spin { to { transform: rotate(360deg); } }
  
  /* ===== MOBILE TABLES ===== */
  .table-wrap {
    display: block !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: 1px solid var(--gray-200) !important;
  }
  
  .table {
    width: 100% !important;
    min-width: 100% !important;
    display: table !important;
    border-collapse: collapse !important;
    margin: 0 !important;
  }
  
  .table thead {
    background: var(--blue) !important;
    color: var(--white) !important;
  }
  
  .table th {
    padding: 10px 12px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
    border: none !important;
  }
  
  .table td {
    padding: 10px 12px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    border: none !important;
  }
  
  .table tbody tr {
    border-bottom: 1px solid var(--gray-200) !important;
  }
  
  /* ===== MOBILE BADGES ===== */
  .badge { padding: 3px 10px; font-size: 11px; }
  
  /* ===== ADMIN MOBILE ===== */
  .admin-content { padding: 12px 16px; }
  .admin-toggle { font-size: 24px; padding: 6px; }
  .admin-topbar { padding: 12px 16px; gap: 8px; }
  .admin-topbar > div:last-child { gap: 8px; font-size: 12px; }
  .admin-page-title { font-size: 1rem; margin-bottom: 2px; }
  .admin-breadcrumb { display: none; }
  
  /* ===== DASHBOARD MOBILE ===== */
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-content { padding: 16px 0; }
  
  .stat-cards {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 24px;
  }
  
  .stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid var(--green);
  }
  
  .stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
  }
  
  .stat-card-value { font-size: 1.3rem; font-weight: 700; color: var(--blue); }
  .stat-card-label { font-size: 12px; color: var(--gray-600); margin-top: 4px; }
  
  /* ===== MEMBERSHIP CARD MOBILE ===== */
  .membership-card {
    background: linear-gradient(135deg, var(--blue) 0%, #2563eb 100%);
    color: var(--white);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
  }
  
  .membership-card-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }
  
  .membership-card-brand img { height: 32px; }
  
  .membership-id {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }
  
  .membership-card-info {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.2);
  }
  
  .membership-info-item label { font-size: 11px; opacity: 0.8; }
  .membership-info-item strong { display: block; font-size: 0.95rem; margin-top: 2px; }
  
  /* ===== TABLE MOBILE ===== */
  .table-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
  }
  
  .table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
  }
  
  .table thead {
    background: var(--blue);
    color: var(--white);
  }
  
  .table th {
    padding: 12px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    border: none;
  }
  
  .table tbody tr {
    border-bottom: 1px solid var(--gray-200);
    transition: background 0.2s ease;
  }
  
  .table tbody tr:hover { background: var(--gray-100); }
  .table tbody tr:last-child { border-bottom: none; }
  
  .table td {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--gray-700);
  }
  
  /* ===== CARD MOBILE ===== */
  .card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
    margin-bottom: 16px;
    overflow: hidden;
  }
  
  .card-header {
    background: var(--blue-light);
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-200);
  }
  
  .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    margin: 0;
  }
  
  .card-body {
    padding: 16px;
  }
  
  /* ===== STATS MOBILE ===== */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin: 24px 0;
  }
  
  .stat-item {
    text-align: center;
    padding: 16px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  
  .stat-item strong { display: block; font-size: 1.4rem; color: var(--green); margin-bottom: 4px; }
  .stat-item span { display: block; font-size: 12px; color: var(--gray-600); }
  
  /* ===== GRID CARDS MOBILE ===== */
  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .problem-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid var(--green);
    margin-bottom: 8px;
  }
  
  .problem-icon { font-size: 32px; margin-bottom: 12px; }
  .problem-card h3 { font-size: 1.1rem; color: var(--blue); margin-bottom: 8px; }
  .problem-card p { font-size: 13px; color: var(--gray-700); line-height: 1.5; }
  
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 1.6rem; }
  .page-hero p { font-size: 0.9rem; }
  
  /* ===== MOBILE ALERTS ===== */
  .alert { padding: 12px 16px; font-size: 13px; margin-bottom: 16px; }
  
  /* ===== MOBILE FOOTER ===== */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { margin-bottom: 24px; }
  
  /* ===== ADMIN PLANS GRID MOBILE ===== */
  .admin-plans-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .dashboard-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .settings-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .dashboard-stat-cards { grid-template-columns: 1fr !important; gap: 12px !important; }
  .form-row-2 { grid-template-columns: 1fr !important; gap: 12px !important; }
  .admin-filter-form { flex-direction: column !important; }
  .admin-filter-form input { width: 100% !important; }
  .admin-filter-form > div { width: 100% !important; display: flex; gap: 8px; flex-wrap: wrap; }
  
  /* ===== CONTACT FORM MOBILE ===== */
  .contact-info-item { gap: 12px; margin-bottom: 20px; }
  .contact-info-icon { width: 36px; height: 36px; font-size: 18px; }
  
  /* ===== SOLUTION SECTION MOBILE ===== */
  .solution-services-grid > div { background: var(--white); border-radius: 8px; padding: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); display: flex; gap: 10px; }
  .solution-services-grid > div span { font-size: 20px; width: 20px; }
  .solution-services-grid > div strong { font-size: 13px; }
  .solution-services-grid > div span:last-of-type { font-size: 12px; }
  
  /* ===== MOBILE TEXT TRUNCATION ===== */
  .table td { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 480px) {
  /* ===== EXTRA SMALL DEVICES ===== */
  * { -webkit-user-select: none; user-select: none; }
  input, textarea, button, a { -webkit-user-select: text; user-select: text; }
  
  body { font-size: 13px; }
  .container { padding: 0 12px; }
  .section { padding: 32px 0; }
  h1 { font-size: 1.5rem; line-height: 1.3; }
  h2 { font-size: 1.2rem; line-height: 1.3; }
  h3 { font-size: 1rem; }
  h4 { font-size: 0.95rem; }
  
  /* ===== SPACING ===== */
  .section-header { padding: 0 12px; margin-bottom: 24px; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header p { font-size: 12px; }
  
  /* ===== BUTTONS ===== */
  .btn {
    padding: 11px 16px;
    font-size: 13px;
    border-radius: 6px;
    min-height: 44px;
  }
  
  .btn-lg { padding: 12px 18px; font-size: 13px; }
  .btn-sm { padding: 8px 12px; font-size: 12px; }
  .btn-block { width: 100%; margin: 0 auto; }
  
  /* ===== FORMS ===== */
  .form-control {
    padding: 11px 12px;
    font-size: 16px;
    border-radius: 6px;
  }
  
  .form-label { font-size: 11px; margin-bottom: 5px; }
  .form-group { margin-bottom: 16px; }
  
  /* ===== INPUTS ===== */
  input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
  input[type="number"], textarea, select {
    width: 100%;
    padding: 11px 12px;
    font-size: 16px;
    border-radius: 6px;
  }
  
  textarea { min-height: 100px; }
  
  /* ===== HERO ===== */
  .hero { padding: 32px 0; }
  .hero-content h1 { font-size: 1.4rem; margin-bottom: 12px; }
  .hero-content p { font-size: 0.9rem; margin-bottom: 18px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 10px 14px; font-size: 12px; }
  .hero-trust { margin-top: 20px; gap: 12px; }
  .trust-item { gap: 10px; }
  .trust-item strong { font-size: 0.95rem; }
  .trust-item span { font-size: 11px; }
  
  /* ===== STATS ===== */
  .stats-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .dashboard-stat-cards { grid-template-columns: 1fr !important; gap: 12px !important; }
  .dashboard-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .settings-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .admin-plans-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .stat-item { padding: 14px; }
  .stat-item strong { font-size: 1.2rem; }
  .stat-item span { font-size: 11px; }
  
  /* ===== CARDS ===== */
  .plan-card { padding: 16px 12px; border-radius: 10px; }
  .plan-card h3 { font-size: 1rem; margin-bottom: 6px; }
  .plan-price .amount { font-size: 1.8rem; }
  .plan-features { margin: 12px 0; font-size: 12px; }
  .plan-features li { padding: 6px 0; }
  
  .card { border-radius: 10px; margin-bottom: 14px; }
  .card-header { padding: 12px 14px; }
  .card-title { font-size: 0.95rem; }
  .card-body { padding: 14px; }
  
  /* ===== NAVBAR ===== */
  .navbar { padding: 8px 0; }
  .navbar-brand img { height: 44px; }
  .navbar-toggle { width: 36px; height: 36px; font-size: 20px; }
  .navbar-actions { gap: 6px; }
  
  /* ===== TABLES ===== */
  .table-wrap {
    display: block !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    border-radius: 0 !important;
    border: 1px solid var(--gray-200) !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .table {
    width: 100% !important;
    min-width: 100% !important;
    display: table !important;
    border-collapse: collapse !important;
  }
  
  .table th {
    padding: 8px 10px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
  }
  
  .table td {
    padding: 8px 10px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  
  /* ===== ADMIN ===== */
  .admin-toggle { font-size: 20px; padding: 5px; }
  .admin-content { padding: 12px 12px; }
  .admin-topbar { padding: 10px 12px; gap: 6px; }
  .admin-page-title { font-size: 0.9rem; }
  
  /* ===== DASHBOARD ===== */
  .stat-card { padding: 12px; gap: 10px; }
  .stat-card-icon { width: 40px; height: 40px; font-size: 18px; }
  .stat-card-value { font-size: 1rem; }
  .stat-card-label { font-size: 10px; }
  
  .membership-card { padding: 12px; border-radius: 12px; }
  .membership-id { font-size: 0.95rem; letter-spacing: 1px; }
  .membership-card-brand img { height: 28px; }
  
  /* ===== BADGES ===== */
  .badge { padding: 2px 8px; font-size: 10px; }
  
  /* ===== ALERTS ===== */
  .alert { padding: 12px 14px; font-size: 12px; }
  
  /* ===== CONTACT ===== */
  .contact-info-icon { width: 32px; height: 32px; font-size: 16px; }
  
  /* ===== TESTIMONIALS ===== */
  .testimonial-card { padding: 14px; border-radius: 10px; }
  .testimonial-avatar { width: 36px; height: 36px; font-size: 14px; }
  .testimonial-text { font-size: 12px; }
  
  /* ===== PROBLEM CARDS ===== */
  .problem-card { padding: 16px 12px; border-radius: 10px; }
  .problem-icon { font-size: 28px; }
  .problem-card h3 { font-size: 1rem; margin-bottom: 6px; }
  .problem-card p { font-size: 12px; }
  
  /* ===== STEPS ===== */
  .step-number { width: 38px; height: 38px; font-size: 1rem; }
  
  /* ===== FOOTER ===== */
  .footer-grid > div { margin-bottom: 20px; }
  .footer-links a { font-size: 12px; }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px;
  background: var(--green); color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  cursor: pointer; box-shadow: var(--shadow); opacity: 0; transition: var(--transition);
  z-index: 999; border: none;
}
.scroll-top.visible { opacity: 1; }
.scroll-top:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ===== LOADER ===== */
.page-loader { position: fixed; inset: 0; background: var(--white); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.4s ease; }
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-spinner { width: 48px; height: 48px; border: 4px solid var(--green-light); border-top-color: var(--green); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

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

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 80px; right: 28px;
  width: 52px; height: 52px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4); z-index: 998;
  transition: var(--transition); font-size: 26px;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== PRIMARY COLOR ICONS ===== */
.icon-primary, i.icon-primary { color: var(--green) !important; }
.icon-lg { font-size: 32px; }
.icon-md { font-size: 24px; }
.icon-sm { font-size: 18px; }
.icon-xl { font-size: 48px; }
