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

:root {
    /* Colors - Brand & UI */
    --color-primary: #ffffff;
    --color-accent: #6366f1;
    --color-accent-hover: #4f46e5;
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.8);
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-bg-dark: #1a1a2e;

    /* Status Colors */
    --color-success: #10b981;
    --color-warning: #fbbf24;
    --color-warning-bg: rgba(245, 158, 11, 0.1);
    --color-warning-border: rgba(245, 158, 11, 0.3);
    --color-danger: #ef4444;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-bg-dark: rgba(56, 56, 75, 1.0);
    --glass-bg-hover: rgba(255, 255, 255, 0.25);
    --glass-bg-active: rgba(255, 255, 255, 0.3);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-border-light: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Inter', sans-serif;
    /* Could be Outfit if desired */

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* --- Resets & Base --- */

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: #1a1a2e;
    /* Base dark color instead of CSS gradient */
    color: var(--color-text-primary);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}

/* 3D Animated Network Background */
#network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Keeps the canvas behind everything else */
    pointer-events: none;
    /* So it doesn't block clicks */
    background: linear-gradient(135deg, #111122 0%, #1a1a36 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-sm);
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Utilities --- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Utilities --- */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Text Utilities */
.text-bold {
    font-weight: 700;
}

.text-small {
    font-size: 0.9rem;
}

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

.text-gradient {
    background: linear-gradient(to right, #fff, #a5b4fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Visibility */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

/* --- Components --- */

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: var(--space-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  /*
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.2);
    */
    border-color: rgba(255, 255, 255, 0.4);
}

.glass-card-dark {
    background: var(--glass-bg-dark);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: var(--space-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* Glass Button */
.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    color: white;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all var(--transition-normal);
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
}

.glass-btn:hover {
    background: var(--glass-bg-hover);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    text-decoration: none;
    color: white;
}

.glass-btn.primary {
    background: var(--color-accent);
    border: none;
}

.glass-btn.primary:hover {
    background: var(--color-accent-hover);
}

.glass-btn.danger {
    background: var(--color-danger);
    border: none;
}

.glass-btn.small-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.glass-btn.full-width {
    width: 100%;
}

/* Navigation */
#topnav {
    position: sticky;
    top: 1rem;
    z-index: 1000;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.main-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand .brand-link {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    color: var(--color-text-secondary);
    font-weight: 500;
    margin: 0 25px 0 25px;
}

.nav-item:hover {
    color: var(--color-primary);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .main-nav {
        display: flex;
        justify-content: space-between;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(20, 30, 60, 0.98);
        padding: 2rem 0;
        gap: 2rem;
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 20px;
        border-radius: 25px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Homepage Hero */
.hero-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4rem;
}

.hero-text-col .main-title {
    font-size: 4rem;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .hero-text-col .main-title {
        font-size: 2.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 500px;
}

/* Pills */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-pills i {
    margin-right: 10px;
}

.pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

@media (max-width: 900px) {
    .feature-pills {
        justify-content: center;
    }
}

/* Forms */
.form-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.form-text{
    color: var(--color-text-secondary);
}

.form-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.form-desc {
    margin-bottom: 2rem;
}

.form-group input,
.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="password"] {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: white;
    margin-bottom: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-card input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.3);
}

.form-card button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: var(--color-accent);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    margin-top: 1rem;
}

.form-card button[type="submit"]:hover {
    background: var(--color-accent-hover);
}

.form-control{
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: white;
    font-family: inherit;
    box-sizing: border-box;
    transition: all var(--transition-fast);
}

.form-control::placeholder{
    color:rgba(255, 255, 255, 0.3);
}


/* Dashboard Preview */
.dashboard-preview {
    text-align: center;
}

.dashboard-preview .glass-btn.full-width {
    width: auto;
    min-width: 200px;
}

/* Features Section */
.features-strip {
    padding: 6rem 0;
    margin-bottom: 4rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.5rem;
}

/* Step Cards */
.step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(165, 180, 252, 0.1);
    border-color: rgba(165, 180, 252, 0.3);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
    z-index: 2;
    border: 3px solid #1a1a2e;
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(165, 180, 252, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #a5b4fc;
    border: 1px solid rgba(165, 180, 252, 0.2);
}

.text-accent {
    color: var(--color-accent);
}

/* FAQ Accordion - Glassmorphism */
.glass-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md) !important;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.glass-accordion .accordion-button {
    background: transparent;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.5rem;
    box-shadow: none;
    transition: all var(--transition-fast);
}

.glass-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(165, 180, 252, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-accordion .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.05);
    color: #a5b4fc;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Accordion Chevron Icon (White/Accent) */
.glass-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.glass-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a5b4fc'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.glass-accordion .accordion-body {
    color: var(--color-text-secondary);
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    line-height: 1.7;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
    margin-top: auto;
    font-size: 0.9rem;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: white;
}

/* --- Dashboard Specific --- */

body.dashboard-page header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-logo {
    font-weight: 700;
    font-size: 1.25rem;
}

.dashboard-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Dashboard Tabs */
.dashboard-tabs {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    border: 1px solid transparent;
}

.tab-btn.active-tab {
    background: var(--glass-bg-active) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Dashboard Content */
.dashboard-card-header {
    border-bottom: 1px solid var(--glass-border-light);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.badge-id {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.alert-warning {
    background: var(--color-warning-bg);
    color: var(--color-warning);
    border: 1px solid var(--color-warning-border);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.stat-card {
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-top: 0.5rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* QR Section */
.qr-section {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border-light);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.qr-preview {
    background: white;
    padding: 10px;
    border-radius: 8px;
    flex-shrink: 0;
}

.qr-info h3 {
    margin: 0 0 0.5rem 0;
}

.qr-code-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
    display: block;
    margin-bottom: 10px;
    word-break: break-all;
    font-family: monospace;
    font-size: 0.9rem;
    color: #a5b4fc;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    color: rgba(255, 255, 255, 0.9);
}

th {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.rating-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-weight: bold;
    font-size: 0.9rem;
}

.flyer-template {
    cursor: pointer;
    transition: transform 0.2s;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.flyer-template:hover {
    transform: scale(1.05);
    border-color: var(--color-accent);
}

/* --- Profile Section Styles --- */

#profile form {
    display: grid;
    gap: var(--space-md);
    max-width: 600px;
}

#profile label {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

#profile input[type="text"],
#profile input[type="email"],
#profile input[type="password"],
#profile input[type="url"],
#profile textarea,
#profile select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: white;
    font-family: inherit;
    box-sizing: border-box;
    transition: all var(--transition-fast);
}

#profile input:focus,
#profile textarea:focus,
#profile select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Specific styling for ProcessWire Inputfields if present */
#profile .Inputfield {
    margin-bottom: var(--space-md);
}

#profile .InputfieldHeader {
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

#profile .InputfieldContent {
    margin-top: 0;
}

/* Buttons in profile */
#profile button,
#profile input[type="submit"] {
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-block;
    font-size: 1rem;
    margin-top: var(--space-sm);
}

#profile button:hover,
#profile input[type="submit"]:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Error/Success messages in profile */
#profile .error,
#profile .InputfieldStateError {
    color: var(--color-danger);
    background: rgba(239, 68, 68, 0.1);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

#profile .success,
#profile .InputfieldStateSuccess {
    color: var(--color-success);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

#profile .notes {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
    font-style: italic;
}



.flyer-template img {
    width: 100%;
    height: auto;
    display: block;
}

.flyer-label {
    text-align: center;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Print Modal & Layouts */
.print-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.print-modal.active {
    opacity: 1;
    pointer-events: all;
}

.print-content {
    background: white;
    color: black;
    padding: 2rem;
    max-width: 90vh;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.flyer-layout {
    width: 210mm;
    height: 297mm;
    background: white;
    padding: 20mm;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}



@media print {
    body * {
        visibility: hidden;
    }

    #print-modal,
    #print-modal * {
        visibility: visible;
    }

    #print-modal {
        position: absolute;
        left: 0;
        top: 0;
        background: white;
    }

    .no-print {
        display: none;
    }
}

/* --- Review Page Specifics --- */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Standalone Card for Review Page */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: var(--space-xl);
    max-width: 500px;
    margin: 4rem auto;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Logo */
.card .logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
}

/* Star Rating */
.star-container {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 2rem 0;
    -webkit-user-select: none;
    user-select: none;
}

.star {
    font-size: 3.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
}

.star:hover,
.star.active {
    color: #fbbf24;
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2rem 0;
    width: 100%;
}

/* Google Button */
.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: #3c4043;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-google:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
    color: #3c4043;
}

/* Feedback Form */
#feedback-msg {
    width: 100%;
    min-height: 120px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    color: white;
    margin: 1.5rem 0;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: all 0.3s ease;
}

#feedback-msg:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.3);
}

.btn-submit {
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: var(--radius-pill);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-submit:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Hero CTA Group */
.hero-cta-group {
    /* Stellt sicher, dass die Buttons auf mobilen Geräten gut wirken */
    width: 100%;
}

@media (max-width: 575.98px) {

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        /* Auf sehr kleinen Bildschirmen die Buttons komplett in der Breite ausreizen */
    }
}

/* Primärer Auffälliger Button */
.hero-btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #ffffff;
    border: none;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50rem;
    /* Modernes, stark abgerundetes Pill-Design */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.hero-btn-primary:active,
.hero-btn-primary:focus,
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.45);
    background: linear-gradient(135deg, #0b5ed7, #084298);
    color: #ffffff;
}

/* Sekundärer Dezenter Button */
.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    /* Leicht transparent */
    color: var(--color-primary);
    /* Dunkles Grau – falls euer Hero einen dunklen Background hat, ändere dies zu #fff */
    border: 2px solid #ced4da;
    padding: 0.8rem 2.5rem;
    font-size: 1.0rem;
    font-weight: 500;
    border-radius: 50rem;
    transition: all 0.3s ease;
}

.hero-btn-secondary:active,
.hero-btn-secondary:focus,
.hero-btn-secondary:hover {
    background: #f8f9fa;
    /* Dezenter Grauton im Hover */
    color: #212529;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.description {
    font-size: 0.8rem;
}

.requiredHint {
    font-size: 0.8rem;
}

/* --- Page Side Navigation (Scrollspy) --- */
.side-nav {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1050;
    gap: 15px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.side-nav .nav-link {
    padding: 0;
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    position: relative;
}

.side-nav .nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.side-nav .nav-link:hover .nav-dot,
.side-nav .nav-link.active .nav-dot {
    background: var(--color-accent);
    transform: scale(1.5);
    box-shadow: 0 0 10px var(--color-accent);
}

.side-nav .nav-link::before {
    content: attr(title);
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.side-nav .nav-link:hover::before {
    background-color: #A0A2F7;
}

.side-nav .nav-link.active::before {
    color: white;
    background: var(--color-accent);
    /*background-color: #A0A2F7;*/
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
    border-color: var(--color-accent);
}

@media (max-width: 991px) {
    .side-nav {
        right: 10px;
        padding: 10px 5px;
        gap: 10px;
    }

    .side-nav .nav-link::before {
        display: none !important;
    }
}

/* --- How It Works Zigzag Layout --- */
.zigzag-row {
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}
.step-image-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.zigzag-row:hover .step-image-wrapper {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.15);
}
.tracking-wider { letter-spacing: 0.1em; }
.mb-6 { margin-bottom: 5rem !important; }

.profile-form .form-section {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.profile-form .form-section:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}
.profile-form .input-group-text {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-right: none;
    color: rgba(255,255,255,0.6);
    border-top-left-radius: var(--radius-sm);
    border-bottom-left-radius: var(--radius-sm);
}
.profile-form .input-group .form-control,
.profile-form .input-group .form-select {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    width: 1%;
    flex: 1 1 auto;
}
.profile-form .input-group:focus-within .input-group-text {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.profile-form .form-label {
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}
.profile-form .form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: white;
    font-family: inherit;
    box-sizing: border-box;
    transition: all var(--transition-fast);
    appearance: none;
}
.profile-form .form-select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.3);
}
.profile-form .form-select option {
    background: #1a1a2e;
    color: white;
}

/* --- Reply Modal --- */
.reply-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.reply-modal.active {
    opacity: 1;
    pointer-events: all;
}

.reply-modal-content {
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0 !important;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.reply-modal.active .reply-modal-content {
    transform: translateY(0);
}

.reply-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reply-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
}

.reply-modal-body {
    padding: 1.5rem;
}

.reply-context {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm, 6px);
    padding: 1rem;
    margin-bottom: 1.2rem;
}

.reply-context-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.reply-context-item:last-child {
    margin-bottom: 0;
}

.reply-context-label {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    flex-shrink: 0;
    min-width: 80px;
}

.reply-context-value {
    color: rgba(255, 255, 255, 0.85);
    word-break: break-word;
}

.reply-label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.9rem;
}

.reply-textarea {
    width: 100%;
    min-height: 130px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm, 6px);
    padding: 0.8rem 1rem;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    transition: border-color 0.3s ease, background 0.3s ease;
    box-sizing: border-box;
}

.reply-textarea:focus {
    outline: none;
    border-color: var(--color-accent, #6366f1);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.reply-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-replied {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 4px;
}

.text-secondary {
    color: var(--color-text-secondary) !important;
}

.top-spacer {
    margin-top: 15px !important;
}

#register-form-privacy-errormsg{
    color: #f1aeb5;
}

#register-form-pass-fieldwrapper .description {
    color: #f1aeb5;
    font-size: 1.1rem !important;
}
