:root {
    --bg-midnight: #0b1121;
    --bg-card: #1e293b;
    --accent-red: #ef4444;
    --accent-red-hover: #dc2626;
    --text-head: #f8fafc;
    --text-body: #94a3b8;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-midnight);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    color: var(--text-head);
    font-weight: 800;
    margin-top: 0;
    line-height: 1.1;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-red);
    color: white;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-red);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--text-head);
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-button:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 0 20px;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 17, 33, 0.6), rgba(11, 17, 33, 0.95));
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero-content .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e2e8f0;
}

.details-section {
    padding: 120px 0;
    background-color: var(--bg-midnight);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
}

.tech-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-icon {
    color: var(--accent-red);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}
.tech-title {
    color: var(--text-head);
    font-weight: 600;
    font-size: 1.1rem;
}

.detail-img-wrapper {
    position: relative;
}
.detail-img-wrapper img {
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #050913;
}

.carousel-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    margin: 0;
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
}

.carousel-slide figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 18px 20px;
    background: linear-gradient(to top, rgba(5, 9, 19, 0.95), rgba(5, 9, 19, 0));
    color: #f8fafc;
    font-weight: 600;
    font-size: 0.95rem;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(11, 17, 33, 0.8);
    color: #f8fafc;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 2;
}

.carousel-control:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background: rgba(11, 17, 33, 1);
}

.carousel-control.prev {
    left: 12px;
}

.carousel-control.next {
    right: 12px;
}

.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.carousel-dot {
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    border: 0;
    background: rgba(248, 250, 252, 0.45);
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.carousel-dot.is-active {
    background: var(--accent-red);
    transform: scale(1.2);
}

.pricing-section {
    padding: 20px 0 110px;
    background-color: var(--bg-midnight);
}

.pricing-hero {
    text-align: center;
    margin-bottom: 34px;
}

.pricing-hero h2 {
    font-size: clamp(1.9rem, 3.3vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pricing-hero p {
    max-width: 860px;
    margin: 0 auto;
    color: #c5d2e8;
    font-size: 1.08rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 26px;
}

.pricing-card {
    position: relative;
    background: linear-gradient(180deg, rgba(22, 34, 61, 0.95), rgba(15, 24, 43, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.pricing-sub {
    color: #d2ddf2;
    font-weight: 600;
    margin-bottom: 12px;
}

.pricing-list-title {
    color: #cfdcf3;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    font-weight: 700;
}

.pricing-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.pricing-list li {
    position: relative;
    padding-left: 16px;
    color: #d6e2f6;
}

.pricing-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-red);
    font-weight: 900;
}

.pricing-price {
    margin-top: auto;
    padding-top: 14px;
    color: var(--text-head);
    font-size: 1.28rem;
    font-weight: 800;
}

.pricing-price small {
    display: block;
    font-size: 0.84rem;
    font-weight: 500;
    color: #8ca1c0;
    margin-top: 4px;
}

.pricing-card.best {
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.65);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -11px;
    right: 16px;
    background: linear-gradient(120deg, var(--accent-red), var(--accent-red-hover));
    color: #fff;
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 10px;
    border-radius: 999px;
}

.pricing-notice {
    margin: 8px 0 28px;
    background: rgba(6, 13, 27, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
}

.pricing-notice h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.pricing-notice p {
    margin: 0 0 8px;
    color: #c5d2e8;
    font-size: 0.95rem;
}

.pricing-notice p:last-child {
    margin-bottom: 0;
}

.pricing-cta {
    text-align: center;
    padding-top: 6px;
}

.pricing-cta h3 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    margin-bottom: 10px;
}

.pricing-cta p {
    max-width: 820px;
    margin: 0 auto 22px;
    color: #c5d2e8;
}

.contact-section {
    padding: 100px 20px;
    background-color: var(--bg-card);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.contact-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.contact-wrapper p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

footer {
    padding: 40px 0;
    background-color: var(--bg-midnight);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #64748b;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.legal-links {
    display: flex;
    gap: 20px;
}
.legal-links a {
    color: #64748b;
    transition: color 0.3s;
    text-decoration: none;
}
.legal-links a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

.email-fallback {
    margin-top: 25px;
    font-size: 0.95rem;
    color: #64748b;
}
.email-link {
    color: var(--text-head);
    font-weight: 600;
    border-bottom: 1px solid var(--accent-red);
    padding-bottom: 2px;
    transition: all 0.3s;
}
.email-link:hover {
    color: var(--accent-red);
    border-bottom-color: transparent;
}

@media (max-width: 900px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .detail-img-wrapper {
        order: -1;
    }
    .details-section,
    .pricing-section,
    .contact-section {
        padding: 80px 0;
    }
    .lang-switch {
        top: 20px;
        right: 20px;
    }

    .carousel-control {
        width: 38px;
        height: 38px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.best {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
