:root {
    --brand-dark: #090d16;
    --brand-surface: #0f172a;
    --brand-card: #131d31;
    --brand-border: #1e293b;
    --accent-magenta: #db2777;
    --accent-rose: #e11d48;
    --accent-pink: #f43f5e;
    --neon-pink: #ff4d8d;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --success: #10b981;
    --success-light: #34d399;
    --warning: #f59e0b;
    --info: #3b82f6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--brand-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        max-width: 48rem;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 64rem;
        padding: 0 2rem;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 80rem;
        padding: 0 2.5rem;
    }
}

/* Selection */
::selection {
    background-color: var(--accent-magenta);
    color: white;
}

/* Header / Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(9, 13, 22, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.8);
    padding: 0.75rem 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.brand-logo {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(to top right, var(--accent-magenta), var(--accent-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    box-shadow: 0 0 12px rgba(219, 39, 119, 0.35);
}

.brand-text .title {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.brand-text .subtitle {
    display: block;
    font-size: 0.625rem;
    color: var(--accent-magenta);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(to right, var(--accent-magenta), var(--accent-rose));
    color: white;
    box-shadow: 0 0 12px rgba(219, 39, 119, 0.3);
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-full {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
    .btn-full {
        width: auto;
    }
}

/* Cards */
.card {
    background-color: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    padding: 1rem;
}

.card-glow {
    box-shadow: 0 0 24px -8px rgba(219, 39, 119, 0.15);
}

/* Form elements */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background-color: var(--brand-dark);
    border: 1px solid var(--brand-border);
    border-radius: 0.75rem;
    padding: 0.625rem 0.75rem;
    color: var(--text-primary);
    font-size: 0.75rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent-magenta);
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 4rem;
}

/* Radio / Checkbox cards */
.radio-card {
    position: relative;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-card-content {
    display: block;
    padding: 0.625rem;
    border: 1px solid var(--brand-border);
    border-radius: 0.75rem;
    background-color: var(--brand-dark);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-card input:checked + .radio-card-content {
    border-color: var(--accent-magenta);
    background-color: rgba(219, 39, 119, 0.1);
}

/* Utility classes */
.text-gradient {
    background: linear-gradient(to right, #f472b6, var(--accent-magenta), var(--accent-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent { color: var(--accent-magenta); }
.text-rose { color: var(--accent-rose); }
.text-success { color: var(--success-light); }
.text-muted { color: var(--text-secondary); }

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
}

/* Sticky bottom CTA */
.sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background-color: rgba(9, 13, 22, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--brand-border);
    padding: 0.75rem 0;
}

/* Footer */
.site-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--brand-border);
    background-color: rgba(15, 23, 42, 0.4);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.6875rem;
}

/* Animations */
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(219, 39, 119, 0.2); }
    50% { box-shadow: 0 0 16px rgba(219, 39, 119, 0.5); }
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Alert / Toast */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--success-light);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-error {
    background-color: rgba(225, 29, 72, 0.15);
    color: #fda4af;
    border: 1px solid rgba(225, 29, 72, 0.3);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--brand-border);
}

.table th {
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--success-light);
}

.badge-warning {
    background-color: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.badge-danger {
    background-color: rgba(225, 29, 72, 0.15);
    color: #fda4af;
}

.badge-info {
    background-color: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

/* Desktop dashboard overrides */
.dashboard-body {
    background-color: #f8fafc;
    color: #1e293b;
}

/* =====================================================
   RESPONSIVE OVERRIDES
   ===================================================== */

/* Tablet (768px+) */
@media (min-width: 768px) {
    .brand-logo {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.75rem;
    }

    .brand-text .title {
        font-size: 0.875rem;
    }

    .brand-text .subtitle {
        font-size: 0.75rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        gap: 0.5rem;
    }

    .btn-full {
        padding: 1rem 1.5rem;
        font-size: 0.875rem;
    }

    .navbar {
        padding: 1rem 0;
    }

    .form-label {
        font-size: 0.8125rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .radio-card-content {
        padding: 0.875rem;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .btn-full {
        padding: 1.125rem 1.75rem;
        font-size: 0.9375rem;
    }

    .site-footer {
        margin-top: 4rem;
        padding: 2rem 0;
        font-size: 0.75rem;
    }
}

/* Hero Desktop Layout helpers */
.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1280px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: left;
    }

    .hero-grid .hero-visual {
        order: 2;
    }

    .hero-grid .hero-content {
        order: 1;
    }
}

/* Section title desktop */
@media (min-width: 768px) {
    section h2 {
        font-size: 1.5rem;
    }

    section h2 + p {
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    section h2 {
        font-size: 1.875rem;
    }

    section h2 + p {
        font-size: 1rem;
    }
}

/* Larger visuals on desktop */
@media (min-width: 1024px) {
    .hero-visual img,
    .hero-visual svg {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (min-width: 1280px) {
    .hero-visual img,
    .hero-visual svg {
        max-width: 520px;
    }
}
