@font-face {
	font-family: "Dosis";
	src: url("./../fonts/Dosis/Dosis-Regular.ttf");
	font-weight: regular;
	font-style: normal;
  }
  @font-face {
	font-family: "Dosis";
	src: url("./../fonts/Dosis/Dosis-Bold.ttf");
	font-weight: bold;
	font-style: normal;
  }

/* Reset and base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Dosis", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif; color: #e5e7eb; background: #0b0f17; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Colors */
:root {
	--bg: #0b0f17;
	--text: #e5e7eb;
	--muted: #9aa0aa;
	--primary: #4f9cff;
	--primary-600: #2e7ad9;
	--accent: #10b981;
	--border: #1f2937;
	--card: #111827;
	--card-2: #0f172a;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--card); border-bottom: 1px solid var(--border); }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 10px; }
.header-left { display: flex; align-items: center; gap: 12px; }
.header-left img { height: 36px; }
.brand { font-weight: 700; letter-spacing: 0.2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; transition: transform .06s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, #5c3555, #552b4e); color: #fff; box-shadow: 0 10px 24px rgba(255, 79, 226, 0.25); border-color: #552b4e; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: #0b1220; border-color: #263043; color: var(--text); }
.btn-ghost:hover { background: #101a2c; }

.header-bottom { border-top: 1px solid var(--border); }
.navbar { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 10px 0; }
.navbar a { padding: 8px 10px; border-radius: 8px; color: var(--muted); font-weight: 600; }
.navbar a:hover, .navbar a.active { color: var(--text); background: #0f1b2e; }

/* Burger */
.burger { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: #0b1220; cursor: pointer; }
.burger .bar { width: 20px; height: 2px; background: var(--text); position: relative; }
.burger .bar::before, .burger .bar::after { content: ""; position: absolute; width: 20px; height: 2px; background: var(--text); left: 0; }
.burger .bar::before { top: -6px; }
.burger .bar::after { top: 6px; }

/* Fullscreen menu */
.menu-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(2,6,23,.7); backdrop-filter: blur(6px); z-index: 100; display: none; }
.menu-panel { position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: var(--card-2); display: flex; flex-direction: column; }
.menu-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.menu-title { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.menu-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; background: #0b1220; cursor: pointer; }
.menu-close span { position: relative; width: 20px; height: 20px; }
.menu-close span::before, .menu-close span::after { content: ""; position: absolute; top: 9px; left: 0; width: 20px; height: 2px; background: var(--text); }
.menu-close span::before { transform: rotate(45deg); }
.menu-close span::after { transform: rotate(-45deg); }
.menu-links { display: grid; gap: 8px; padding: 18px 16px; }
.menu-links a { padding: 14px 12px; border-radius: 12px; font-weight: 700; background: #0f1b2e; color: var(--text); display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); }
.menu-actions { margin-top: auto; padding: 16px; border-top: 1px solid var(--border); display: grid; gap: 10px; }

.menu-open .menu-overlay { display: block; }

/* Sections */
.section { padding: 56px 0; }
.section.light { background: var(--card); }
.section.muted { background: #0b1220; }
.section .section-head { text-align: center; margin-bottom: 20px; }
.section h1 { font-size: 34px; line-height: 1.15; margin: 0 0 16px 0; }
.section h2 { font-size: 26px; line-height: 1.2; margin: 28px 0 10px 0; }
.section p { color: var(--muted); font-size: 16px; line-height: 1.75; margin: 10px 0; }

.hero { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
.hero .cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero img { border-radius: 16px; box-shadow: 0 20px 44px rgba(0,0,0,.45); }

/* Alternating media/text */
.media { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.media .media-img img { border-radius: 14px; box-shadow: 0 16px 36px rgba(0,0,0,.4); }
.media .media-text { }

/* Cards and tables */
.cards { display: grid; grid-template-columns: repeat(1, minmax(0,1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.card h3 { margin: 0 0 8px 0; font-size: 18px; }

.table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 12px; background: var(--card); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.table th { background: #0f1b2e; font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }

/* Responsive: enable horizontal scroll for tables on small screens */
@media (max-width: 768px) {
	.table { display: block; overflow-x: auto; white-space: nowrap; }
	/* Ensure parent card allows horizontal scroll and smooth touch scrolling */
	.card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	/* Make inner table wider than viewport so scrollbar appears */
	.card .table { display: inline-block; min-width: 720px; }
}

/* Footer */
.site-footer { background: var(--card); border-top: 1px solid var(--border); padding: 24px 0; color: var(--muted); font-size: 14px; }

/* Responsive */
@media (min-width: 768px) {
	.header-left img { height: 40px; }
	.section h1 { font-size: 40px; }
	.section h2 { font-size: 28px; }
	.hero { grid-template-columns: 1fr; }
	.media { grid-template-columns: 1.1fr 1fr; }
	.media.reverse { grid-template-columns: 1fr 1.1fr; }
	.media.reverse .media-img { order: 1; }
	.media.reverse .media-text { order: 2; padding-left: 20px; }
	.cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 1024px) {
	.hero { grid-template-columns: 1fr; }
	.cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.foot a img {
	height: 30px;
}
/* Mobile nav visibility */
@media (max-width: 960px) {
	.navbar { display: none; }
	.burger { display: inline-flex; }
	.btn {
		padding: 10px;
		font-size: 14px;
		white-space: nowrap;
	}
	.header-top {
		gap: 10px;
	}
	.header-left img {
		height: 24px;
	}
}
