:root {
    /* Deep navy base */
    --background: hsl(222, 47%, 6%);
    --foreground: hsl(210, 40%, 98%);

    /* Cards with subtle elevation */
    --card: hsl(222, 47%, 8%);
    --card-foreground: hsl(210, 40%, 98%);

    /* Primary - Electric Cyan */
    --primary: hsl(187, 100%, 50%);
    --primary-foreground: hsl(222, 47%, 6%);

    /* Secondary - Warm Amber */
    --secondary: hsl(38, 100%, 50%);
    --secondary-foreground: hsl(222, 47%, 6%);

    /* Muted */
    --muted: hsl(222, 30%, 15%);
    --muted-foreground: #d8e0eb;

    /* Destructive */
    --destructive: hsl(0, 84%, 60%);

    /* Borders */
    --border: hsl(222, 30%, 18%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(187, 100%, 50%), hsl(200, 100%, 45%));
    --gradient-secondary: linear-gradient(135deg, hsl(38, 100%, 50%), hsl(28, 100%, 55%));

    /* Shadows */
    --shadow-glow: 0 0 40px hsla(187, 100%, 50%, 0.3);
    --shadow-glow-amber: 0 0 40px hsla(38, 100%, 50%, 0.3);
    --shadow-elevated: 0 25px 50px -12px hsla(222, 47%, 3%, 0.8);

    /* Glass */
    --glass-bg: hsla(222, 47%, 10%, 0.7);
    --glass-border: hsla(222, 30%, 25%, 0.5);
}

.hide {
    display: none !important;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.bg-card {
    background: var(--card);
}

/* Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
}

/* Buttons */
.btn-premium {
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: none;
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--primary-foreground);
}

.btn-outline-premium {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-premium:hover {
    background: hsla(187, 100%, 50%, 0.1);
    box-shadow: var(--shadow-glow);
    color: var(--primary);
}

/* Nav User Dropdown */
.nav-user-dropdown {
    position: relative;
}

.nav-user-trigger {
    text-decoration: none;
    white-space: nowrap;
}

.nav-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: hsla(187, 100%, 50%, 0.15);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.nav-user-arrow {
    transition: transform 0.2s ease;
}

.nav-user-dropdown:hover .nav-user-arrow {
    transform: rotate(180deg);
}

.nav-user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 210px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: hsl(222, 47%, 8%);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 16px 40px hsla(222, 47%, 3%, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.nav-user-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.nav-user-dropdown:hover .nav-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-user-menu a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1rem;
    font-size: 0.825rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-user-menu a:hover {
    background: hsla(187, 100%, 50%, 0.08);
    color: var(--foreground);
}

.nav-user-menu a i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.nav-user-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 0.35rem 0;
}

.nav-user-logout {
    color: hsl(0, 84%, 60%) !important;
}

.nav-user-logout:hover {
    background: hsla(0, 84%, 60%, 0.08) !important;
    color: hsl(0, 84%, 65%) !important;
}

/* Section Divider */
.section-divider {
    width: 6rem;
    height: 4px;
    margin: 0 auto;
    border-radius: 9999px;
    background: var(--gradient-primary);
}

/* Grid Pattern */
.grid-pattern {
    background-image: 
        linear-gradient(hsla(222, 30%, 18%, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, hsla(222, 30%, 18%, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px hsla(187, 100%, 50%, 0.3); }
    50% { box-shadow: 0 0 40px hsla(187, 100%, 50%, 0.5); }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

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

.animate-slide-up {
    animation: slide-up 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Card Hover */
.card-hover {
    transition: all 0.5s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated), var(--shadow-glow);
}

/* Glow effects */
.glow-primary {
    box-shadow: var(--shadow-glow);
}

.glow-secondary {
    box-shadow: var(--shadow-glow-amber);
}

/* Stat Value */
.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s ease;
}

.navbar-custom.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
}

.nav-link-custom {
    position: relative;
    color: var(--muted-foreground);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link-custom:hover {
    color: var(--foreground);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link-custom:hover::after {
    transform: scaleX(1);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    background: hsla(222, 30%, 15%, 0.6);
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    overflow: hidden;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--muted-foreground);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.55rem;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
}

.lang-btn:hover {
    color: var(--foreground);
}

.lang-btn.active {
    background: hsla(187, 100%, 50%, 0.15);
    color: var(--primary);
}

/* Hide Google Translate default bar */
.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-content-container {
    padding-top: 2rem;
}
@media (max-width: 767.98px) {
    .hero-content-container {
        padding-top: 3rem;
    }
}

.hero-overlay {
    background: linear-gradient(
        180deg,
        hsla(222, 47%, 6%, 0.7) 0%,
        hsla(222, 47%, 6%, 0.5) 40%,
        hsla(222, 47%, 6%, 0.8) 100%
    );
}

.hero-headline {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: unset;
}

@media (min-width: 768px) {
    .hero-headline {
        min-height: 220px;
    }
}

.headline-text {
    transition: all 0.5s ease;
}

.headline-text.animating {
    opacity: 0;
    transform: translateY(30px);
}

.headline-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted-foreground);
    opacity: 0.4;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.headline-indicator.active {
    width: 32px;
    background: var(--primary);
    opacity: 1;
}

.headline-indicator:hover {
    opacity: 0.6;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
}

/* Feature Cards */
.feature-card {
    overflow: hidden;
    transition: all 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated), var(--shadow-glow);
}

.feature-card:hover .feature-image {
    transform: scale(1.1);
}

.feature-image {
    transition: transform 0.5s ease;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* About Section */
.about-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.about-image {
    border-radius: 1rem;
    object-fit: cover;
}

.about-year-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 5;
}

.about-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.about-feature-card {
    transition: all 0.3s ease;
}

.about-feature-card:hover {
    border-color: hsla(187, 100%, 50%, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px hsla(187, 100%, 50%, 0.1);
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 0.625rem;
    background: hsla(187, 100%, 50%, 0.1);
    border: 1px solid hsla(187, 100%, 50%, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.about-content-area h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-content-area p {
    color: var(--muted-foreground);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-stats-bar {
    background: var(--card);
    padding: 3rem 0;
}

.about-stats-container {
    margin: 0 auto;
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
}

@media (max-width: 991.98px) {
    .about-image {
        height: 400px;
    }

    .about-stats-container {
        max-width: 95%;
    }
}

@media (max-width: 575.98px) {
    .about-image {
        height: 300px;
    }

    #about .display-5 {
        font-size: 1.75rem;
    }

    .about-stats-bar .display-5 {
        font-size: 2rem;
    }
}

/* Corporate CTA */
.corporate-cta {
    border-radius: 1.25rem;
    border: 1px solid hsla(187, 100%, 50%, 0.15);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: border-color 0.3s ease;
}

.corporate-cta:hover {
    border-color: hsla(187, 100%, 50%, 0.3);
}

/* Program Cards */
.program-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.program-card:hover .program-image {
    transform: scale(1.05);
}

.program-image {
    transition: transform 0.5s ease;
}

.descriere-curs-html p:last-child {
    margin-bottom: 0;
}
.descriere-curs-html ul,
.descriere-curs-html ol {
    padding-left: 1.25rem;
}

/* Homepage Course Filter Pills */
.hp-filtru-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted-foreground);
    background: hsla(222, 30%, 18%, 0.6);
    border: 1px solid var(--border);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hp-filtru-pill:hover {
    color: var(--foreground);
    border-color: rgba(255, 255, 255, 0.2);
    background: hsla(222, 30%, 22%, 0.8);
}

.hp-filtru-pill.active {
    color: var(--primary-foreground);
    background: var(--primary);
    border-color: var(--primary);
}

.hp-filtru-pill.active:hover {
    opacity: 0.9;
}

.hp-filtru-pill i {
    font-size: 0.9rem;
}

/* Homepage Course Card - Skills */
.hp-curs-skiluri {
    padding: 0.6rem 0.75rem;
    background: hsla(142, 76%, 45%, 0.07);
    border: 1px solid hsla(142, 76%, 45%, 0.15);
    border-radius: 8px;
}

.hp-curs-tip-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 9999px;
}

.hp-curs-sectiune-titlu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.hp-curs-sectiune-skiluri {
    color: hsl(142, 76%, 45%);
}

.hp-curs-skiluri-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hp-curs-skiluri-lista li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.hp-curs-skiluri-lista li i {
    color: hsl(142, 76%, 45%);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Homepage Course Card - Restrictions */
.hp-curs-restrictii {
    padding: 0.6rem 0.75rem;
    background: hsla(38, 92%, 50%, 0.07);
    border: 1px solid hsla(38, 92%, 50%, 0.2);
    border-radius: 8px;
}

.hp-curs-sectiune-restrictii {
    color: hsl(38, 92%, 50%);
}

.hp-curs-restrictii-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.hp-curs-restrictii-lista li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.hp-curs-restrictii-lista li i {
    color: hsl(38, 92%, 50%);
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.hp-curs-restrictie-titlu {
    display: block;
    font-weight: 500;
    color: var(--foreground);
    font-size: 0.8rem;
}

.hp-curs-restrictie-desc {
    display: block;
    font-size: 0.7rem;
    color: var(--muted-foreground);
    line-height: 1.4;
    margin-top: 1px;
}

/* Horizontal course card layout */
.program-card-hz {
    overflow: hidden;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.program-card-hz:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px hsla(222, 47%, 3%, 0.6);
}

.program-card-hz:hover .program-image {
    transform: scale(1.05);
}

.program-card-hz-img {
    height: 100%;
    min-height: 280px;
}

@media (max-width: 991.98px) {
    .program-card-hz-img {
        height: 220px;
        min-height: 220px;
    }
    .program-card-hz-img .position-absolute[style*="linear-gradient(to right"] {
        background: linear-gradient(to top, var(--card), transparent, transparent) !important;
    }
}

/* Dezactivat state - items already in cart */
.produs_magazin.dezactivat .adauga_in_cos {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.produs_magazin.dezactivat .adauga_in_cos .bi-cart3 {
    display: none;
}

.produs_magazin.dezactivat .adauga_in_cos::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    margin-right: 0.5rem;
}

/* Already purchased courses */
.produs_magazin.deja-cumparat .adauga_in_cos {
    opacity: 0.6;
}

.produs_magazin.deja-cumparat .adauga_in_cos::before {
    content: "\F272";
    font-family: "bootstrap-icons";
    margin-right: 0.5rem;
}

.produs_magazin.deja-cumparat .adauga_in_cos .btn-text-curs {
    font-size: 0.85em;
}

/* ==========================================
   COURSE DETAILS MODAL
   ========================================== */

.curs-modal-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

/* Loader overlay */
.curs-modal-loader {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--card);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.curs-modal-loader.active {
    opacity: 1;
    pointer-events: auto;
}

.curs-modal-spinner {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.curs-modal-spinner-ring {
    position: absolute;
    inset: 0;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: cursModalSpin 1s linear infinite;
}

@keyframes cursModalSpin {
    to { transform: rotate(360deg); }
}

.curs-modal-spinner-icon {
    font-size: 1.4rem;
    color: var(--primary);
}

.curs-modal-loader-text {
    margin-top: 1rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Header */
.curs-modal-header {
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, hsla(187, 100%, 50%, 0.04) 0%, transparent 50%);
    padding: 1rem 1.5rem;
}

.curs-modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--muted-foreground);
}

/* Body */
.curs-modal-body {
    padding: 0;
    overflow-x: hidden;
    transition: opacity 0.3s ease;
}

/* Hero area */
.curs-modal-hero {
    background: linear-gradient(135deg, hsla(222, 47%, 10%, 1) 0%, hsla(222, 47%, 6%, 1) 100%);
    border-bottom: 1px solid var(--border);
}

.curs-modal-hero-img {
    position: relative;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
}

.curs-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 50%, var(--card));
}

.curs-modal-badges {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.curs-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.curs-modal-badge-data {
    background: hsla(187, 100%, 50%, 0.9);
    color: var(--primary-foreground);
}

.curs-modal-badge-spots {
    background: hsla(142, 71%, 45%, 0.9);
    color: #fff;
}

.curs-modal-badge-urgent {
    background: hsla(0, 85%, 60%, 0.9);
    color: #fff;
}

.curs-modal-hero-info {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.curs-modal-curs-titlu {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.curs-modal-pret {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* Meta grid */
.curs-modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.curs-modal-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    background: hsla(222, 30%, 15%, 0.5);
    border: 1px solid var(--border);
    border-radius: 0.6rem;
}

.curs-modal-meta-item > i {
    font-size: 1rem;
    margin-top: 0.15rem;
}

.curs-modal-meta-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    font-weight: 600;
}

.curs-modal-meta-value {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

/* Elements summary tags */
.curs-modal-elemente-sumar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.curs-modal-elem-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: hsla(187, 100%, 50%, 0.08);
    border: 1px solid hsla(187, 100%, 50%, 0.2);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
}

/* Sections */
.curs-modal-section {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.curs-modal-section:last-child {
    border-bottom: none;
}

.curs-modal-section-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.curs-modal-section-header > i {
    font-size: 1.2rem;
    color: var(--primary);
}

.curs-modal-section-header h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--foreground);
}

.curs-modal-section-header-restrictii > i {
    color: var(--secondary);
}

/* Skills & restrictions row padding */
#cursModalSkiluriRestrictiiRow {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.curs-modal-section-skiluri,
.curs-modal-section-restrictii {
    padding: 1.25rem;
    border-radius: 0.75rem;
    border-bottom: none;
}

.curs-modal-section-skiluri {
    background: hsla(142, 71%, 45%, 0.05);
    border: 1px solid hsla(142, 71%, 45%, 0.15);
}

.curs-modal-section-restrictii {
    background: hsla(38, 100%, 50%, 0.05);
    border: 1px solid hsla(38, 100%, 50%, 0.15);
}

/* Description */
.curs-modal-descriere {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-break: break-word;
}

.curs-modal-descriere p {
    margin-bottom: 0.75rem;
}

.curs-modal-descriere p:last-child {
    margin-bottom: 0;
}

.curs-modal-descriere strong,
.curs-modal-descriere b {
    color: var(--foreground);
    font-weight: 600;
}

.curs-modal-descriere ul,
.curs-modal-descriere ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Skills list */
.curs-modal-skiluri-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.curs-modal-skiluri-lista li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--foreground);
}

.curs-modal-skiluri-lista li i {
    color: hsl(142, 71%, 45%);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Restrictions list */
.curs-modal-restrictii-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.curs-modal-restrictii-lista li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
}

.curs-modal-restrictii-lista li > i {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.curs-modal-restrictie-titlu {
    display: block;
    font-weight: 600;
    color: var(--foreground);
}

.curs-modal-restrictie-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin-top: 0.15rem;
}

/* Program list */
.curs-modal-program-lista {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.curs-modal-program-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid hsla(222, 30%, 18%, 0.5);
}

.curs-modal-program-item:last-child {
    border-bottom: none;
}

.curs-modal-program-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.6rem;
    background: hsla(187, 100%, 50%, 0.1);
    border: 1px solid hsla(187, 100%, 50%, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.curs-modal-program-icon i {
    font-size: 1rem;
    color: var(--primary);
}

.curs-modal-program-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.curs-modal-program-titlu {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--foreground);
}

.curs-modal-program-tip {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
}

.curs-modal-program-data {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.curs-modal-program-data i {
    font-size: 0.7rem;
}

/* Footer */
.curs-modal-footer {
    border-top: 1px solid var(--border);
    background: linear-gradient(135deg, hsla(187, 100%, 50%, 0.02) 0%, transparent 50%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.curs-modal-footer .btn-outline-premium,
.curs-modal-footer .btn-premium {
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .curs-modal-hero-img {
        height: 220px;
        min-height: 220px;
    }

    .curs-modal-hero-overlay {
        background: linear-gradient(to top, var(--card), transparent, transparent);
    }

    .curs-modal-hero-info {
        padding: 1.25rem 1.5rem;
    }

    .curs-modal-curs-titlu {
        font-size: 1.3rem;
    }

    .curs-modal-pret {
        font-size: 1.6rem;
    }

    .curs-modal-meta-grid {
        grid-template-columns: 1fr;
    }

    .curs-modal-section {
        padding: 1.25rem 1.25rem;
    }

    #cursModalSkiluriRestrictiiRow {
        padding: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .curs-modal-hero-info {
        padding: 1rem;
    }

    .curs-modal-section {
        padding: 1rem;
    }

    #cursModalSkiluriRestrictiiRow {
        padding: 1rem;
    }

    .curs-modal-footer {
        flex-direction: column;
    }

    .curs-modal-footer .btn-outline-premium,
    .curs-modal-footer .btn-premium {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   PILOT PROFILE MODAL
   ========================================== */

.pilot-modal-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

/* Header */
.pilot-modal-header {
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, hsla(187, 100%, 50%, 0.04) 0%, transparent 50%);
    padding: 1rem 1.5rem;
}

.pilot-modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--muted-foreground);
}

/* Body */
.pilot-modal-body {
    padding: 0;
    overflow-x: hidden;
}

/* Hero area */
.pilot-modal-hero {
    background: linear-gradient(135deg, hsla(222, 47%, 10%, 1) 0%, hsla(222, 47%, 6%, 1) 100%);
    border-bottom: 1px solid var(--border);
}

.pilot-modal-hero-img {
    position: relative;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    background: hsla(222, 47%, 15%, 1);
}

.pilot-modal-hero-img img {
    display: block;
}

.pilot-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 50%, hsla(222, 47%, 8%, 1));
}

.pilot-modal-badges {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pilot-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.pilot-modal-badge-featured {
    background: hsla(38, 100%, 50%, 0.9);
    color: var(--primary-foreground);
}

.pilot-modal-badge-verified {
    background: hsla(187, 100%, 50%, 0.15);
    color: var(--primary);
    border: 1px solid hsla(187, 100%, 50%, 0.3);
}

.pilot-modal-availability {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1rem;
}

/* Hero info (right column) */
.pilot-modal-hero-info {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.pilot-modal-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    color: var(--foreground);
}

.pilot-modal-location {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pilot-modal-location i {
    color: var(--primary);
}

.pilot-modal-rate {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
}

.pilot-modal-rate span {
    font-size: 1rem;
    font-weight: 500;
    -webkit-text-fill-color: var(--muted-foreground);
}

/* Stats grid */
.pilot-modal-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.pilot-modal-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.85rem 0.5rem;
    background: hsla(222, 30%, 15%, 0.5);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.pilot-modal-stat-item:hover {
    border-color: hsla(187, 100%, 50%, 0.2);
    background: hsla(222, 30%, 15%, 0.8);
}

.pilot-modal-stat-icon {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.pilot-modal-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.2;
}

.pilot-modal-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    font-weight: 600;
    margin-top: 0.15rem;
}

/* Sections */
.pilot-modal-section {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.pilot-modal-section:last-child {
    border-bottom: none;
}

.pilot-modal-section-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.pilot-modal-section-header > i {
    font-size: 1.2rem;
    color: var(--primary);
}

.pilot-modal-section-header h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--foreground);
}

/* Tags for specializations & categories */
.pilot-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pilot-modal-spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: hsla(187, 100%, 50%, 0.08);
    border: 1px solid hsla(187, 100%, 50%, 0.2);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    transition: all 0.3s ease;
}

.pilot-modal-spec-tag:hover {
    background: hsla(187, 100%, 50%, 0.15);
    border-color: hsla(187, 100%, 50%, 0.4);
}

.pilot-modal-spec-tag i {
    font-size: 0.8rem;
}

.pilot-modal-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: hsla(38, 100%, 50%, 0.08);
    border: 1px solid hsla(38, 100%, 50%, 0.2);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.pilot-modal-cat-tag:hover {
    background: hsla(38, 100%, 50%, 0.15);
    border-color: hsla(38, 100%, 50%, 0.4);
}

.pilot-modal-cat-tag i {
    font-size: 0.8rem;
}

/* Contact CTA Section */
.pilot-modal-cta {
    padding: 2rem;
    background: linear-gradient(135deg, hsla(187, 100%, 50%, 0.04) 0%, hsla(38, 100%, 50%, 0.03) 100%);
    border-top: 1px solid var(--border);
}

.pilot-modal-cta-inner {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.pilot-modal-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: hsla(187, 100%, 50%, 0.1);
    border: 1px solid hsla(187, 100%, 50%, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.pilot-modal-cta-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.pilot-modal-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.35rem;
}

.pilot-modal-cta-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
}

/* CTA Spinner */
.pilot-modal-cta-spinner {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.pilot-modal-cta-spinner-ring {
    position: absolute;
    inset: 0;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: cursModalSpin 1s linear infinite;
}

.pilot-modal-cta-loader-text {
    color: var(--muted-foreground);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Phone result card */
.pilot-modal-cta-phone-card {
    display: inline-flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem 2rem;
    background: hsla(222, 30%, 15%, 0.5);
    border: 1px solid hsla(187, 100%, 50%, 0.2);
    border-radius: 0.75rem;
}

.pilot-modal-cta-phone-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.pilot-modal-cta-phone-row i {
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.pilot-modal-cta-phone-row a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.pilot-modal-cta-phone-row a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Rate limit info */
.pilot-modal-cta-limit-info {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.pilot-modal-cta-limit-info.pilot-modal-cta-limit-blocked {
    margin-top: 0.75rem;
    padding: 1rem 1.5rem;
    background: hsla(38, 100%, 50%, 0.06);
    border: 1px solid hsla(38, 100%, 50%, 0.2);
    border-radius: 0.75rem;
    display: inline-block;
    font-size: 0.875rem;
    color: var(--secondary);
    line-height: 1.6;
}

.pilot-modal-cta-limit-icon {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

/* Footer */
.pilot-modal-footer {
    border-top: 1px solid var(--border);
    background: linear-gradient(135deg, hsla(187, 100%, 50%, 0.02) 0%, transparent 50%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.pilot-modal-footer .btn-outline-premium,
.pilot-modal-footer .btn-premium {
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .pilot-modal-hero-img {
        height: 250px;
        min-height: 250px;
    }

    .pilot-modal-hero-overlay {
        background: linear-gradient(to top, hsla(222, 47%, 8%, 1), transparent, transparent);
    }

    .pilot-modal-hero-info {
        padding: 1.25rem 1.5rem;
    }

    .pilot-modal-name {
        font-size: 1.4rem;
    }

    .pilot-modal-rate {
        font-size: 1.6rem;
    }

    .pilot-modal-section {
        padding: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .pilot-modal-hero-info {
        padding: 1rem;
    }

    .pilot-modal-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pilot-modal-section {
        padding: 1rem;
    }

    .pilot-modal-footer {
        flex-direction: column;
    }

    .pilot-modal-footer .btn-outline-premium,
    .pilot-modal-footer .btn-premium {
        width: 100%;
        justify-content: center;
    }
}

/* Package / Pricing Cards */
#pachete .produs_magazin {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#pachete .produs_magazin:hover {
    transform: translateY(-4px);
}

/* Inherited benefits card (cascading packages) */
.pachet-inherited-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: hsla(187, 100%, 50%, 0.06);
    border: 1px solid hsla(187, 100%, 50%, 0.18);
    border-radius: 0.6rem;
    font-size: 0.85rem;
    color: var(--foreground);
}

.pachet-inherited-card i {
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.pachet-inherited-card strong {
    color: var(--primary);
}

.pachet-extra-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted-foreground);
}

.pachet-extra-label i {
    font-size: 0.85rem;
    color: var(--primary);
}

/* Highlighted Benefit (evidentiat) */
.beneficiu-evidentiat {
    position: relative;
    padding: 0.4rem 0.65rem;
    margin-left: -0.65rem;
    margin-right: -0.65rem;
    background: linear-gradient(135deg, hsla(38, 100%, 50%, 0.17), hsla(38, 100%, 50%, 0.07));
    border: 1px solid hsla(38, 100%, 50%, 0.35);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.beneficiu-evidentiat:hover {
    background: linear-gradient(135deg, hsla(38, 100%, 50%, 0.2), hsla(38, 100%, 50%, 0.11));
    border-color: hsla(38, 100%, 50%, 0.4);
}

.beneficiu-evidentiat i.bi-check-circle-fill {
    color: var(--secondary) !important;
}

.beneficiu-evidentiat span {
    color: var(--foreground);
    font-weight: 600;
}

/* Billing Period Radio Options */
.perioada-optiune {
    display: block;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    text-align: left;
}

.perioada-optiune:hover {
    border-color: hsla(187, 100%, 50%, 0.4);
    background: hsla(187, 100%, 50%, 0.03);
}

.perioada-optiune.active {
    border-color: hsla(187, 100%, 50%, 0.6);
    background: hsla(187, 100%, 50%, 0.06);
}

.perioada-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--muted);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.perioada-optiune.active .perioada-indicator {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: inset 0 0 0 3px var(--card);
}

/* Pilot Cards */
.pilot-card {
    overflow: hidden;
}

.pilot-card:hover .pilot-image {
    transform: scale(1.1);
}

.pilot-image {
    transition: transform 0.5s ease;
}

.pilot-featured-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

/* Filter Buttons */
.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn.active {
    background: var(--primary);
    color: var(--primary-foreground);
}

.filter-btn:not(.active) {
    background: var(--muted);
    color: var(--muted-foreground);
}

.filter-btn:not(.active):hover {
    background: hsla(222, 30%, 15%, 0.8);
}

/* Reviews Section */
.reviews-section {
    overflow: hidden;
}

.reviews-scroll-container {
    overflow: hidden;
    position: relative;
}

.reviews-gradient-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8rem;
    background: linear-gradient(to right, var(--background), transparent);
    z-index: 10;
}

.reviews-gradient-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 8rem;
    background: linear-gradient(to left, var(--background), transparent);
    z-index: 10;
}

.reviews-scroll-row {
    display: flex;
    width: max-content;
}

.reviews-scroll-row.scroll-left {
    animation: scroll-left 60s linear infinite;
}

.reviews-scroll-row.scroll-right {
    animation: scroll-right 60s linear infinite;
}

.review-card {
    flex-shrink: 0;
    width: 400px;
    margin: 0 12px;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--primary);
}

.reviews-scroll-container:hover .reviews-scroll-row {
    animation-play-state: paused;
}

.reviews-scroll-container.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.reviews-scroll-container.is-dragging .reviews-scroll-row {
    animation: none !important;
    pointer-events: none;
}

/* FAQ Section */
.faq-image-wrapper {
    position: relative;
}

.faq-image {
    height: 500px;
    object-fit: cover;
}

.faq-image-wrapper:hover .faq-image-glow {
    opacity: 1;
}

.faq-image-glow {
    position: absolute;
    inset: -12px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, hsla(187, 100%, 50%, 0.15), transparent, hsla(38, 100%, 50%, 0.15));
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(4px);
    z-index: -1;
}

.faq-item-btn {
    background: hsla(222, 30%, 15%, 0.25);
    border: 1px solid hsla(222, 30%, 25%, 0.3);
    color: var(--foreground);
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item-btn:hover {
    border-color: hsla(222, 30%, 25%, 0.6);
    background: hsla(222, 30%, 15%, 0.4);
}

.faq-item-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 0.5rem;
    background: hsla(222, 30%, 15%, 0.5);
    color: var(--muted-foreground);
    transition: all 0.3s ease;
}

.faq-item-btn:hover .faq-item-icon {
    background: hsla(187, 100%, 50%, 0.1);
    color: var(--primary);
}

.faq-item-question {
    color: hsla(210, 40%, 98%, 0.8);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.faq-item-chevron {
    color: var(--muted-foreground);
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 1.1rem;
}

.faq-item-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

/* Active FAQ item */
.faq-item.active .faq-item-btn {
    background: hsl(var(--glass-bg));
    border-color: hsla(187, 100%, 50%, 0.3);
    box-shadow: 0 0 20px -5px hsla(187, 100%, 50%, 0.15);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.faq-item.active .faq-item-icon {
    background: hsla(187, 100%, 50%, 0.2);
    color: var(--primary);
}

.faq-item.active .faq-item-question {
    color: var(--foreground);
}

.faq-item.active .faq-item-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-item-answer {
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.3s ease 0.1s;
}

@media (max-width: 991.98px) {
    .faq-image {
        height: 400px;
    }
}

@media (max-width: 575.98px) {
    .faq-image {
        height: 300px;
    }

    .faq-item-question {
        font-size: 0.875rem;
    }
}

/* Contact Form */
.form-control-custom {
    background: hsla(222, 30%, 15%, 0.5);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem 1rem 1rem 3rem;
    color: var(--foreground);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(187, 100%, 50%, 0.2);
}

.form-control-custom::placeholder {
    color: var(--muted-foreground);
    opacity: 0.45;
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
}

.form-label-custom {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-required {
    color: var(--primary);
}

select.form-control-custom {
    padding-left: 1rem;
    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='%238892a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

textarea.form-control-custom {
    padding-top: 1rem;
    resize: none;
}

/* Gradient Border */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 1.5rem;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 5vh;
    right: 0;
    bottom: 5vh;
    width: 100%;
    max-width: 440px;
    background: var(--card);
    border-left: 1px solid var(--border);
    border-radius: 1.5rem 0 0 1.5rem;
    z-index: 1051;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-sidebar.show {
    transform: translateX(0);
}

.cart-item {
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: hsla(187, 100%, 50%, 0.3);
}

.cart-item:hover .cart-remove-btn {
    opacity: 1;
}

.cart-remove-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Badge */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer#contact {
    overflow: hidden;
}

.footer-link {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
    border: none;
}

.social-btn:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

/* Availability Badge */
.availability-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.availability-badge.available {
    background: hsla(120, 60%, 50%, 0.2);
    color: hsl(120, 60%, 50%);
    border: 1px solid hsla(120, 60%, 50%, 0.3);
}

.availability-badge.busy {
    background: hsla(45, 100%, 50%, 0.2);
    color: hsl(45, 100%, 50%);
    border: 1px solid hsla(45, 100%, 50%, 0.3);
}

/* Specialization Tags */
.spec-tag {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    background: hsla(222, 30%, 15%, 0.5);
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.spec-tag:hover {
    border-color: hsla(187, 100%, 50%, 0.3);
    color: var(--primary);
}

/* Spec Tags Container with fade */
.pilot-card .spec-tags-wrapper {
    position: relative;
    max-height: 72px;
    overflow: hidden;
}

.pilot-card .spec-tags-wrapper.has-overflow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: linear-gradient(to bottom, transparent, var(--card));
    pointer-events: none;
}

.spec-tag-more {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    background: hsla(187, 100%, 50%, 0.08);
    color: var(--primary);
    border: 1px solid hsla(187, 100%, 50%, 0.2);
    font-weight: 600;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: hsla(222, 47%, 4%, 0.75);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsla(187, 100%, 50%, 0.5);
}

/* Responsive */
@media (max-width: 767px) {
    .hero-headline {
        min-height: 140px;
    }

    .review-card {
        width: 320px;
    }

    .btn-premium, .btn-outline-premium {
        padding: 0.75rem 1.5rem;
    }
}

/* In Cart State */
.btn-in-cart {
    background: hsla(120, 60%, 50%, 0.2);
    color: hsl(120, 60%, 50%);
    border: 1px solid hsla(120, 60%, 50%, 0.3);
    cursor: default;
}

/* Bounce animation for scroll indicator */
@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%) translateX(-50%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0) translateX(-50%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid hsla(222, 47%, 6%, 0.3);
    border-top-color: var(--primary-foreground);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.buton_cart {
    cursor: pointer;
    color: var(--primary);
    background-color: #ffffff1f;
    border-radius: 8px;
}

/* ============================================
   AUTH PAGES (Login / Register)
   ============================================ */

/* Auth containers */
.auth-container {
    position: relative;
    z-index: 10;
    padding: 7rem 0 4rem;
}

.auth-container.register {
    padding: 7rem 0 3rem;
}

/* Background glow effects for auth pages */
.auth-bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.auth-bg-glow-1 {
    top: -200px;
    right: 20%;
    width: 400px;
    height: 400px;
    background: var(--primary);
    animation: auth-pulse 4s ease-in-out infinite;
}

.auth-bg-glow-2 {
    bottom: -200px;
    left: 20%;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    animation: auth-pulse 4s ease-in-out infinite 1s;
}

.auth-bg-glow-1.register {
    top: -200px;
    left: 20%;
    right: auto;
}

.auth-bg-glow-2.register {
    bottom: -200px;
    right: 20%;
    left: auto;
}

@keyframes auth-pulse {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.1); }
}

/* Auth images section */
.auth-images-section {
    position: relative;
    height: 500px;
}

.auth-images-section.register {
    height: 600px;
}

.auth-images-section .main-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 70%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-images-section.register .main-image {
    left: 0;
    right: auto;
    width: 75%;
    height: 65%;
}

.auth-images-section .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-images-section .main-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.6), transparent);
}

.auth-images-section .secondary-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 45%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--background);
}

.auth-images-section.register .secondary-image {
    right: 0;
    left: auto;
    width: 60%;
    height: 50%;
}

.auth-images-section .secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-images-section .secondary-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(249,115,22,0.4), transparent);
}

.auth-images-section.register .secondary-image::after {
    background: linear-gradient(to top, rgba(14,165,233,0.4), transparent);
}

.auth-images-section .floating-stat {
    position: absolute;
    top: 60%;
    right: 5%;
    background: rgba(23, 23, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-images-section.register .floating-stat {
    top: 55%;
    left: 10%;
    right: auto;
}

.auth-images-section .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.auth-images-section.register .stat-icon {
    background: rgba(14, 165, 233, 0.2);
    color: var(--primary);
}

.auth-images-section .stat-text p {
    margin: 0;
}

.auth-images-section .stat-number {
    font-weight: 600;
    font-size: 0.875rem;
}

.auth-images-section .stat-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Auth form section */
.auth-form-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-form-section .text-gradient-login {
    background: linear-gradient(135deg, var(--secondary), #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-form-section .text-gradient-register {
    background: linear-gradient(135deg, var(--primary), hsl(187, 100%, 70%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-form-section .subtitle {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.auth-form-section.register .subtitle {
    margin-bottom: 1.5rem;
}

/* Auth glass panel */
.auth-glass-panel {
    background: rgba(23, 23, 23, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
}

.auth-glass-panel.register {
    padding: 1.5rem;
}

/* Auth form controls */
.auth-glass-panel .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.auth-glass-panel .form-control {
    background: rgba(38, 38, 38, 0.5);
    border: 1px solid rgba(38, 38, 38, 0.5);
    color: var(--foreground);
    height: 48px;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.auth-glass-panel.register .form-control {
    height: 42px;
    padding: 0.5rem 0.75rem;
}

.auth-glass-panel .form-control:focus {
    background: rgba(38, 38, 38, 0.5);
    border-color: var(--primary);
    color: var(--foreground);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.auth-glass-panel .form-control::placeholder {
    color: var(--muted-foreground);
    opacity: 0.4;
}

.auth-glass-panel .form-control.is-invalid {
    border-color: #ef4444;
}

.auth-glass-panel .invalid-feedback {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.auth-glass-panel .form-select {
    background-color: rgba(38, 38, 38, 0.5);
    border: 1px solid rgba(38, 38, 38, 0.5);
    color: var(--foreground);
    height: 42px;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.3s;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a3a3a3' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.auth-glass-panel .form-select:focus {
    background-color: rgba(38, 38, 38, 0.5);
    border-color: var(--primary);
    color: var(--foreground);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.auth-glass-panel .form-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-glass-panel .form-select option {
    background: #1a1a1a;
    color: var(--foreground);
}

.auth-glass-panel .form-select.is-invalid {
    border-color: #ef4444;
}

/* Prevent iOS/Firefox auto-zoom on input focus (triggers when font-size < 16px) */
@media (max-width: 767.98px) {
    .auth-glass-panel .form-control,
    .auth-glass-panel .form-select {
        font-size: 16px;
    }
}

/* Date picker field */
.flatpickr-wrapper {
    position: relative;
}

.flatpickr-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0;
    transition: color 0.3s;
    z-index: 2;
}

.flatpickr-toggle-btn:hover {
    color: var(--foreground);
}

.flatpickr-wrapper input[data-input] {
    padding-right: 38px;
}

/* Password field */
.auth-password-wrapper {
    position: relative;
}

.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0;
    transition: color 0.3s;
}

.auth-password-toggle:hover {
    color: var(--foreground);
}

.auth-password-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.auth-forgot-password {
    font-size: 0.75rem;
    color: var(--primary);
    text-decoration: none;
}

.auth-forgot-password:hover {
    text-decoration: underline;
    color: hsl(187, 100%, 70%);
}

/* Auth submit button */
.btn-auth-primary {
    background: var(--primary);
    border: none;
    color: white;
    font-weight: 600;
    height: 48px;
    border-radius: 0.5rem;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.btn-auth-primary.register {
    height: 44px;
}

.btn-auth-primary:hover {
    background: hsl(187, 100%, 60%);
    color: white;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.5);
}

/* Forgot Password Modal */
.modal-backdrop.show {
    opacity: 0.75;
    backdrop-filter: blur(4px);
}

.forgot-pw-modal {
    background: rgba(23, 23, 23, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.forgot-pw-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    font-size: 1.5rem;
    color: var(--primary);
}

.forgot-pw-input {
    background: rgba(38, 38, 38, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--foreground) !important;
    height: 48px;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.forgot-pw-input:focus {
    background: rgba(38, 38, 38, 0.5) !important;
    border-color: var(--primary) !important;
    color: var(--foreground) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1) !important;
}

.forgot-pw-input::placeholder {
    color: var(--muted-foreground);
    opacity: 0.4;
}

.forgot-pw-cancel {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    height: 44px;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.forgot-pw-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--foreground);
    border-color: rgba(255, 255, 255, 0.15);
}

.spin-icon {
    display: inline-block;
    animation: spin-animation 1s linear infinite;
}

@keyframes spin-animation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Reset Password Page */
.reset-pw-container {
    max-width: 460px;
    margin: 0 auto;
    padding: 4rem 0 2rem;
}

.reset-pw-panel {
    background: rgba(23, 23, 23, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
}

.reset-pw-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    font-size: 1.75rem;
    color: var(--primary);
}

.reset-pw-input {
    background: rgba(38, 38, 38, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--foreground);
    height: 48px;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.reset-pw-input:focus {
    background: rgba(38, 38, 38, 0.5);
    border-color: var(--primary);
    color: var(--foreground);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.reset-pw-input:disabled,
.reset-pw-input[readonly] {
    color: rgba(255, 255, 255, 0.75) !important;
    opacity: 1 !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.75) !important;
}

.reset-pw-input::placeholder {
    color: var(--muted-foreground);
    opacity: 0.4;
}

/* Auth divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    position: relative;
    background: rgba(23, 23, 23, 0.6);
    padding: 0 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Auth links */
.auth-link-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.auth-link-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-link-text a:hover {
    text-decoration: underline;
}

.auth-link-text.register {
    margin-top: 1rem;
}

/* Tip Persoana Toggle */
.tip-persoana-toggle {
    display: flex;
    gap: 0.75rem;
}

.tip-persoana-option {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.tip-persoana-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tip-persoana-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.tip-persoana-option:hover .tip-persoana-label {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--foreground);
}

.tip-persoana-option.selected .tip-persoana-label {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Section Title Label */
.section-title-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

/* Conditional sections transition */
#sectiune_persoana_fizica,
#sectiune_persoana_juridica {
    transition: opacity 0.2s ease;
}

#sectiune_persoana_fizica.hide,
#sectiune_persoana_juridica.hide {
    display: none;
}

/* Age category toggle & main form reveal */
#sectiune_categorie_varsta {
    transition: opacity 0.2s ease;
}

#sectiune_categorie_varsta.hide {
    display: none;
}

#sectiune_formular_principal {
    transition: opacity 0.3s ease;
}

#sectiune_formular_principal.hide {
    display: none;
}

/* Document fields section */
#sectiune_documente_utilizator {
    transition: opacity 0.2s ease;
}

#sectiune_documente_utilizator.hide {
    display: none;
}

/* Representative section */
#sectiune_reprezentant {
    transition: opacity 0.2s ease;
}

#sectiune_reprezentant.hide {
    display: none;
}

.repr-container {
    background: rgba(14, 165, 233, 0.03);
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-top: 0.5rem;
}

.repr-subtitle {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    padding: 0;
}

/* Flatpickr dark theme overrides */
.flatpickr-calendar {
    background: var(--card) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: var(--card) !important;
    color: var(--foreground) !important;
}

.flatpickr-months,
.flatpickr-months .flatpickr-month,
.flatpickr-current-month {
    overflow: visible !important;
}

.flatpickr-current-month {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    position: relative !important;
    left: 0 !important;
    width: 100% !important;
}

.flatpickr-current-month input.cur-year {
    color: var(--foreground) !important;
    width: 55px !important;
    font-size: 14px !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-size: 14px !important;
}

.flatpickr-weekdays {
    background: var(--card) !important;
}

span.flatpickr-weekday {
    color: var(--muted-foreground) !important;
    background: var(--card) !important;
}

.flatpickr-day {
    color: var(--foreground) !important;
    border-radius: 0.375rem !important;
}

.flatpickr-day:hover {
    background: rgba(14, 165, 233, 0.15) !important;
    border-color: transparent !important;
}

.flatpickr-day.selected {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.flatpickr-day.today {
    border-color: var(--primary) !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: var(--foreground) !important;
    color: var(--foreground) !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    fill: var(--primary) !important;
    color: var(--primary) !important;
}

.flatpickr-current-month .numInputWrapper {
    display: inline-flex !important;
    align-items: center !important;
}

.flatpickr-current-month .numInputWrapper span {
    opacity: 1 !important;
    position: static !important;
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.flatpickr-current-month .numInputWrapper span:hover {
    background: rgba(14, 165, 233, 0.25) !important;
    border-color: var(--primary) !important;
}

.flatpickr-current-month .numInputWrapper span:after {
    display: none !important;
}

.flatpickr-current-month .numInputWrapper span.arrowDown {
    order: -1 !important;
    margin-right: 4px !important;
}

.flatpickr-current-month .numInputWrapper span.arrowDown:before {
    content: "\2212" !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--foreground) !important;
    line-height: 1 !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp {
    margin-left: 4px !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:before {
    content: "+" !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--foreground) !important;
    line-height: 1 !important;
}

/* Interest cards */
.interest-section-title {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.interest-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.interest-card:hover {
    transform: scale(1.02);
}

.interest-card.selected {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.3);
}

.interest-card .card-image {
    aspect-ratio: 4/3;
    position: relative;
}

.interest-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.interest-card:hover .card-image img {
    transform: scale(1.1);
}

.interest-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background), rgba(10,10,10,0.6), transparent);
}

.interest-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
}

.interest-card .card-icon {
    width: 24px;
    height: 24px;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s;
}

.interest-card.selected .card-icon {
    background: var(--primary);
    color: white;
}

.interest-card .card-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    color: var(--foreground);
}

.interest-card .card-desc {
    font-size: 0.625rem;
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.2;
}

.best-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--secondary);
    color: white;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    z-index: 2;
}

/* Thank you / success message */
.auth-thank-you {
    text-align: center;
    padding: 2rem;
}

.auth-thank-you .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 2rem;
}

.auth-thank-you h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.auth-thank-you p {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.auth-thank-you .email-highlight {
    color: var(--primary);
    font-weight: 600;
}

/* Forgot password modal overrides */
#modal_parola_uitata .modal-content {
    background: hsl(222, 40%, 10%);
    border: 1px solid var(--border);
    color: var(--foreground);
}

#modal_parola_uitata .modal-header {
    border-bottom-color: var(--border);
}

#modal_parola_uitata .modal-footer {
    border-top-color: var(--border);
}

#modal_parola_uitata .btn-close {
    filter: invert(1);
}

#modal_parola_uitata .form-control {
    background: rgba(38, 38, 38, 0.5);
    border: 1px solid rgba(38, 38, 38, 0.5);
    color: var(--foreground);
    height: 48px;
    border-radius: 0.5rem;
}

#modal_parola_uitata .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Auth page responsive */
@media (max-width: 991px) {
    .auth-images-section {
        display: none;
    }

    .auth-form-section {
        text-align: center;
    }
}

/* ==========================================
   CHECKOUT PAGE
   ========================================== */

.checkout-container {
    min-height: 100vh;
    padding-top: 120px;
    background: linear-gradient(180deg, var(--background) 0%, hsl(222, 47%, 4%) 100%);
}

.checkout-page-title {
    color: var(--primary);
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
}

.back-link {
    color: var(--muted-foreground);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary);
}

.checkout-section-title {
    color: var(--foreground);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkout-section-title i {
    color: var(--primary);
}

/* Checkout Restrictions Section */
#checkout-restrictions-section .checkout-section-title i {
    color: var(--secondary);
}

.checkout-restriction-course {
    background: hsla(38, 92%, 50%, 0.06);
    border: 1px solid hsla(38, 92%, 50%, 0.15);
    border-radius: 0.75rem;
    padding: 1rem;
}

.checkout-restriction-course-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.checkout-restriction-course-name i {
    color: var(--primary);
}

.checkout-restrictions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout-restriction-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0.625rem;
    background: hsla(38, 92%, 50%, 0.04);
    border-radius: 0.5rem;
}

.checkout-restriction-item > i {
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.checkout-restriction-title {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--foreground);
}

.checkout-restriction-desc {
    display: block;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-top: 0.125rem;
}

.checkout-restriction-toggle-wrapper {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid hsla(38, 92%, 50%, 0.15);
}

.checkout-restriction-toggle-wrapper .form-check-label {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Checkout Form Controls */
.checkout-container .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.checkout-container .form-control {
    background: rgba(38, 38, 38, 0.5);
    border: 1px solid rgba(38, 38, 38, 0.5);
    color: var(--foreground);
    height: 42px;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.checkout-container .form-control:focus {
    background: rgba(38, 38, 38, 0.5);
    border-color: var(--primary);
    color: var(--foreground);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.checkout-container .form-control::placeholder {
    color: var(--muted-foreground);
    opacity: 0.4;
}

.checkout-container .form-control:-webkit-autofill,
.checkout-container .form-control:-webkit-autofill:hover,
.checkout-container .form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(38, 38, 38, 0.9) inset !important;
    -webkit-text-fill-color: var(--foreground) !important;
    border-color: rgba(38, 38, 38, 0.5) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.checkout-container .form-control.is-invalid {
    border-color: #ef4444;
}

.checkout-container .invalid-feedback {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.checkout-container .form-select {
    background-color: rgba(38, 38, 38, 0.5);
    border: 1px solid rgba(38, 38, 38, 0.5);
    color: var(--foreground);
    height: 42px;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a3a3a3' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.checkout-container .form-select:focus {
    background-color: rgba(38, 38, 38, 0.5);
    border-color: var(--primary);
    color: var(--foreground);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.checkout-container .form-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkout-container .form-select option {
    background: #1a1a1a;
    color: var(--foreground);
}

.checkout-container .form-select.is-invalid {
    border-color: #ef4444;
}

/* Checkout Auth Tabs */
.checkout-auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkout-auth-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
}

.checkout-auth-tab:hover {
    border-color: var(--primary);
    color: var(--foreground);
}

.checkout-auth-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--background);
}

/* Checkout Forgot Password Link */
.checkout-forgot-password {
    font-size: 0.8125rem;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.checkout-forgot-password:hover {
    text-decoration: underline;
    color: hsl(187, 100%, 70%);
}

/* Checkout Password Wrapper */
.checkout-password-wrapper {
    position: relative;
}

.checkout-password-wrapper .form-control {
    padding-right: 3rem;
}

.checkout-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s;
}

.checkout-password-toggle:hover {
    color: var(--primary);
}

/* Checkout Primary Button */
.btn-checkout-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--background);
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-checkout-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--background);
}

.btn-checkout-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Checkout Outline Button */
.btn-checkout-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    font-weight: 500;
    border-radius: 0.75rem;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-checkout-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Logged In Card */
.logged-in-card {
    background: hsla(187, 100%, 50%, 0.08);
    border: 1px solid hsla(187, 100%, 50%, 0.25);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkout-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background);
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.btn-checkout-logout {
    background: transparent;
    border: 1px solid var(--muted-foreground);
    color: var(--muted-foreground);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
}

.btn-checkout-logout:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* Payment Options */
.checkout-payment-option {
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
}

.checkout-payment-option:hover {
    border-color: var(--primary);
}

.checkout-payment-option.selected {
    border-color: var(--primary);
    background: hsla(187, 100%, 50%, 0.05);
}

.checkout-payment-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.checkout-payment-icon-card {
    background: var(--gradient-primary);
    color: var(--background);
}

.checkout-payment-icon-bank {
    background: linear-gradient(135deg, var(--secondary), #cc7700);
    color: var(--background);
}

.checkout-payment-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.15rem;
}

.checkout-payment-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Privacy Policy Toggle */
.checkout-container .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkout-container .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem hsla(187, 100%, 50%, 0.25);
}

.checkout-container .form-check-label a {
    color: var(--primary);
}

.checkout-container .form-check-label a:hover {
    text-decoration: underline;
}

/* Order Items */
.checkout-order-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

.checkout-item-image {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}

.checkout-item-image-placeholder {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    background: hsla(187, 100%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.checkout-item-name {
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.15rem;
    font-size: 0.9rem;
}

.checkout-elimina-item {
    background: hsla(0, 84%, 60%, 0.1);
    border: none;
    color: #ef4444;
    padding: 0.35rem 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    flex-shrink: 0;
}

.checkout-elimina-item:hover {
    background: hsla(0, 84%, 60%, 0.2);
}

.checkout-elimina-item i {
    font-size: 0.8rem;
}

/* Order Summary */
.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.checkout-summary-total {
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.checkout-summary-total-label {
    font-weight: 600;
    color: var(--foreground);
    font-size: 1.1rem;
}

.checkout-summary-total-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
}

/* Empty Cart */
.checkout-empty-cart-content {
    text-align: center;
    padding: 3rem 1rem;
}

.checkout-empty-cart-content i {
    font-size: 3.5rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    display: block;
}

.checkout-empty-cart-content h5 {
    color: var(--muted-foreground);
}

/* Thank You / Success */
.checkout-thank-you-content {
    text-align: center;
    padding: 1.5rem 0;
}

.checkout-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: hsla(187, 100%, 50%, 0.1);
    margin-bottom: 1rem;
}

.checkout-success-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.checkout-email-highlight {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Interest Cards (Checkout) */
.checkout-interest-card {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.checkout-interest-card i {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    transition: color 0.3s;
}

.checkout-interest-card span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    transition: color 0.3s;
}

.checkout-interest-card:hover {
    border-color: var(--primary);
}

.checkout-interest-card.selected {
    border-color: var(--primary);
    background: hsla(187, 100%, 50%, 0.08);
}

.checkout-interest-card.selected i,
.checkout-interest-card.selected span {
    color: var(--primary);
}

/* Checkout Tip Persoana / Categorie Varsta Toggle */
.checkout-tip-toggle {
    display: flex;
    gap: 0.5rem;
}

.checkout-tip-option {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.checkout-tip-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-tip-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted-foreground);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.checkout-tip-option:hover .checkout-tip-label {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--foreground);
}

.checkout-tip-option.selected .checkout-tip-label {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Checkout conditional sections */
#checkout-sectiune-categorie-varsta,
#checkout-sectiune-formular,
#checkout-sectiune-pf,
#checkout-sectiune-pj,
#checkout-sectiune-documente,
#checkout-sectiune-reprezentant {
    transition: opacity 0.2s ease;
}

#checkout-sectiune-categorie-varsta.hide,
#checkout-sectiune-formular.hide,
#checkout-sectiune-pf.hide,
#checkout-sectiune-pj.hide,
#checkout-sectiune-documente.hide,
#checkout-sectiune-reprezentant.hide {
    display: none;
}

/* Privacy Policy Modal */
.policy-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.policy-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.policy-modal {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    width: 100%;
    max-width: 720px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(14, 165, 233, 0.08);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.policy-modal-overlay.active .policy-modal {
    transform: translateY(0);
}

.policy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.policy-modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    display: flex;
    align-items: center;
}

.policy-modal-title i {
    color: var(--primary);
}

.policy-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    transition: all 0.2s ease;
    line-height: 1;
}

.policy-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--foreground);
    border-color: rgba(255, 255, 255, 0.2);
}

.policy-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.policy-modal-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    gap: 1rem;
}

.policy-modal-loader p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin: 0;
}

.policy-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(14, 165, 233, 0.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: policySpin 0.8s linear infinite;
}

@keyframes policySpin {
    to { transform: rotate(360deg); }
}

.policy-modal-content {
    animation: policyFadeIn 0.3s ease;
}

@keyframes policyFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
    .policy-modal-overlay {
        padding: 1rem;
    }

    .policy-modal {
        max-height: 90vh;
        border-radius: 0.75rem;
    }

    .policy-modal-header {
        padding: 1rem;
    }

    .policy-modal-body {
        padding: 1rem;
    }
}

/* Checkout Responsive */
@media (max-width: 991px) {
    .checkout-container .row.g-4 {
        flex-direction: column;
    }

    .logged-in-card {
        flex-direction: column;
        text-align: center;
    }

    .checkout-user-info {
        flex-direction: column;
    }
}

/* Static Pages Content */
.static-page-content {
    color: var(--muted-foreground);
    line-height: 1.8;
    font-size: 0.95rem;
}

.static-page-content h1,
.static-page-content h2,
.static-page-content h3,
.static-page-content h4,
.static-page-content h5,
.static-page-content h6 {
    color: var(--foreground);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.static-page-content h2 {
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.static-page-content h3 {
    font-size: 1.25rem;
}

.static-page-content p {
    margin-bottom: 1rem;
}

.static-page-content a {
    color: var(--primary);
    text-decoration: underline;
}

.static-page-content a:hover {
    opacity: 0.8;
}

.static-page-content ul,
.static-page-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.static-page-content li {
    margin-bottom: 0.5rem;
}

.static-page-content strong,
.static-page-content b {
    color: var(--foreground);
}

.static-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.static-page-content table th,
.static-page-content table td {
    padding: 0.75rem;
    border: 1px solid var(--border);
}

.static-page-content table th {
    background: var(--muted);
    color: var(--foreground);
    font-weight: 600;
}

.static-page-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--muted-foreground);
    font-style: italic;
}

/* ===== Toastr Overrides ===== */
.toast-top-center {
    top: 80px;
}
#toast-container > div {
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Guide Section (Ghid Gratuit) ===== */
.guide-section-card {
    position: relative;
    overflow: hidden;
}
.guide-section-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 1rem 1rem 0 0;
}

#modalGhidGratuit .form-check-input {
    background-color: hsla(222, 30%, 15%, 0.5);
    border-color: var(--border);
}
#modalGhidGratuit .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
#modalGhidGratuit .form-check-input:focus {
    box-shadow: 0 0 0 3px hsla(187, 100%, 50%, 0.2);
}

/* ===== Cookie / GDPR Consent Box ===== */
.cookie-consent {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9998;
    max-width: 380px;
    width: calc(100% - 2rem);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-consent.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent-inner {
    background: hsla(222, 47%, 9%, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid hsla(187, 100%, 50%, 0.12);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow:
        0 8px 32px hsla(222, 47%, 3%, 0.6),
        0 0 20px hsla(187, 100%, 50%, 0.06),
        inset 0 1px 0 hsla(210, 40%, 98%, 0.04);
}

.cookie-consent-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.625rem;
    background: hsla(187, 100%, 50%, 0.08);
    border: 1px solid hsla(187, 100%, 50%, 0.15);
    margin-bottom: 0.875rem;
    color: var(--primary);
    font-size: 1.15rem;
}

.cookie-consent-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--foreground);
    margin-bottom: 0.375rem;
}

.cookie-consent-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.cookie-consent-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cookie-consent-link:hover {
    color: hsl(187, 100%, 65%);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.625rem;
}

.cookie-consent-btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    letter-spacing: 0.02em;
}

.cookie-consent-accept {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: 0 2px 12px hsla(187, 100%, 50%, 0.25);
}

.cookie-consent-accept:hover {
    box-shadow: 0 4px 20px hsla(187, 100%, 50%, 0.35);
    transform: translateY(-1px);
}

.cookie-consent-decline {
    background: hsla(222, 30%, 18%, 0.6);
    color: var(--muted-foreground);
    border: 1px solid hsla(222, 30%, 25%, 0.5);
}

.cookie-consent-decline:hover {
    background: hsla(222, 30%, 22%, 0.8);
    color: var(--foreground);
    border-color: hsla(222, 30%, 35%, 0.6);
}

@media (max-width: 480px) {
    .cookie-consent {
        bottom: 1rem;
        right: 1rem;
        max-width: none;
        width: calc(100% - 2rem);
    }

    .cookie-consent-inner {
        padding: 1rem 1.125rem;
    }

    .cookie-consent-actions {
        gap: 0.5rem;
    }
}

/* ============================================
   DESPRE NOI - Masonry Gallery
   ============================================ */

.dn-masonry-grid {
    columns: 4;
    column-gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dn-masonry-grid.dn-masonry-loaded {
    opacity: 1;
}

.dn-masonry-item {
    break-inside: avoid;
    margin-bottom: 0.75rem;
}

.dn-masonry-card {
    position: relative;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dn-masonry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.15);
}

.dn-masonry-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
}

.dn-masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dn-masonry-card:hover .dn-masonry-overlay {
    opacity: 1;
}

.dn-masonry-zoom {
    color: #fff;
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem;
}

.dn-text-content p {
    margin-bottom: 1rem;
}

.dn-text-content p:last-child {
    margin-bottom: 0;
}

/* Portrait Video */
.dn-video-portrait {
    max-width: 360px;
    margin: 0 auto;
}

@media (max-width: 991.98px) {
    .dn-video-portrait {
        max-width: 300px;
    }
}

/* Gallery Lightbox Modal */
#modalGalerieLightbox .modal-content {
    background: hsl(222, 30%, 8%) !important;
    border: 1px solid var(--border) !important;
    border-radius: 1rem !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7) !important;
}

#modalGalerieLightbox .modal-body {
    background: transparent;
    padding: 1.25rem;
}

.dn-gallery-main {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 65vh;
    margin-bottom: 1rem;
}

.dn-gallery-main img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 0.5rem;
    transition: opacity 0.25s ease;
}

.dn-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid hsla(0, 0%, 100%, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 1.1rem;
}

.dn-gallery-nav:hover {
    background: hsla(0, 0%, 100%, 0.2);
}

.dn-gallery-nav.prev { left: 0.75rem; }
.dn-gallery-nav.next { right: 0.75rem; }

.dn-gallery-thumbs-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
}

.dn-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.dn-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.dn-gallery-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 50px;
    border-radius: 0.375rem;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.45;
    border: 2px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.dn-gallery-thumb:hover {
    opacity: 0.75;
}

.dn-gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

.dn-gallery-thumbs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: hsla(0, 0%, 100%, 0.1);
    border: 1px solid hsla(0, 0%, 100%, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.2s ease;
}

.dn-gallery-thumbs-arrow:hover {
    background: hsla(0, 0%, 100%, 0.2);
}

.dn-gallery-thumbs-arrow.left { left: 0; }
.dn-gallery-thumbs-arrow.right { right: 0; }

.dn-gallery-counter {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted-foreground);
    padding-top: 0.5rem;
}

@media (max-width: 1199.98px) {
    .dn-masonry-grid {
        columns: 3;
        column-gap: 0.75rem;
    }
}

@media (max-width: 991.98px) {
    .dn-masonry-grid {
        columns: 2;
        column-gap: 0.6rem;
    }

    .dn-masonry-item {
        margin-bottom: 0.6rem;
    }

    .dn-gallery-main {
        max-height: 50vh;
    }

    .dn-gallery-main img {
        max-height: 50vh;
    }
}

@media (max-width: 575.98px) {
    .dn-masonry-grid {
        columns: 2;
        column-gap: 0.5rem;
    }

    .dn-masonry-item {
        margin-bottom: 0.5rem;
    }

    .dn-gallery-thumb {
        width: 55px;
        height: 40px;
    }
}

.form-control:disabled {
    background-color: rgba(60, 61, 62, 0.85);
}