@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Poppins:wght@700&display=swap');

/* Sleek Dark Color palette */
:root {
    --primary-bg: #18181b;
    --secondary-bg: #23232a;
    --accent: #fff;           /* white accent */
    --accent-hover: #e5e7eb;  /* off-white for hover */
    --card-bg: rgba(36,37,46,0.92);
    --glass-bg: rgba(24,24,27,0.85);
    --border: rgba(255,255,255,0.18); /* white border */
    --text-main: #e5e7eb;
    --text-muted: #a1a1aa;
    --danger: #ef4444;
}

/* Body with subtle gradient background */
body {
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(120deg, #18181b 0%, #23232a 100%);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll on small screens */
}

/* Layout and containers */
.container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 40px auto;
    background: var(--glass-bg);
    padding: 48px 36px;
    border-radius: 24px;
    box-shadow: 0 8px 48px rgba(36,37,46,0.18);
    border: 1.5px solid var(--border);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.3s;
}
.container:hover {
    box-shadow: 0 16px 64px rgba(99,102,241,0.12);
}
@media (min-width: 640px) {
    .container { max-width: 640px; }
}
@media (min-width: 768px) {
    .container { max-width: 900px; }
}
@media (min-width: 1280px) {
    .container { max-width: 1200px; }
}

/* Responsive card */
.card {
    width: 100%;
    box-sizing: border-box;
    background: var(--card-bg);
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(255,255,255,0.14);
    padding: 2.2rem 1.5rem;
    margin-bottom: 2.5rem;
    border: 1.5px solid var(--border);
    backdrop-filter: blur(8px);
    transition: box-shadow 0.3s;
}
.card:hover {
    /* No color or shadow change */
}

/* Banner/Header */
.banner {
    background: rgba(24,24,27,0.95);
    color: var(--accent);
    border-bottom: 2px solid var(--border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    box-shadow: 0 4px 24px rgba(36,37,46,0.12);
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    letter-spacing: 0.05em;
}

/* Footer */
footer {
    background: var(--secondary-bg);
    color: var(--text-muted);
    border-top: 2px solid var(--border);
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 4rem;
    border-radius: 0 0 24px 24px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    border: none;
    padding: 0.7rem 2.2rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: #18181b;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 9999px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255,255,255,0.10);
}
.btn:hover, .btn:focus {
    transform: scale(1.07);
    outline: none;
}

/* Headings */
h1, h2, h3 {
    color: var(--accent);
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    letter-spacing: 0.03em;
}
h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.7rem;
}
h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}
h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.3s, text-shadow 0.3s;
    font-weight: 600;
}
a:hover, a:focus {
    /* Remove color and text-shadow change */
    outline: none;
}

/* Utility classes */
.bg-primary {
    background-color: var(--primary-bg) !important;
}
.bg-secondary {
    background-color: var(--secondary-bg) !important;
}
.text-main {
    color: var(--text-main) !important;
}
.text-muted {
    color: var(--text-muted) !important;
}
.accent {
    color: var(--accent) !important;
}
.rounded-xl {
    border-radius: 1.5rem !important;
}
.shadow-xl {
    box-shadow: 0 12px 48px rgba(99,102,241,0.12) !important;
}
.border-accent {
    border-color: var(--accent) !important;
}
.transition {
    transition: all 0.3s;
}
.hover\:bg-accent:hover {
    background-color: var(--accent) !important;
    color: #fff !important;
}
.hover\:text-accent:hover {
    color: var(--accent) !important;
}
.hover\:underline:hover {
    text-decoration: underline;
}
.font-bold {
    font-weight: bold;
}
.font-semibold {
    font-weight: 700;
}
.backdrop-blur {
    backdrop-filter: blur(12px);
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.mt-16 {
    margin-top: 4rem;
}
.mb-6 {
    margin-bottom: 1.5rem;
}
.mb-8 {
    margin-bottom: 2rem;
}
.min-h-screen {
    min-height: 100vh;
}
.flex {
    display: flex;
}
.items-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}
.text-center {
    text-align: center;
}
.max-w-3xl {
    max-width: 48rem;
}
.max-w-6xl {
    max-width: 72rem;
}
.w-full {
    width: 100%;
}
.h-full {
    height: 100%;
}
.fixed {
    position: fixed;
}
.absolute {
    position: absolute;
}
.relative {
    position: relative;
}
.z-10 {
    z-index: 10;
}
.z-50 {
    z-index: 50;
}
.pointer-events-none {
    pointer-events: none;
}
.hidden {
    display: none;
}
.block {
    display: block;
}
.gap-4 {
    gap: 1rem;
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1rem;
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 2rem;
}
.mt-4 {
    margin-top: 1rem;
}
.mt-10 {
    margin-top: 2.5rem;
}
.rounded {
    border-radius: 0.25rem;
}
.p-4 {
    padding: 1rem;
}
.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.ml-6 {
    margin-left: 1.5rem;
}
.mb-3 {
    margin-bottom: 0.75rem;
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.25rem;
}
.max-w-none {
    max-width: none;
}
.max-h-none {
    max-height: none;
}
.object-contain {
    object-fit: contain;
}
.cursor-zoom-in {
    cursor: zoom-in;
}
.transition-all {
    transition: all 0.3s;
}
.duration-300 {
    transition-duration: 0.3s;
}
.ease-in-out {
    transition-timing-function: ease-in-out;
}

/* Dark mode support */
.dark-mode,
body {
    background: linear-gradient(120deg, #18181b 0%, #23232a 100%);
    color: var(--text-main);
}

.dark-mode .container,
body .container {
    background: var(--glass-bg);
    box-shadow: 0 8px 48px rgba(255,255,255,0.18);
    border: 1.5px solid var(--border);
}

.dark-mode .card,
body .card {
    background: var(--card-bg);
    box-shadow: 0 4px 24px rgba(255,255,255,0.14);
    border: 1.5px solid var(--border);
}

.dark-mode .banner,
body .banner {
    background: rgba(24,24,27,0.95);
    color: var(--accent);
    border-bottom: 2px solid var(--border);
}

.dark-mode footer,
body footer {
    background: var(--secondary-bg);
    color: var(--text-muted);
    border-top: 2px solid var(--border);
}

.dark-mode .btn,
body .btn {
    color: #18181b;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
}

.dark-mode .btn:hover,
body .btn:hover,
.dark-mode .btn:focus,
body .btn:focus {
    /* Remove background gradient change */
}

.dark-mode h1,
body h1,
.dark-mode h2,
body h2,
.dark-mode h3,
body h3 {
    color: var(--accent);
}

.dark-mode a,
body a {
    color: var(--accent);
}
.dark-mode a:hover,
body a:hover,
.dark-mode a:focus,
body a:focus {
    /* Remove color and text-shadow change */
}

.dark-mode .text-main,
body .text-main {
    color: var(--text-main) !important;
}
.dark-mode .text-muted,
body .text-muted {
    color: var(--text-muted) !important;
}
.dark-mode .accent,
body .accent {
    color: var(--accent) !important;
}