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

:root {
    --bg-deep: #0D0D11;
    --bg-dark: #13131A;
    --bg-card: rgba(26, 26, 38, 0.75);
    --border-color: rgba(42, 42, 56, 0.6);
    --border-color-glow: rgba(0, 240, 255, 0.4);
    
    --text-main: #F5F5FA;
    --text-muted: #8E8E9E;
    
    --accent-cyan: #00F0FF;
    --accent-indigo: #6200EE;
    --accent-purple: #B388FF;
    --accent-green: #00FF87;
    --accent-red: #FF4A4A;
    
    --grad-neon: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-cyan) 100%);
    --grad-green: linear-gradient(135deg, #00BA63 0%, var(--accent-green) 100%);
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', var(--font-sans);
    
    --shadow-premium: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.25);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Scrollbars */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: #232330;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* Background Ambient Glows */
body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(98, 0, 238, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    bottom: 20%;
    left: -200px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Typographical System */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }

p {
    color: var(--text-muted);
    font-weight: 400;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--text-main);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* Utility Layouts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glow-text {
    background: var(--grad-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Header & Navigation */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(13, 13, 17, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.3));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.logo-text span {
    font-weight: 300;
    color: var(--text-muted);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 135, 0.08);
    border: 1px solid rgba(0, 255, 135, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-green);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-green);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.5); }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 6px rgba(0, 255, 135, 0); }
    100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(0, 255, 135, 0); }
}

/* Glassmorphism General Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-premium {
    background: var(--grad-neon);
    color: #FFF;
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #7F39FB 0%, #00FFFF 100%);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

.btn-premium:active {
    transform: translateY(0);
    background: #5200CC;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid #3D3D4E;
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    background: rgba(30, 30, 44, 0.6);
    color: #FFF;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
}

.hero-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    display: inline-block;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    max-width: 750px;
    margin: 0 auto 3rem;
}

/* Remaining Seats Counter Card */
.seats-card {
    max-width: 480px;
    margin: 0 auto 4rem;
    padding: 1.5rem 2rem;
    border-radius: 12px;
}

.seats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.seats-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.seats-number {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.progress-track {
    width: 100%;
    height: 8px;
    background: #151520;
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.progress-fill {
    height: 100%;
    background: var(--grad-neon);
    width: 91.42%; /* Dynamically managed */
    border-radius: 99px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: #FFF;
    box-shadow: 0 0 8px #FFF;
}

.seats-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Multi-step Survey Wizard Section */
.survey-section {
    padding: 3rem 0 6rem;
    display: grid;
    place-items: center;
}

.survey-container {
    width: 100%;
    max-width: 680px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Step Indicators */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.steps-indicator::before {
    content: '';
    position: absolute;
    height: 2px;
    background: #232330;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.step-node {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid #232330;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    z-index: 2;
    transition: var(--transition);
}

.step-node.active {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: var(--bg-deep);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.step-node.completed {
    border-color: var(--accent-green);
    color: var(--accent-green);
    background: rgba(0, 255, 135, 0.1);
}

/* Wizard Slides Slider */
.wizard-slider {
    position: relative;
    min-height: 330px;
}

.wizard-slide {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.wizard-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
}

.wizard-slide.prev-exit {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-40px);
}

/* Survey Questions & Inputs */
.slide-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.slide-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.option-card {
    background: rgba(13, 13, 17, 0.4);
    border: 1px solid var(--border-color);
    padding: 1.1rem 1.4rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.option-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(30, 30, 44, 0.3);
    transform: translateX(4px);
}

.option-card.selected {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.08);
}

.option-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #3D3D4E;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.option-card.selected .option-circle {
    border-color: var(--accent-cyan);
}

.option-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

.option-card.selected .option-circle::after {
    opacity: 1;
    transform: scale(1);
}

.option-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Signup Inputs Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: rgba(13, 13, 17, 0.6);
    border: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
    background: rgba(13, 13, 17, 0.9);
}

.form-input::placeholder {
    color: #4D4D5C;
}

.privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.privacy-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Wizard Navigation Row */
.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

/* Success / Completion Screen */
.success-screen {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(0, 255, 135, 0.08);
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-green);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
}

.success-badge-card {
    background: rgba(0, 240, 255, 0.04);
    border: 1px dashed rgba(0, 240, 255, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 360px;
    margin: 1.5rem auto 2.5rem;
}

.success-pos-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.success-pos-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Philosophy Section (Emotional Appeal) */
.philosophy {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, #101017 50%, var(--bg-deep) 100%);
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.philosophy-story {
    padding-right: 1.5rem;
}

.philosophy-tag {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.philosophy h2 {
    margin-bottom: 1.5rem;
}

.philosophy-p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.philosophy-quote {
    border-left: 3px solid var(--accent-cyan);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-main);
    line-height: 1.5;
}

.visual-art-card {
    height: 400px;
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.visual-art-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(98, 0, 238, 0.2) 0%, transparent 60%),
                radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.art-glow-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--accent-indigo);
    filter: blur(80px);
    top: 25%;
    left: 30%;
    z-index: 0;
}

.art-text-top {
    font-size: 0.75rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-cyan);
    z-index: 2;
    position: relative;
}

.art-quote-big {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main);
    z-index: 2;
    position: relative;
}

.art-text-bottom {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.art-chip {
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.65rem;
}

/* Feature Highlights Grid Section */
.features {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-header p {
    max-width: 600px;
    margin: 0.75rem auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    display: grid;
    place-items: center;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Screenshot Carousel Section */
.screenshots-section {
    padding: 6rem 0;
    background: #09090D;
    border-top: 1px solid var(--border-color);
}

.gallery-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.gallery-viewport {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: #111;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.gallery-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item {
    width: 25%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 13, 17, 0.9) 100%);
    padding: 2.5rem 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.gallery-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Carousel controls */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.gallery-dots {
    display: flex;
    gap: 0.5rem;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #232330;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-dot.active {
    background: var(--accent-cyan);
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.nav-arrows {
    display: flex;
    gap: 0.75rem;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.arrow-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Footer Section */
footer {
    padding: 4rem 0 3rem;
    border-top: 1px solid var(--border-color);
    background: #09090D;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
}
.footer-nav a:hover {
    color: var(--accent-cyan);
}

.copyright {
    font-size: 0.8rem;
    color: #4D4D5C;
}

.dev-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 240, 255, 0.04);
    border: 1px dashed rgba(0, 240, 255, 0.2);
    border-radius: 6px;
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.dev-badge-btn:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

/* Developer Console Slide Drawer */
.dev-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 580px;
    height: 100vh;
    background: #0E0E14;
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.dev-drawer.open {
    right: 0;
}

.dev-drawer-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dev-drawer-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.close-drawer {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-drawer:hover {
    color: var(--text-main);
    transform: rotate(90deg);
}

.dev-drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
}

/* Stats Summary Grid in Admin */
.db-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.db-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    border-radius: 8px;
}

.db-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.db-stat-val {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.db-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.db-actions .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.search-wrapper {
    margin-bottom: 1.5rem;
}

/* DB Table layout */
.records-container {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.record-row-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.5fr;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.records-list {
    max-height: 400px;
    overflow-y: auto;
}

.record-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.record-item:last-child {
    border-bottom: none;
}

.record-item:hover {
    background: rgba(255, 255, 255, 0.01);
}

.record-summary {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.5fr;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    align-items: center;
    cursor: pointer;
}

.record-summary .email {
    font-weight: 500;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.record-summary .phone {
    color: var(--text-muted);
}

.record-summary .expand-indicator {
    color: var(--accent-cyan);
    justify-self: end;
    font-size: 0.7rem;
    transition: var(--transition);
}

.record-item.expanded .expand-indicator {
    transform: rotate(180deg);
}

.record-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 0, 0, 0.3);
    padding: 0 1rem;
    font-size: 0.8rem;
    border-top: 1px solid transparent;
}

.record-item.expanded .record-details {
    max-height: 250px;
    padding: 1rem;
    border-top-color: var(--border-color);
}

.detail-row {
    margin-bottom: 0.75rem;
}
.detail-row:last-child {
    margin-bottom: 0;
}

.detail-q {
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.detail-a {
    color: var(--accent-cyan);
}

.no-records {
    padding: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Drawer Overlay Backdrop */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}
