/* DESIGN SYSTEM VARIABLES */
:root {
    --bg-main: #0B0F19;
    --bg-card: #13192B;
    --bg-input: #1A2235;
    
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    
    --accent-purple: #8B5CF6;
    --accent-purple-glow: rgba(139, 92, 246, 0.2);
    --accent-blue: #3B82F6;
    --accent-green: #10B981;
    
    --border-color: #2E3A59;
    --border-highlight: #3B82F6;
    
    --font-family: 'Inter', -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background:
        linear-gradient(rgba(7,11,23,.82), rgba(7,11,23,.88)),
        url("assets/img/ai-network-bg.png");
    color: var(--text-primary);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* LAYOUT */
.dashboard {
    width: 95%;
    max-width: 970px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px;
}

/* SIDEBAR */
.sidebar {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: fit-content;
    position: sticky;
    top: 20px;
    background: rgba(19,25,43,.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.sidebar h1 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.gradient-text {
    background: linear-gradient(90deg, #8B5CF6, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.sidebar-desc {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.6;
    margin: 0;
}

.info-card {
    display: flex;
    gap: 12px;
    background: var(--bg-input);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    align-items: flex-start;
}

.info-card strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.info-card p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin: 0;
}

.info-card .icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.countdown-section {
    margin-top: 4px;
}

.countdown-section h3 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    text-align: center;
    margin-top: 8px;
}

.time-box {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 8px 4px;
}

.time-box span {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
}

.time-box p {
    font-size: 0.5rem;
    color: var(--text-secondary);
    margin: 2px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* MAIN CONTENT & CARDS */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-width: 0;
}

.card {
    background: rgba(19,25,43,.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(99,102,241,.20);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    transition: .35s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #6366F1;
    box-shadow: 0 25px 70px rgba(99,102,241,.35);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 0px;
}

.section-header h2 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.step-number {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #D946EF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    box-shadow: 0 10px 25px rgba(139,92,246,.35);
}

/* PRICING TABLE */
.pricing-table {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, #1A2238 0%, #12192D 100%);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    position: relative;
    padding-top: 0px;
}

.table-row {
    display: grid;
    grid-template-columns: 2.2fr repeat(4,1fr);
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin: 0;
    line-height: 1;
    outline: 1px;
    padding-bottom: 0;
}

.table-row:last-child {
    border-bottom: none;
}

.cell {
    padding: 11px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.06);
}

.cell.category-name {
    justify-content: center;
    align-items: flex-start !important;
    text-align: left !important;
    flex-direction: row !important;
    padding-left: 18px;
    gap: 10px;
}

.cell:last-child {
    border-right: none;
}

.table-row.header .cell {
    background-color: var(--bg-input);
    font-size: 0.57rem;
    font-weight: bold;
    color: var(--text-secondary);
    padding: 11px 12px;
}

.price {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.highlight-cell .price,
.highlight-cell {
    color: #D946EF;
}

.save {
    display: block;
    margin-top: 5px;
    font-size: 9px;
    font-weight: 700;
    color: #00F5A0;
}

.category-name {
    display: flex;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left;
    padding-left: 20px;
    font-weight: 700;
    color: #fff;
    font-size: 13px;
    gap: 10px;
}

.badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(217, 70, 239, 0.8));
    font-size: 0.65rem;
    padding: 6px 10px;
    border-radius: 8px;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: var(--text-primary);
    border: 1px solid rgba(139, 92, 246, 0.5);
}

.badge-early-bird {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(217, 70, 239, 0.8));
    font-size: 0.65rem;
    padding: 6px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: var(--text-primary);
    border: 1px solid rgba(139, 92, 246, 0.5);
    margin-bottom: 4px;
}

.highlight {
    background: linear-gradient(180deg, #2B2353 0%, #241B46 100%);
    border: 2px solid #6D5DF6;
    border-bottom: none;
    color: #fff;
    z-index: 2;
}

/* FORMS AND BOTTOM GRID */
.bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.forms-column {
    display: flex;
    flex-direction: column;
}

.split-forms {
    display: grid;
    grid-template-columns: 62% 38%;
    gap: 13px;
    align-items: stretch;
}

.split-forms .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.split-forms .form-group {
    width: 100%;
}

.split-forms .form-group input,
.split-forms .form-group select {
    width: 100%;
}

.split-forms .form-grid.dual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.split-forms .card:last-child .form-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.split-forms .card:first-child .form-grid.dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.split-forms > .card:first-child {
    width: 100%;
}

.full-width {
    grid-column: 1 / -1;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(134px, 1fr));
    gap: 10px;
}

.form-grid.dual {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.form-group label {
    font-size: 9px;
    font-weight: 500;
    color: #94A3B8;
    margin-bottom: 5px;
}

input,
select {
    height: 36px;
    padding: 0 12px;
    background: #0C1222;
    border: 1px solid #2C3553;
    border-radius: 9px;
    color: #fff;
    font-size: 10px;
    transition: .35s;
    width: 100%;
    max-width: 100%;
}

input:hover,
select:hover {
    border-color: #5B6CFF;
}

input:focus {
    border-color: #7C5CFF;
    box-shadow: 0 0 0 4px rgba(124,92,255,.15);
    background: #11182D;
}

select:focus {
    outline: none;
    border-color: #2C3553;
    box-shadow: none;
    background: #0C1222;
}

select:focus-visible {
    border-color: #7C5CFF;
    box-shadow: 0 0 0 3px rgba(124,92,255,.12);
}

input:focus, select:focus {
    border-color: var(--accent-blue);
}

/* ORDER SUMMARY */
.order-summary {
    display: flex;
    flex-direction: column;
    gap: 13px;
    height: 100%;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.summary-row.total {
    color: var(--text-primary);
    align-items: center;
    margin-top: 10px;
}

.price-large {
    font-size: 1rem;
    font-weight: bold;
    color: #38BDF8;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
}

.btn-primary {
    background: linear-gradient(90deg, #8B5CF6, #D946EF);
    color: white;
    border: none;
    padding: 11px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin-top: auto;
    transition: opacity 0.2s;
    font-size: 11px;
}

.btn-primary:hover {
    opacity: 0.9;
}

.highlight-cell {
    background: linear-gradient(180deg, rgba(60,43,118,.88) 0%, rgba(43,35,83,.95) 100%);
    border-left: 2px solid #6D5DF6;
    border-right: 2px solid #6D5DF6;
    border-top: none;
}

.table-row:last-child .highlight-cell {
    border-bottom: 2px solid #6D5DF6;
}

.table-row:last-child .highlight-cell:first-child {
    border-bottom-left-radius: 13px;
}

.table-row:last-child .highlight-cell:last-child {
    border-bottom-right-radius: 13px;
}

.best-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #B84DFF;
    background: rgba(25,18,55,.75);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .4px;
    box-shadow: 0 0 15px rgba(184,77,255,.18);
}

.card.registration-card {
    padding: 16px;
    margin-bottom: 0px;
}

.registration-page {
    padding: 80px 13px 53px;
    background-image:
        linear-gradient(rgba(7,11,23,.82), rgba(7,11,23,.88)),
        url("assets/img/ai-network-bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.registration-card .form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

.form-grid.dual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

textarea {
    width: 100%;
    min-height: 74px;
    resize: vertical;
    padding: 11px;
    background: #0F1325;
    border: 1px solid #313B63;
    border-radius: 9px;
    color: #fff;
    font-family: inherit;
    font-size: 9px;
    outline: none;
    transition: .3s;
}

textarea:focus {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 4px rgba(139,92,246,.15);
}

@keyframes floatAI {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

.ai-brain {
    animation: floatAI 5s ease-in-out infinite;
}

.ai-brain {
    filter:
        drop-shadow(0 0 25px rgba(91,108,255,.45))
        drop-shadow(0 0 50px rgba(201,76,255,.25));
}

.ai-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 12px 0;
    padding: 16px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg,
        rgba(91,108,255,.12),
        rgba(168,85,247,.12));
    border: 1px solid rgba(91,108,255,.25);
    overflow: hidden;
    min-height: 150px;
}

.brain-img {
    width: 160px;
    max-width: 100%;
    animation: floatAI 5s ease-in-out infinite;
    filter:
        drop-shadow(0 0 20px rgba(0,195,255,.35))
        drop-shadow(0 0 35px rgba(168,85,247,.25));
    transition: .4s;
}

.brain-img:hover {
    transform: scale(1.05);
    filter:
        drop-shadow(0 0 30px rgba(0,195,255,.55))
        drop-shadow(0 0 50px rgba(168,85,247,.45));
}

.ai-image::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(
        rgba(91,108,255,.35),
        transparent 70%
    );
    filter: blur(25px);
    z-index: -1;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 9px;
    color: #AEB8D4;
}

.summary-item strong {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.4;
    margin-top: 3px;
    font-size: 9px;
    color: #fff;
    font-weight: 600;
}

.amount {
    font-weight: 700;
    color: #fff;
}

.discount .amount {
    color: #00E676;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 17px 0;
}

.summary-total small {
    color: #8EA2C8;
    font-size: 8px;
    letter-spacing: 1px;
}

.summary-total h2 {
    margin: 4px 0 0;
    font-size: 23px;
    font-weight: 800;
    background: linear-gradient(90deg, #00C6FF, #7C4DFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.saving-box {
    margin-top: 12px;
    padding: 9px;
    text-align: center;
    background: rgba(0,230,118,.10);
    border: 1px solid rgba(0,230,118,.25);
    border-radius: 9px;
    color: #00E676;
    font-weight: 700;
    font-size: 9px;
}

.summary-details hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,.08);
    margin: 13px 0;
}

.ticket-row {
    cursor: pointer;
    transition: .35s;
}

.ticket-row:hover {
    background: rgba(91,108,255,.08);
    transform: scale(1.01);
}

.ticket-row.active {
    background: transparent;
    box-shadow: none;
    border-left: none;
}

.ticket-row.active .category-name {
    background: linear-gradient(90deg, #7C3AED, #D946EF);
    border-radius: 0 12px 12px 0;
    transform: translateX(4px);
    transition: .3s ease;
    color: #fff;
    border-left: 4px solid #A855F7;
    box-shadow: inset 0 0 20px rgba(168,85,247,.25);
    font-weight: 600;
}

.registration-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.address-field {
    grid-column: 1 / -1;
}

.address-field input {
    width: 100%;
}

.registration-form .full-width {
    grid-column: span 2;
}

.registration-form .half-width {
    grid-column: span 1;
}

.registration-wrapper {
    width: 100%;
}

.registration-wrapper .card {
    width: 100%;
}

.ai-image span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #6ee7ff;
    box-shadow: 0 0 10px #6ee7ff;
    animation: floatParticle 6s linear infinite;
}

.ai-image span:nth-child(2) {
    width: 3px;
    height: 3px;
    background: #d946ef;
    box-shadow: 0 0 12px #d946ef;
    animation-duration: 8s;
}

.ai-image span:nth-child(3) {
    width: 5px;
    height: 5px;
    background: #8b5cf6;
    box-shadow: 0 0 15px #8b5cf6;
    animation-duration: 7s;
}

.ai-image span:nth-child(4) {
    width: 3px;
    height: 3px;
    background: #38bdf8;
    box-shadow: 0 0 12px #38bdf8;
    animation-duration: 9s;
}

.ai-image span:nth-child(5) {
    width: 5px;
    height: 5px;
    background: #22d3ee;
    box-shadow: 0 0 15px #22d3ee;
    animation-duration: 10s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(60px) translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    50% {
        transform: translateY(0) translateX(10px);
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(-60px) translateX(-7px);
        opacity: 0;
    }
}

.form-group:focus-within label {
    color: #7C5CFF;
    transition: .3s;
}

@keyframes pulseTotal {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: rgba(255,255,255,.25);
    transform: skewX(-25deg);
    transition: .8s;
}

.btn-primary:hover::before {
    left: 140%;
}

.time-box:last-child span {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: .45;
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%,
            rgba(91,108,255,.18),
            transparent 28%),
        radial-gradient(circle at 85% 15%,
            rgba(217,70,239,.12),
            transparent 30%),
        radial-gradient(circle at 80% 80%,
            rgba(0,198,255,.08),
            transparent 25%);
    z-index: -1;
}

.promo-card {
    margin: 12px 0;
    padding: 16px 20px;
}

.promo-wrapper {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 12px;
    align-items: center;
}

.promo-wrapper input {
    height: 42px;
    padding: 0 14px;
    font-size: 13px;
}

.promo-left h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.3;
}

.promo-left p {
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.6;
}

.promo-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.promo-right input {
    flex: 1;
    width: auto;
}

.btn-apply {
    height: 42px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #7C4DFF, #D946EF);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(139,92,246,.35);
}

.promo-card .section-header {
    margin-bottom: 12px;
}

.promo-card .section-header h2 {
    font-size: 14px;
}

.accommodation-row {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 0px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.acc-radio {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
}

.acc-radio input {
    display: none;
}

.custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #6366F1;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.acc-radio input:checked + .custom-radio::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8B5CF6;
    top: 3px;
    left: 3px;
}

.summary-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.summary-value strong {
    margin: 0;
    font-size: 12px;
    color: #fff;
    line-height: 1.3;
}

.summary-value .amount {
    font-weight: 700;
    color: #fff;
}