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

:root {
    /* Charcoal / Dark Slate Palette */
    --bg-dark: #1f2329;
    --primary-cyan: #00d2ff;
    --primary-blue: #3a7bd5;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-focus: rgba(0, 210, 255, 0.5);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Borders */
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Animations */
body::before, body::after {
    content: '';
    position: absolute;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    animation: drift 25s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

body::before {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.03) 0%, transparent 70%);
}

body::after {
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, rgba(58, 123, 213, 0.03) 0%, transparent 70%);
    animation-delay: -12.5s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15%, 10%) scale(1.2); }
    100% { transform: translate(-10%, -15%) scale(0.8); }
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    line-height: 1.6;
}

/* Base Blazor setup */
#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Language Toggle Styles */
.lang-toggle-container {
    position: absolute;
    top: 24px;
    right: 32px;
    z-index: 100;
}

.lang-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 4px;
}

.lang-toggle button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-toggle button.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.form-scroll-container {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 12px;
}

/* New Modern Large Choice Buttons */
.choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-bottom: 20px;
}

.choice-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-focus);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.choice-btn h3 {
    color: var(--primary-cyan);
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.choice-btn p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
}

/* Back Button */
.back-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    transition: var(--transition-fast);
}

.back-btn:hover {
    color: var(--text-main);
}