﻿:root {
  --bg: #050b16;
  --bg-alt: #060c18;
  --surface: rgba(7, 14, 28, 0.9);
  --surface-card: rgba(10, 18, 34, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.14);
  --text-primary: #f5f7ff;
  --text-secondary: #dce4ff;
  --text-muted: #9fb2d8;
  --accent: #5c8cff;
  --accent-strong: #3f71ff;
  --accent-soft: rgba(92, 140, 255, 0.18);
  --button-bg: linear-gradient(135deg, #5c8cff 0%, #3f72ff 100%);
  --button-bg-hover: linear-gradient(135deg, #6f9dff 0%, #4a79ff 100%);
  --button-text: #ffffff;
  --button-outline-bg: rgba(255, 255, 255, 0.08);
  --button-outline-text: #f5f7ff;
  --button-outline-border: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  min-width: 0;
  padding: 80px 0 20px;
  overflow-x: hidden;
  color: var(--text-primary);
  background-color: var(--bg);
  background-image: radial-gradient(circle at top left, rgba(93, 143, 255, 0.18), transparent 24%), radial-gradient(circle at 80% 20%, rgba(84, 197, 255, 0.08), transparent 16%), linear-gradient(180deg, var(--bg-alt) 0%, #070f1d 35%, #090f1a 100%);
}
body.mobile-only-view { min-width: 0; overflow-x: hidden; padding-top: 172px; }
body.nav-open { overflow: hidden; }
html, body { width: 100%; max-width: 100%; }
::selection { background: var(--accent-soft); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.omc-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 1160px);
  max-width: calc(100vw - 24px);
  min-width: 0;
  margin: 0;
  padding: 12px 18px;
  z-index: 10000;
  background: linear-gradient(135deg, rgba(4, 10, 20, 0.96), rgba(7, 14, 28, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(2, 6, 16, 0.28);
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.3s ease;
}
.omc-nav.nav-hidden {
  transform: translateX(-50%) translateY(-120%);
}
.omc-nav__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; width: 100%; min-width: 0; position: relative; z-index: 1; }
.nav-start, .nav-end { display: flex; align-items: center; gap: 12px; z-index: 2; flex-wrap: wrap; }
.nav-start { grid-column: 1; justify-self: start; justify-content: flex-start; min-height: 48px; min-width: 0; }
.nav-end { grid-column: 3; justify-self: end; justify-content: flex-end; margin-left: auto; min-height: 48px; }
.nav-bubble, .dashboard-nav-links { grid-column: 2; justify-self: center; position: relative; left: auto; top: auto; transform: none !important; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 10px 14px; width: fit-content; max-width: min(100%, 700px); min-width: 0; background: rgba(255, 255, 255, 0.045); border: none; border-radius: 999px; box-shadow: none; transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease; z-index: 3; pointer-events: auto; opacity: 1 !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-bubble-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.nav-bubble-actions { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; min-width: 0; margin-left: auto; }
.fixed-controls { display: flex; align-items: center; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.nav-menu-toggle { display: none; align-items: center; justify-content: center; padding: 0; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--button-outline-border); background: rgba(255, 255, 255, 0.08); color: var(--text-primary); cursor: pointer; transition: background 0.2s ease; }
.nav-menu-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.nav-menu-toggle .nav-menu-icon { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.nav-menu-toggle .nav-menu-icon span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 999px; }
.nav-menu-toggle .nav-menu-label { display: none; }
.nav-menu-close { display: none; }
.bubble-link { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; color: var(--button-outline-text); background: transparent; border: none; border-radius: 999px; box-shadow: none; font-weight: 700; position: relative; z-index: 3; }
.bubble-link:hover { background: rgba(255, 255, 255, 0.16); }
.brand-group { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; padding: 4px 0; }
.site-name { font-weight: 700; letter-spacing: 0.2em; color: var(--text-primary); text-transform: uppercase; font-size: clamp(0.78rem, 1vw, 0.9rem); }
.omc-logo { height: clamp(32px, 3vw, 40px); width: auto; transition: transform 0.6s ease; animation: logoFloat 6s ease-in-out infinite; flex-shrink: 0; border-radius: 14px; padding: 4px; background: rgba(255, 255, 255, 0.06); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.key-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 0.96rem; font-weight: 700; color: var(--button-text); background: var(--button-bg); border: 1px solid var(--button-outline-border); border-radius: 999px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18); transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; backdrop-filter: none; -webkit-backdrop-filter: none; }
.key-button:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24); background: var(--button-bg-hover); }
.key-button.outline { background: var(--button-outline-bg); border-color: var(--button-outline-border); color: var(--button-outline-text); }

.hero-section { position: relative; overflow: hidden; isolation: isolate; margin: 0 auto 40px; max-width: 1200px; padding: 42px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; border-radius: 32px; background: linear-gradient(180deg, rgba(9, 18, 33, 0.96), rgba(8, 14, 24, 0.92)); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 42px 110px rgba(0, 0, 0, 0.32); }
.hero-section::before { content: ''; position: absolute; inset: 0; z-index: 0; background: url('../images/hero1.jpg') center/cover no-repeat; opacity: 0.16; filter: none; }
.hero-section::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(4, 9, 18, 0.05), rgba(4, 7, 14, 0.75)); }
.hero-content, .hero-figure { position: relative; z-index: 1; }
.hero-content { display: flex; flex-direction: column; justify-content: center; gap: 18px; min-height: 360px; }
.hero-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-content .eyebrow { display: inline-flex; padding: 0.4rem 0.95rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #b4c2f0; text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.8rem; font-weight: 700; }
.hero-content h1 { font-size: clamp(2.6rem, 4.2vw, 4.6rem); line-height: 1.02; margin: 0; color: #fff; text-shadow: 0 20px 40px rgba(0, 0, 0, 0.18); }
.hero-content p { max-width: 680px; font-size: 1.05rem; line-height: 1.8; color: #d3dbed; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.testimonials-section { padding: 34px; background: rgba(16, 26, 42, 0.9); border: 1px solid rgba(255, 255, 255, 0.12); }
.testimonials-section h2 { margin: 18px 0 14px; font-size: 2.6rem; color: #fff; }
.testimonials-section p { max-width: 720px; color: #c8d3f8; line-height: 1.8; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 22px; margin-top: 30px; }
.testimonial-card { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18); transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 38px 96px rgba(0, 0, 0, 0.2); background: rgba(255, 255, 255, 0.08); }
.testimonial-quote { margin: 0 0 24px; color: #eef4ff; font-size: 1rem; line-height: 1.85; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 56px; height: 56px; min-width: 56px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-meta { display: flex; flex-direction: column; }
.testimonial-name { margin: 0; font-weight: 800; color: #fff; font-size: 1rem; }
.testimonial-title { margin: 4px 0 0; color: #9eb3f2; font-size: 0.92rem; }

.animate-fade, .animate-pop, .animate-float-left, .animate-float-right, .animate-zoom-in, .animate-balance { opacity: 0; animation-fill-mode: both; }
.animate-fade { transform: translateY(22px); animation: fadeInUp 0.8s forwards; }
.animate-pop { transform: scale(0.98) translateY(18px); animation: popIn 0.8s forwards; }
.delay-1 { animation-delay: 0.18s; }
.delay-2 { animation-delay: 0.32s; }
.delay-3 { animation-delay: 0.46s; }
@keyframes popIn { 0% { opacity: 0; transform: scale(0.96) translateY(24px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes floatInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes floatInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.animate-float-left { animation: floatInLeft 0.8s forwards; opacity: 0; }
.animate-float-right { animation: floatInRight 0.8s forwards; opacity: 0; }
.animate-zoom-in { animation: zoomIn 0.7s forwards; opacity: 0; }

.hero-figure { border-radius: 28px; overflow: hidden; box-shadow: 0 35px 95px rgba(0, 0, 0, 0.32); min-height: 380px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); }
.hero-figure img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 0.8s ease, filter 0.8s ease; filter: saturate(1.02); }
.hero-figure:hover img { transform: scale(1.04); filter: saturate(1.1); }

.page-content { margin: 0 auto; max-width: 1140px; padding: 0 24px 60px; }
.section-grid, .faq-grid, .plan-grid, .contact-grid { display: grid; gap: 20px; }
.section-grid { grid-template-columns: repeat(3, minmax(220px, 1fr)); margin-top: 30px; }
.feature-card, .plan-card, .faq-card, .info-card { position: relative; padding: 24px; border-radius: 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card:hover, .plan-card:hover, .faq-card:hover, .info-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24); }
.feature-card h3, .plan-card h3, .faq-card h3, .info-card h3 { margin: 0 0 14px; color: #f5f7ff; font-size: 1.15rem; }
.feature-card p, .plan-card p, .faq-card p, .info-card p { color: rgba(235, 242, 255, 0.82); line-height: 1.75; }

.content-block { margin-top: 42px; padding: 30px; border-radius: 28px; background: rgba(5, 10, 18, 0.72); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); }
.content-block h2 { margin-top: 0; color: #fff; }
.content-block ul { padding-left: 1.35rem; color: #dce3f5; line-height: 1.9; }
.content-block li { margin-bottom: 0.8rem; }
.contact-grid { grid-template-columns: 1.2fr 0.8fr; }
.contact-form { display: grid; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; outline: none; font: inherit; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.plan-grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); margin-top: 30px; }
.plan-card { display: flex; flex-direction: column; justify-content: space-between; }
.plan-card .plan-price { font-size: 2.4rem; font-weight: 800; margin: 0; color: #fff; }
.plan-card ul { margin: 18px 0 0; padding-left: 1.2rem; color: #dce3f5; flex-grow: 1; }
.plan-card li { margin-bottom: 0.75rem; }
.plan-card .key-button { margin-top: auto; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 28px; align-items: start; }
.price-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22); transition: transform 0.24s ease, border-color 0.24s ease; overflow: hidden; }
.price-card:hover { transform: translateY(-5px); border-color: rgba(92, 140, 255, 0.32); }
.price-card .divider { display: none; }
.price-card .price-title { margin: 0 0 12px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.18em; color: #9db2ff; }
.price-card ul { margin: 18px 0 0; padding-left: 0; color: #d7e2ff; font-size: 0.96rem; line-height: 1.75; flex-grow: 1; list-style: none; }
.price-card ul li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.price-card ul li .checkmark { font-size: 1rem; color: #73d175; line-height: 1.2; }
.price-card .btn-green, .price-card .btn-yellow { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform 0.2s ease, background 0.2s ease; margin-top: auto; }
.price-card .btn-green { background: #4c8dff; color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); transform-origin: center; }
.price-card .btn-green:hover { background: #5d9dff; transform: translateY(-2px) scale(1.03); }
.price-card .btn-yellow { background: #ff9844; color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); transform-origin: center; }
.price-card .btn-yellow:hover { background: #ffac61; transform: translateY(-2px) scale(1.03); }

.omc-footer { margin: 60px auto 20px; max-width: 1140px; padding: 24px 24px 34px; border-radius: 22px; background: rgba(4, 8, 16, 0.72); border: 1px solid rgba(255, 255, 255, 0.08); color: #95a3c1; text-align: center; font-size: 0.95rem; }

@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(18px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes floatEntry { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes mobileNavSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInFromRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOutToRight { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100%); } }

body.mobile-only-view .hero-section { grid-template-columns: 1fr; }
body.mobile-only-view .hero-figure { min-height: 320px; }
body.mobile-only-view .section-grid, body.mobile-only-view .plan-grid, body.mobile-only-view .contact-grid { grid-template-columns: 1fr; }
body.admin-page .nav-menu-toggle { display: inline-flex; }
body.mobile-only-view .omc-logo { height: 34px; }
body.mobile-only-view .site-name { font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mobile-only-view .omc-nav { display: flex; flex-direction: row; align-items: center; justify-content: space-between; left: 0; right: 0; top: 0; transform: translateX(0); width: 100%; padding: 12px 16px; gap: 12px; border-radius: 0; background: linear-gradient(135deg, rgba(4, 10, 20, 0.98), rgba(7, 14, 28, 0.98)); }
body.mobile-only-view .omc-nav__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; width: 100%; }
body.mobile-only-view .nav-start { justify-self: start; min-width: 0; }
body.mobile-only-view .nav-end { justify-self: end; margin-left: auto; }
body.mobile-only-view .nav-menu-toggle { display: inline-flex; order: 2; }
body.mobile-only-view .nav-bubble { position: absolute; top: calc(100% + 10px); right: 12px; left: auto; width: 220px; max-width: calc(100vw - 24px); height: auto; grid-column: auto; justify-self: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 8px; border-radius: 18px; background: rgba(8, 16, 30, 0.98); border: 1px solid rgba(255, 255, 255, 0.13); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55); transform: translateY(-6px) scale(0.98); opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease; pointer-events: none; z-index: 9999; }
body.mobile-only-view .nav-bubble.is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
body.mobile-only-view .nav-bubble-links { flex-direction: column; align-items: stretch; gap: 2px; }
body.mobile-only-view .bubble-link { width: 100%; justify-content: flex-start; padding: 10px 12px; border-radius: 10px; background: transparent; border: none; }
body.mobile-only-view .hero-section { margin-top: 90px; padding: 28px; }
body.mobile-only-view .hero-content h1 { font-size: 2.6rem; }
body.mobile-only-view .page-content { padding: 0 18px 60px; }
body.mobile-only-view .content-block { padding: 24px; }
body.mobile-only-view .hero-actions { flex-direction: column; align-items: flex-start; }

.dashboard-hero { display: grid; grid-template-columns: 1.45fr 0.9fr; gap: 24px; align-items: center; padding: 36px 36px 30px; margin-bottom: 28px; border-radius: 32px; background: linear-gradient(135deg, rgba(3, 12, 25, 0.96), rgba(8, 20, 44, 0.96)); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 42px 120px rgba(0, 0, 0, 0.32); }
.dashboard-hero .hero-content { display: flex; flex-direction: column; gap: 18px; }
.dashboard-hero .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 16px; }
.dashboard-hero .hero-stat { padding: 20px; border-radius: 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.dashboard-hero .stat-label { display: block; color: #9bb2ff; font-size: 0.92rem; margin-bottom: 10px; }
.dashboard-hero .stat-value { font-size: 2rem; font-weight: 800; color: #fff; }
.hero-figure-card { padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18); }
.hero-figure-card h2 { margin: 14px 0 10px; font-size: 2rem; color: #fff; }
.chart-card { padding: 26px 26px 22px; border-radius: 32px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 28px 90px rgba(0, 0, 0, 0.14); margin-top: 24px; }
.chart-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.chart-header h2 { margin: 0; font-size: 1.4rem; color: #fff; }
.tradingview-widget-container { position: relative; isolation: isolate; contain: paint; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); background: #061327; }
.tradingview-widget { width: 100%; height: 520px; }
.blue-text { color: #7cc9ff; }
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.summary-grid .metric-card { padding: 24px; }
.status-value { font-size: 2rem; font-weight: 800; color: #fff; margin: 0; }
.dashboard-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 24px; margin-top: 32px; }
.metric-card, .admin-card { padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18); }
.metric-card h3, .admin-card h2 { margin: 0 0 18px; color: #dce4ff; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.95rem; }
.metric-value { font-size: 3rem; font-weight: 800; color: #fff; margin: 0; line-height: 1; }
.metric-label { margin: 0.7rem 0 0; color: #9fb1d6; font-size: 0.96rem; }
.metric-secondary { margin: 0.5rem 0 0; color: #a7b6d8; font-size: 0.93rem; }
.dashboard-note { color: #9cb2d5; font-size: 0.95rem; line-height: 1.7; margin-bottom: 18px; }
.dashboard-layout { display: grid; grid-template-columns: 1.5fr 0.95fr; gap: 24px; margin-top: 32px; }
.dashboard-main { display: flex; flex-direction: column; gap: 24px; }
.dashboard-sidebar { display: grid; gap: 24px; }
.sidebar-card { padding: 24px; border-radius: 28px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18); }
.sidebar-card-header { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.sidebar-card-header .eyebrow { font-size: 0.78rem; color: #9bb2ff; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; }
.sidebar-card-header h3 { margin: 0; color: #fff; font-size: 1.35rem; }
.price-list { display: grid; gap: 10px; }
.price-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.price-row span { color: #b8c7ff; }
.price-row strong { color: #fff; }
.sidebar-actions { display: flex; flex-direction: column; gap: 12px; }
.dashboard-layout .action-card .key-button { width: 100%; justify-content: center; }
.logout-panel { margin-top: 36px; display: flex; justify-content: flex-end; }
.logout-panel .submit-button { background: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.18); }
.logout-panel .submit-button:hover { background: #ff8181; }

.form-group { display: grid; gap: 10px; margin-bottom: 18px; }
.form-group label { color: #c4d0f4; font-size: 0.95rem; font-weight: 600; }
.input-field, .textarea-field { width: 100%; border-radius: 16px; padding: 14px 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--text-primary); font-size: 1rem; }
.input-field option, .textarea-field option { color: #111827; background: #fff; }
.textarea-field { min-height: 140px; resize: vertical; }
.submit-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border-radius: 999px; border: none; background: #5c93ff; color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease; transform-origin: center; }
.submit-button:hover { background: #77abff; transform: translateY(-1px) scale(1.03); }
.outline-button { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); }
.cancel-button { background: #363f60; }
.cancel-button:hover { background: #4c526e; }

.modal { position: fixed; inset: 0; background: rgba(2, 8, 19, 0.72); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 10000; }
.modal-card { max-width: 420px; width: 100%; padding: 28px; border-radius: 28px; background: rgba(8, 17, 40, 0.98); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35); }
.modal-card h3 { margin: 0 0 16px; color: #fff; font-size: 1.25rem; letter-spacing: 0.04em; }
.modal-card p { margin: 0 0 24px; color: #d7e5ff; line-height: 1.7; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.status-message { margin-top: 14px; color: #cbe4ff; font-size: 0.95rem; min-height: 24px; transition: color 0.2s ease; }
.status-message.error { color: #ff8c8c; }
.status-message.success { color: #7ef2b2; }
.status-message.loading { color: #cbe4ff; }
.plan-summary { margin-top: 20px; color: #d9e2ff; line-height: 1.8; }
.plan-picker-row { display: flex; gap: 10px; align-items: center; }
.plan-picker-row .input-field { flex: 1; }
.plan-range-note { margin-top: 8px; color: #adc5ff; font-size: 0.92rem; }
.plan-modal-grid { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 12px; margin: 20px 0 8px; }
.plan-option { padding: 14px 12px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.08); color: #fff; text-align: left; cursor: pointer; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.plan-option:hover { transform: translateY(-2px); border-color: rgba(92, 140, 255, 0.32); background: rgba(92, 140, 255, 0.12); }
.plan-option span { display: block; margin-top: 6px; color: #bdd3ff; font-size: 0.9rem; }
.plan-link-list { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.plan-link-list a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); color: #111827; }
.payment-option .coin-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(92, 140, 255, 0.16); color: #0f172a; font-weight: 700; }

.theme-toggle { appearance: none; border: none; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: transparent; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease; display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.theme-toggle svg { display: none; }
.theme-toggle::before { content: ''; position: absolute; inset: 24%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff8b4 0%, #ffd54f 38%, #f2b800 72%); box-shadow: 0 0 0 1px rgba(255, 213, 79, 0.16); opacity: 1; transform: scale(1); transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease; }
.theme-toggle::after { content: ''; position: absolute; top: 50%; left: 56%; width: 30%; height: 30%; border-radius: 50%; background: rgba(5, 10, 18, 0.96); box-shadow: inset -1px -1px 0 rgba(255, 255, 255, 0.08); opacity: 0; transform: translate(-50%, -50%) scale(0); transition: transform 0.25s ease, opacity 0.25s ease; }
body.light-mode .theme-toggle::before { background: radial-gradient(circle at 40% 40%, #fff7aa 0%, #ffd54f 38%, #f0b500 72%); opacity: 1; transform: scale(1); }
body.light-mode .theme-toggle::after { opacity: 0; transform: translate(-50%, -50%) scale(0); }
body:not(.light-mode) .theme-toggle::before { opacity: 1; transform: scale(1); background: radial-gradient(circle at 33% 33%, #e0e6ff 0%, #eff4ff 38%, #f5faff 100%); }
body:not(.light-mode) .theme-toggle::after { opacity: 1; transform: translate(-44%, -50%) scale(1); width: 34%; height: 34%; background: rgba(8, 14, 24, 0.96); }
.theme-toggle.dark::before { background: radial-gradient(circle at 40% 40%, #e0e6ff 0%, #e6efff 45%, #eef6ff 100%); }
.theme-toggle:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.16); }

.portal-layout { display: grid; gap: 28px; }
.login-panel, .portal-panel, .admin-panel { padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18); }
.hidden { display: none !important; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 20px; margin-top: 20px; }
.summary-card { padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 18px 55px rgba(0, 0, 0, 0.14); }
.summary-card h3 { margin: 0 0 12px; color: #dce4ff; font-size: 0.95rem; }
.summary-card .summary-value { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.1; }
.portal-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 24px; margin-top: 24px; }
.portal-card { padding: 24px; border-radius: 24px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18); }
.withdraw-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.portal-preview-grid { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
.portal-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; }
.alert-box { padding: 18px; border-radius: 20px; background: rgba(92, 140, 255, 0.08); border: 1px solid rgba(92, 140, 255, 0.18); color: #d8e7ff; }
.admin-login { max-width: 560px; margin: auto; }
.admin-form { display: grid; gap: 18px; }
.admin-status { min-height: 24px; color: #cbe4ff; }
.portal-panel h3, .portal-card h3 { margin-top: 0; color: #f4f7ff; }
.portal-panel p, .portal-card p, .portal-info { color: #d3dbed; line-height: 1.75; }

body.light-mode { background-color: #f4f7ff; color: #0f172a; background-image: radial-gradient(circle at top left, rgba(92, 140, 255, 0.12), transparent 22%), radial-gradient(circle at 80% 20%, rgba(84, 197, 255, 0.08), transparent 14%), linear-gradient(180deg, #f8fbff 0%, #eef4ff 35%, #f7f9fe 100%); }
body.light-mode .omc-nav { background: rgba(255, 255, 255, 0.95); border: none; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08); }
body.light-mode .nav-bubble, body.light-mode .bubble-link, body.light-mode .feature-card, body.light-mode .plan-card, body.light-mode .faq-card, body.light-mode .info-card, body.light-mode .content-block, body.light-mode .price-card, body.light-mode .summary-card, body.light-mode .portal-card, body.light-mode .sidebar-card, body.light-mode .login-panel, body.light-mode .portal-panel, body.light-mode .admin-panel, body.light-mode .modal-card, body.light-mode .calculator-card, body.light-mode .metric-card, body.light-mode .admin-card, body.light-mode .hero-figure-card, body.light-mode .dashboard-hero, body.light-mode .chart-card { background: rgba(255, 255, 255, 0.92); border: none; color: #0f172a; box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08); }
body.light-mode .key-button { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); color: #ffffff; border-color: rgba(15, 23, 42, 0.14); }
body.light-mode .key-button.outline { background: rgba(248, 250, 252, 0.95); border-color: rgba(15, 23, 42, 0.16); color: #111827; }
body.light-mode .hero-section { background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 255, 0.95)); border-color: rgba(15, 23, 42, 0.1); }
body.light-mode .omc-footer { background: rgba(248, 250, 252, 0.96); border-color: rgba(15, 23, 42, 0.08); color: #475569; }
body.light-mode .site-name, body.light-mode .hero-content h1, body.light-mode .hero-content p, body.light-mode .feature-card h3, body.light-mode .plan-card h3, body.light-mode .faq-card h3, body.light-mode .info-card h3, body.light-mode .content-block h2, body.light-mode .price-card h3, body.light-mode .sidebar-card-header h3, body.light-mode .portal-panel h3, body.light-mode .portal-card h3, body.light-mode .modal-card h3, body.light-mode .calculator-card h3 { color: #0f172a; }
body.light-mode .feature-card p, body.light-mode .plan-card p, body.light-mode .faq-card p, body.light-mode .info-card p, body.light-mode .content-block ul, body.light-mode .content-block li, body.light-mode .price-card ul, body.light-mode .plan-intro p, body.light-mode .plan-meta, body.light-mode .plan-hero-list, body.light-mode .metric-label, body.light-mode .dashboard-note, body.light-mode .portal-panel p, body.light-mode .portal-card p, body.light-mode .portal-info, body.light-mode .modal-card p, body.light-mode .calc-output p { color: #334155; }

.account-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(220px, 1fr)); margin-top: 24px; }
.balance-card { padding: 24px; border-radius: 28px; background: linear-gradient(180deg, rgba(7, 14, 28, 0.85), rgba(7, 14, 28, 0.65)); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 75px rgba(0, 0, 0, 0.18); transition: transform 0.24s ease, box-shadow 0.24s ease; }
.balance-card:hover { transform: translateY(-4px); box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22); }
.balance-title { display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.18em; color: #aeb8ff; margin-bottom: 10px; }
.balance-value { font-size: 2.8rem; font-weight: 800; color: #fff; margin: 0; }
.balance-subtitle { margin: 0.8rem 0 0; color: #c7d2ff; }
.animate-balance { animation: floatEntry 0.9s ease both; }
.animate-balance.delay { animation-delay: 0.18s; }
.market-ticker { margin-top: 28px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(5, 10, 18, 0.82); }
.request-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 26px; }
.calculator-card { padding: 24px; border-radius: 28px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18); }
.calculator-card h3 { margin-top: 0; color: #fff; }
.calc-output p { margin: 0.9rem 0 0; color: #d7e2ff; }

body.mobile-only-view .request-grid, body.mobile-only-view .account-grid { grid-template-columns: 1fr; }
body.mobile-only-view .market-ticker { min-height: 260px; }
.fixed-controls { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; width: auto; max-width: 100%; }

.omc-chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 10001; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.omc-chat-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: none; border-radius: 999px; background: linear-gradient(135deg, #5c8cff 0%, #3f72ff 100%); color: #fff; font-weight: 700; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24); cursor: pointer; }
.omc-chat-panel { display: none; width: min(360px, calc(100vw - 24px)); background: rgba(8, 17, 40, 0.97); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); overflow: hidden; }
.omc-chat-widget.open .omc-chat-panel { display: flex; flex-direction: column; }
.omc-chat-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); }
.omc-chat-status { font-size: 0.8rem; color: #9cb2d5; margin-top: 2px; }
.omc-chat-close { border: none; background: transparent; color: #fff; font-size: 1.4rem; cursor: pointer; }
.omc-chat-messages { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 0; max-height: 320px; overflow: auto; }
.omc-chat-message { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 16px; max-width: 86%; }
.omc-chat-message.visitor { align-self: flex-end; background: rgba(92, 140, 255, 0.18); color: #f5f7ff; }
.omc-chat-message.admin { align-self: flex-start; background: rgba(255, 255, 255, 0.09); color: #f5f7ff; }
.omc-chat-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.85; }
.omc-chat-message p { margin: 0; line-height: 1.5; font-size: 0.95rem; }
.omc-chat-message small { opacity: 0.72; }
.omc-chat-form, .omc-admin-chat-form { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.omc-chat-form textarea, .omc-admin-chat-form textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.07); color: #fff; resize: vertical; min-height: 90px; }
.omc-admin-chat { margin-top: 32px; }
.omc-admin-chat-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: start; }
.omc-admin-chat-list { display: grid; gap: 10px; max-height: 430px; overflow: auto; padding-right: 4px; }
.omc-admin-chat-item { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); text-align: left; color: inherit; cursor: pointer; width: 100%; }
.omc-admin-chat-item.active { border-color: rgba(92, 140, 255, 0.38); background: rgba(92, 140, 255, 0.14); }
.omc-admin-chat-item.visitor { border-color: rgba(92, 140, 255, 0.22); }
.omc-admin-chat-item.admin { background: rgba(92, 140, 255, 0.12); }
.omc-admin-chat-thread { display: flex; flex-direction: column; gap: 12px; min-height: 420px; }
.omc-admin-chat-thread-header { padding: 10px 0 2px; font-size: 1rem; }
.omc-admin-chat-thread-messages { display: flex; flex-direction: column; gap: 10px; max-height: 320px; overflow: auto; padding-right: 4px; }
.omc-admin-chat-empty { color: #9cb2d5; font-size: 0.95rem; line-height: 1.6; }
.omc-admin-hint { margin: 0; color: #9cb2d5; font-size: 0.9rem; }
.omc-chat-reply { align-self: flex-start; margin-top: 6px; border: none; background: rgba(255, 255, 255, 0.12); color: #fff; padding: 6px 10px; border-radius: 999px; cursor: pointer; }

body.mobile-only-view .fixed-controls { justify-content: center; }
body.mobile-only-view .omc-chat-widget { right: 12px; bottom: 12px; }
body.mobile-only-view .omc-admin-chat-layout { grid-template-columns: 1fr; }

@media (max-width: 767px) {
  body { padding-top: 60px; }
  .omc-nav {
    top: 0;
    width: 100%;
    max-width: 100%;
    padding: 10px 16px;
    border-radius: 0;
    left: 0;
    right: 0;
    transform: translateX(0);
    overflow: visible;
  }
  .omc-nav.nav-hidden {
    transform: translateX(0) translateY(-100%);
  }
  .omc-nav__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
  }
  .brand-group { min-width: 0; }
  .site-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-start {
    grid-column: 1;
    justify-content: flex-start;
    min-height: auto;
  }
  .nav-end {
    grid-column: 2;
    justify-self: end;
    margin-left: 0;
  }
  .nav-end .fixed-controls { display: none !important; }
  /* Pill Menu button */
  .nav-menu-toggle {
    display: inline-flex;
  }
  /* Compact dropdown from right */
  .nav-bubble {
    display: flex !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 12px !important;
    left: auto !important;
    width: 220px !important;
    max-width: calc(100vw - 24px) !important;
    height: auto !important;
    grid-column: auto !important;
    justify-self: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 8px !important;
    border-radius: 18px !important;
    background: rgba(8, 16, 30, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-6px) scale(0.98) !important;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
    pointer-events: none !important;
    z-index: 9999 !important;
  }
  .nav-bubble.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
  }
  .nav-bubble-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2px !important;
    width: 100% !important;
  }
  .nav-bubble-actions { display: none !important; }
  .bubble-link {
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    justify-content: flex-start !important;
  }
  .bubble-link:hover { background: rgba(255, 255, 255, 0.08) !important; }
  /* Theme toggle lives in nav bar beside hamburger on mobile */
  .nav-end .theme-toggle {
    display: inline-flex !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    border-radius: 9px !important;
    border: 1px solid var(--button-outline-border) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .nav-end .theme-toggle svg {
    width: 15px !important;
    height: 15px !important;
  }
  .omc-logo { height: 30px; }
  /* Page layout for mobile */
  .hero-section {
    grid-template-columns: 1fr !important;
    margin-top: 76px;
    padding: 24px 16px;
    gap: 16px;
  }
  .hero-figure { display: none; }
  .hero-content { min-height: auto; }
  .hero-content h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .key-button { width: 100%; justify-content: center; }
  .section-grid, .plan-grid, .contact-grid, .testimonial-grid,
  .dashboard-grid, .dashboard-layout, .dashboard-hero,
  .request-grid, .account-grid, .summary-grid, .portal-grid {
    grid-template-columns: 1fr !important;
  }
  .dashboard-hero .hero-stats { grid-template-columns: 1fr 1fr; }
  .content-block { padding: 20px 16px; }
  .testimonial-card { padding: 20px; }
  .page-content { padding: 0 16px 48px; }
}

@media (max-width: 480px) {
  .omc-nav {
    padding: 9px 10px;
    border-radius: 20px;
  }
  .omc-nav__inner {
    gap: 6px;
  }
  .brand-group {
    gap: 8px;
  }
  .site-name {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }
  .omc-logo {
    height: 26px;
  }
  .nav-menu-toggle {
    width: 40px;
    height: 40px;
  }
  .nav-bubble {
    padding: 8px 10px;
  }
  .bubble-link {
    padding: 8px 10px;
    font-size: 0.86rem;
  }
  .key-button {
    padding: 8px 12px;
    font-size: 0.84rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-section, .dashboard-hero { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .hero-content { min-height: auto; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-actions, .hero-stats, .section-grid, .plan-grid, .contact-grid, .testimonial-grid, .dashboard-grid, .dashboard-layout, .request-grid, .account-grid, .summary-grid, .portal-grid, .portal-preview-grid, .omc-admin-chat-layout { grid-template-columns: 1fr; display: grid; }
  .testimonial-grid, .dashboard-grid, .dashboard-layout, .request-grid, .account-grid, .summary-grid, .portal-grid, .portal-preview-grid, .omc-admin-chat-layout { gap: 16px; }
  .content-block, .testimonial-card, .metric-card, .sidebar-card, .portal-card, .calculator-card, .modal-card, .admin-panel, .portal-panel, .login-panel, .price-card { padding: 20px; }
  .omc-footer { margin: 32px 16px 16px; padding: 18px 16px; }
  .chart-header, .sidebar-card-header, .modal-actions { flex-direction: column; align-items: flex-start; }
  .tradingview-widget { height: 360px; }
  .input-field, .textarea-field, .submit-button, .key-button { width: 100%; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-section, .dashboard-hero { grid-template-columns: 1fr; }
  .dashboard-layout, .dashboard-grid, .portal-grid, .request-grid, .account-grid, .summary-grid { grid-template-columns: 1fr; }
  .hero-content { min-height: auto; }
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-grid, .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .page-content { max-width: 1200px; padding: 0 24px 60px; }
  .hero-section { padding: 36px; }
  .dashboard-hero { padding: 32px; }
}

@media (min-width: 1441px) {
  .page-content, .omc-footer { max-width: 1320px; }
  .hero-section { padding: 48px; }
}
