/* ============================================
   REUSABLE COMPONENTS
   ============================================ */

/* ============================================
   FUTURISTIC SCROLLBAR
   ============================================ */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Light mode scrollbar - Webkit */
html[data-theme="light"] ::-webkit-scrollbar-thumb,
[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] ::-webkit-scrollbar-thumb:hover,
[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35);
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

html[data-theme="light"] {
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn--primary:hover {
    opacity: 0.9;
}

.btn--secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn--secondary:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn--large {
    padding: 16px 36px;
    font-size: 13px;
}

/* Light theme */
[data-theme="light"] .btn--secondary:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: var(--bg-card);
}

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

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s var(--ease-out);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

/* ============================================
   BADGES
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.badge--success {
    background: rgba(100, 255, 150, 0.1);
    color: rgba(100, 255, 150, 0.9);
}

.badge--warning {
    background: rgba(255, 200, 100, 0.1);
    color: rgba(255, 200, 100, 0.9);
}

.badge--info {
    background: rgba(100, 150, 255, 0.1);
    color: rgba(100, 150, 255, 0.9);
}

.badge--error {
    background: rgba(255, 100, 100, 0.1);
    color: rgba(255, 100, 100, 0.9);
}

/* ============================================
   MOBILE MENU DRAWER - Premium Design
   ============================================ */

.mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.mobile-menu__overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.5s var(--ease-out);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Ambient glow effect */
.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Side accent line */
.mobile-menu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(59, 130, 246, 0.3) 20%,
        rgba(59, 130, 246, 0.5) 50%,
        rgba(59, 130, 246, 0.3) 80%,
        transparent 100%);
    pointer-events: none;
}

.mobile-menu.open {
    right: 0;
}

/* Header section with logo and close */
.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.mobile-menu__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu__logo img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1); /* White logo in dark mode */
}

[data-theme="light"] .mobile-menu__logo img {
    filter: none; /* Original colors in light mode */
}

.mobile-menu__logo-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.mobile-menu__close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.mobile-menu__close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu__close::before,
.mobile-menu__close::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.8);
    transition: background 0.2s;
}

.mobile-menu__close:hover::before,
.mobile-menu__close:hover::after {
    background: #fff;
}

.mobile-menu__close::before { transform: rotate(45deg); }
.mobile-menu__close::after { transform: rotate(-45deg); }

/* User section (when logged in) */
.mobile-menu__user {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: none; /* Hidden by default, shown with .is-authenticated */
}

.is-authenticated .mobile-menu__user {
    display: flex;
}

.mobile-menu__user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.mobile-menu__user-info {
    flex: 1;
}

.mobile-menu__user-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.mobile-menu__user-email {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Navigation section */
.mobile-menu__nav-section {
    padding: 16px 24px 8px;
}

.mobile-menu__nav-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 12px;
}

.mobile-menu__nav {
    list-style: none;
    padding: 0 24px;
    margin: 0;
    flex: 1;
}

.mobile-menu__nav li {
    margin-bottom: 4px;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.mobile-menu__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--premium-blue, #3B82F6);
    border-radius: 2px;
    transition: height 0.2s;
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.mobile-menu__link:hover::before,
.mobile-menu__link.active::before {
    height: 20px;
}

.mobile-menu__link-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.mobile-menu__link:hover .mobile-menu__link-icon,
.mobile-menu__link.active .mobile-menu__link-icon {
    opacity: 1;
}

.mobile-menu__link-arrow {
    margin-left: auto;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s;
}

.mobile-menu__link:hover .mobile-menu__link-arrow {
    opacity: 0.5;
    transform: translateX(0);
}

/* Divider */
.mobile-menu__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 80%, transparent);
    margin: 16px 24px;
}

/* Theme toggle row */
.mobile-menu__theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    margin: 0 24px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.mobile-menu__theme-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-menu__theme-label svg {
    opacity: 0.6;
}

.mobile-menu__theme-toggle {
    width: 48px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.mobile-menu__theme-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s var(--ease-out);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .mobile-menu__theme-toggle {
    background: var(--premium-blue, #3B82F6);
    border-color: var(--premium-blue, #3B82F6);
}

[data-theme="light"] .mobile-menu__theme-toggle::after {
    transform: translateX(22px);
}

/* Language toggle row */
.mobile-menu__lang-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    margin: 0 24px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.mobile-menu__lang-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-menu__lang-label svg {
    opacity: 0.6;
}

.mobile-menu__lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
}

.mobile-menu__lang-toggle span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s;
}

.mobile-menu__lang-toggle span.active {
    background: var(--premium-blue, #3B82F6);
    color: #fff;
}

[data-theme="light"] .mobile-menu__lang-row {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mobile-menu__lang-label {
    color: var(--text-secondary);
}

[data-theme="light"] .mobile-menu__lang-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mobile-menu__lang-toggle span {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .mobile-menu__lang-toggle span.active {
    background: var(--premium-blue, #3B82F6);
    color: #fff;
}

/* CTA buttons section */
.mobile-menu__cta-section {
    padding: 16px 24px 24px;
    margin-top: auto;
    flex-shrink: 0;
}

.mobile-menu__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.mobile-menu__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.mobile-menu__cta svg {
    transition: transform 0.3s;
}

.mobile-menu__cta:hover svg {
    transform: translateX(3px);
}

.mobile-menu__cta--secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    box-shadow: none;
}

.mobile-menu__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

/* Social links */
.mobile-menu__social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
}

.mobile-menu__social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Animation for menu items */
.mobile-menu.open .mobile-menu__nav li {
    animation: slideInRight 0.4s var(--ease-out) forwards;
    opacity: 0;
}

.mobile-menu.open .mobile-menu__nav li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.open .mobile-menu__nav li:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu.open .mobile-menu__nav li:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu.open .mobile-menu__nav li:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu.open .mobile-menu__nav li:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu.open .mobile-menu__nav li:nth-child(6) { animation-delay: 0.35s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Light mode adjustments */
[data-theme="light"] .mobile-menu {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .mobile-menu::before {
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
}

[data-theme="light"] .mobile-menu::after {
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(59, 130, 246, 0.2) 20%,
        rgba(59, 130, 246, 0.3) 50%,
        rgba(59, 130, 246, 0.2) 80%,
        transparent 100%);
}

[data-theme="light"] .mobile-menu__header {
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mobile-menu__logo-text {
    color: var(--text-primary);
}

[data-theme="light"] .mobile-menu__close {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mobile-menu__close::before,
[data-theme="light"] .mobile-menu__close::after {
    background: var(--text-secondary);
}

[data-theme="light"] .mobile-menu__close:hover {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mobile-menu__close:hover::before,
[data-theme="light"] .mobile-menu__close:hover::after {
    background: var(--text-primary);
}

[data-theme="light"] .mobile-menu__user {
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mobile-menu__user-name {
    color: var(--text-primary);
}

[data-theme="light"] .mobile-menu__user-email {
    color: var(--text-muted);
}

[data-theme="light"] .mobile-menu__nav-label {
    color: var(--text-muted);
}

[data-theme="light"] .mobile-menu__link {
    color: var(--text-secondary);
}

[data-theme="light"] .mobile-menu__link:hover,
[data-theme="light"] .mobile-menu__link.active {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
}

[data-theme="light"] .mobile-menu__divider {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.08) 80%, transparent);
}

[data-theme="light"] .mobile-menu__theme-row {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mobile-menu__theme-label {
    color: var(--text-secondary);
}

[data-theme="light"] .mobile-menu__theme-toggle {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mobile-menu__theme-toggle::after {
    background: var(--text-primary);
}

[data-theme="light"] .mobile-menu__cta {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .mobile-menu__cta:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .mobile-menu__cta--secondary {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

[data-theme="light"] .mobile-menu__cta--secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .mobile-menu__social {
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mobile-menu__social-link {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
}

[data-theme="light"] .mobile-menu__social-link:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
}

/* ============================================
   LEGAL / CONTENT PAGES
   ============================================ */

.legal-page {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.legal-page__header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-page__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 16px;
}

.legal-page__updated {
    font-size: 13px;
    color: var(--text-muted);
}

.legal-page__content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page__section {
    margin-bottom: 48px;
}

.legal-page__section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-page__section p,
.legal-page__section li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-page__section ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page__section li {
    margin-bottom: 8px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.contact-card__icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-card a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-card a:hover {
    opacity: 0.8;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
}

.contact-form h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ORDER RATING MODAL
   ============================================ */

.rating-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.rating-modal-overlay.show {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.rating-modal {
  background: var(--bg-card, #1a1a1a);
  border: 1px solid var(--border-color, #333);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 32px;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.rating-modal-overlay.show .rating-modal {
  transform: scale(1) translateY(0);
}

.rating-modal__header {
  text-align: center;
  margin-bottom: 28px;
}

.rating-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
}

.rating-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 0 0 8px;
}

.rating-modal__subtitle {
  font-size: 0.9375rem;
  color: var(--text-secondary, #888);
  margin: 0;
  line-height: 1.5;
}

.rating-modal__subtitle strong {
  color: var(--brand-accent, #6366f1);
}

.rating-modal__body {
  margin-bottom: 24px;
}

.rating-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.rating-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-secondary, #252525);
  border-radius: 12px;
  border: 1px solid var(--border-color, #333);
}

.rating-category__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary, #fff);
}

.star-rating {
  display: flex;
  gap: 4px;
}

.star-rating .star {
  cursor: pointer;
  color: var(--text-tertiary, #555);
  transition: all 0.15s ease;
}

.star-rating .star:hover {
  transform: scale(1.15);
}

.star-rating .star.filled {
  color: #f59e0b;
}

.star-rating .star.filled svg {
  fill: #f59e0b;
}

.star-rating .star.hover {
  color: #fbbf24;
}

.star-rating .star.hover svg {
  fill: #fbbf24;
}

.rating-comment {
  margin-top: 20px;
}

.rating-comment__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary, #888);
  margin-bottom: 8px;
}

.rating-comment__input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary, #252525);
  border: 1px solid var(--border-color, #333);
  border-radius: 12px;
  color: var(--text-primary, #fff);
  font-size: 0.9375rem;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
}

.rating-comment__input:focus {
  outline: none;
  border-color: var(--brand-accent, #6366f1);
}

.rating-comment__input::placeholder {
  color: var(--text-tertiary, #555);
}

.rating-modal__footer {
  display: flex;
  gap: 12px;
}

.rating-btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
}

.rating-btn--skip {
  background: var(--bg-secondary, #252525);
  border: 1px solid var(--border-color, #333);
  color: var(--text-secondary, #888);
}

.rating-btn--skip:hover {
  background: var(--bg-tertiary, #333);
  color: var(--text-primary, #fff);
}

.rating-btn--submit {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
}

.rating-btn--submit:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.rating-modal__help {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary, #555);
  margin: 16px 0 0;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .rating-modal {
    padding: 24px;
    border-radius: 16px;
  }

  .rating-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .rating-modal__footer {
    flex-direction: column;
  }
}
