/* ============================================
   KRESHIM — Legal & Landing Page Styles
   Wellthy-inspired clean, minimal design
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #7BDFF2;
  --primary-dark: #5BC4D9;
  --secondary: #F2B5D4;
  --secondary-dark: #E899BF;
  --accent: #F7D6E0;
  --mint: #B2F7EF;
  --bg: #EFF7F6;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-body: #4A4A5A;
  --text-muted: #8A8A9A;
  --border: #E8E8EE;
  --success: #00B894;
  --warning: #FECB6E;
  --error: #E17055;
  --info: #74B9FF;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--text-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.navbar-brand img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-dark);
  transition: width var(--transition);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-links a.active {
  color: var(--text-dark);
  font-weight: 600;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- Language Switcher --- */
.lang-switcher {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  color: var(--text-dark);
}

.lang-toggle:hover {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 2px rgba(123,223,242,0.15);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 1001;
  min-width: 100px;
  overflow: hidden;
}

.lang-dropdown.open {
  display: flex;
  flex-direction: column;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
  color: var(--text-dark);
  text-align: left;
  width: 100%;
}

.lang-btn:hover {
  background: rgba(123,223,242,0.1);
}

.lang-btn.active {
  background: rgba(123,223,242,0.15);
  font-weight: 700;
  color: var(--primary-dark);
}

.lang-switcher.mobile {
  display: flex;
  justify-content: center;
  padding: 16px 0 8px;
}

.lang-switcher.mobile .lang-dropdown {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

/* Legal language notice */
.legal-lang-notice {
  display: none;
  background: #FFF3CD;
  color: #856404;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid #FFEEBA;
  text-align: center;
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition);
  border-radius: 2px;
}

.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);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-outline:hover {
  background: var(--text-dark);
  color: #fff;
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-white {
  background: #fff;
  color: var(--text-dark);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--bg);
  border-color: var(--bg);
}

/* --- Hero Section --- */
.hero {
  padding: 140px 0 80px;
  background: var(--bg-white);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  touch-action: pan-y;
}

.hero-carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.hero-carousel-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Dots */
.hero-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, opacity 0.2s;
  opacity: 0;
}

.hero-carousel:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: #fff;
}

.carousel-arrow-left {
  left: 12px;
}

.carousel-arrow-right {
  right: 12px;
}

/* Keep old wrapper for backwards compat */
.hero-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}

.hero-float-card.top-right {
  top: -20px;
  right: -20px;
}

.hero-float-card.bottom-left {
  bottom: -20px;
  left: -20px;
}

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.float-icon.blue { background: rgba(123,223,242,0.2); }
.float-icon.pink { background: rgba(242,181,212,0.2); }
.float-icon.green { background: rgba(0,184,148,0.2); }

.float-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.float-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- Stats Section --- */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Features Section --- */
.features {
  padding: 100px 0;
  background: var(--bg-white);
}

.section-header {
  max-width: 600px;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.4rem;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
  background: #fff;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon.blue { background: rgba(123,223,242,0.25); }
.feature-icon.pink { background: rgba(242,181,212,0.25); }
.feature-icon.green { background: rgba(0,184,148,0.2); }
.feature-icon.mint { background: rgba(178,247,239,0.4); }
.feature-icon.warning { background: rgba(254,203,110,0.25); }
.feature-icon.purple { background: rgba(162,155,254,0.2); }

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Vision / Mission Section --- */
.vision-mission {
  padding: 100px 0;
  background: var(--bg);
}

.vision-mission .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vm-title h2 {
  font-size: 2.6rem;
  letter-spacing: -1px;
  line-height: 1.15;
}

.vm-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.vm-block h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.vm-block p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Security Section --- */
.security {
  padding: 100px 0;
  background: var(--bg-white);
}

.security .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.security-content {
  max-width: 500px;
}

.security-content h2 {
  font-size: 2.2rem;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.security-content > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.security-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.security-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0,184,148,0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

.security-item-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.security-item-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.sec-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.sec-card + .sec-card {
  margin-top: 16px;
}

.sec-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sec-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.sec-card-header strong {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.sec-card-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--bg);
  overflow: hidden;
}

.sec-card-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.5s ease-out;
}

.sec-card-bar-fill.blue { background: var(--primary); width: 95%; }
.sec-card-bar-fill.green { background: var(--success); width: 100%; }
.sec-card-bar-fill.pink { background: var(--secondary); width: 88%; }

/* --- CTA Section --- */
.cta {
  padding: 100px 0;
  background: var(--text-dark);
  color: #fff;
  text-align: center;
}

.cta h2 {
  color: #fff;
  font-size: 2.4rem;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  padding: 60px 0 32px;
  background: var(--text-dark);
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  filter: brightness(10);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: #fff;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Legal Page Styles --- */
.legal-hero {
  padding: 140px 0 60px;
  background: var(--bg);
  text-align: center;
}

.legal-hero h1 {
  font-size: 2.8rem;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.legal-hero p {
  font-size: 1rem;
  color: var(--text-muted);
}

.legal-content {
  padding: 60px 0 100px;
}

.legal-content .container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: flex-start;
}

.legal-sidebar {
  position: sticky;
  top: 92px;
}

.legal-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-sidebar a {
  display: block;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.legal-sidebar a:hover,
.legal-sidebar a.active {
  background: var(--bg);
  color: var(--text-dark);
  border-left-color: var(--primary-dark);
}

.legal-body h2 {
  font-size: 1.6rem;
  margin: 48px 0 16px;
  padding-top: 16px;
  letter-spacing: -0.5px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
}

.legal-body p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-body ul,
.legal-body ol {
  margin: 12px 0 20px 24px;
  list-style: disc;
}

.legal-body ol {
  list-style: decimal;
}

.legal-body li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-body strong {
  color: var(--text-dark);
  font-weight: 600;
}

.legal-body .info-box {
  background: var(--bg);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

.legal-body .info-box p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.legal-body .warning-box {
  background: rgba(254,203,110,0.1);
  border-left: 4px solid var(--warning);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

.legal-body .warning-box p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.legal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 0.88rem;
}

.legal-table thead th {
  background: var(--bg);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  line-height: 1.6;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table tbody tr:hover {
  background: rgba(239,247,246,0.5);
}

.legal-body .update-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* --- 404 Page --- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.container-404 {
  max-width: 480px;
}

.code-404 {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.page-404 h1 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 12px;
}

.page-404 p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .stats .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vision-mission .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vm-title h2 {
    font-size: 2.2rem;
  }

  .security .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .legal-content .container {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }

  .legal-sidebar nav {
    flex-direction: row;
    gap: 0;
    white-space: nowrap;
  }

  .legal-sidebar a {
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  .legal-sidebar a:hover,
  .legal-sidebar a.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary-dark);
  }
}

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .navbar-links, .navbar-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 0;
  }

  .mobile-menu .btn {
    margin-top: 8px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-float-card {
    display: none;
  }

  .hero-carousel-slide img {
    height: 280px;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
    opacity: 1;
    font-size: 0.9rem;
  }

  .stats .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .features {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .legal-hero h1 {
    font-size: 2rem;
  }

  .legal-body h2 {
    font-size: 1.3rem;
  }

  .legal-table {
    font-size: 0.8rem;
  }

  .legal-table thead th,
  .legal-table td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .vm-title h2 {
    font-size: 1.5rem;
  }
}
