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

:root {
    --bg-color: #0b0c10;
    --surface-color: #1f2833;
    --primary-color: #66fcf1;
    --primary-hover: #45a29e;
    --text-color: #c5c6c7;
    --text-light: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo,
.header {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    text-align: left;

}

.logo {
    margin-bottom: 50px;
}

.logo span {
    color: var(--primary-color);
}

.header {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
}

.header img {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    rotate: 130deg;
}

.header a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    margin-left: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav a:hover {
    color: var(--text-light);
}

nav a:hover::after {
    width: 100%;
}

a {
    color: var(--text-color);

}

/* Hero Section */
#hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;

    align-items: center;
    text-align: center;
    padding: 80px 5% 0px 5%;
    background: linear-gradient(135deg, rgba(11, 12, 16, 0.8) 0%, rgba(31, 40, 51, 0.9) 100%),
        url('assets/hero.webp') center/cover no-repeat;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(11, 12, 16, 0.8) 100%);
    z-index: 1;
}

#hero h1,
#hero p,
#hero button {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 1s ease-out;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

#hero button {
    padding: 1rem 3rem;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bg-color);
    background-color: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.3);
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
    width: 300px;

}

#hero button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 252, 241, 0.5);
}

#hero button.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.sticky-quiz-btn {
    padding: 1rem 3rem;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bg-color);
    background-color: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.3);

    position: fixed;
    bottom: 20vh;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 1000;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background-color 0.3s ease;
}

.sticky-quiz-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);

}

.sticky-quiz-btn:hover {
    background-color: var(--primary-hover);
    transform: translate(-50%, -3px);
    box-shadow: 0 6px 25px rgba(102, 252, 241, 0.5);
}

.sticky-quiz-btn.hide-forced {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(20px) !important;
}

/* Portfolio Table Section */
#portfolio {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

#portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 5rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#portfolio h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.table-container {
    flex: 1;
    overflow-x: auto;
    background: var(--surface-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-preview {
    flex: 0 0 450px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(102, 252, 241, 0.2);
    background: var(--surface-color);
}

.portfolio-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.15s ease-in-out;
}

@media (max-width: 1024px) {
    .portfolio-layout {
        flex-direction: column-reverse;
    }

    .portfolio-preview {
        flex: none;
        width: 100%;
        position: relative;
        top: 0;
    }
}

.portfolio-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px;
}

.portfolio-table th,
.portfolio-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-table th {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-table td {
    color: #c5c6c7;
    font-size: 1rem;
    line-height: 1.6;
}

.portfolio-table tbody tr {
    transition: var(--transition);
}

.portfolio-table tbody tr:hover {
    background-color: rgba(102, 252, 241, 0.05);
    transform: scale(1.01);
}

.portfolio-table tbody tr:last-child td {
    border-bottom: none;
}

.portfolio-table td:first-child {
    font-weight: 600;
    color: var(--text-light);
    width: 35%;
}

/* Footer */
footer {
    background-color: #050507;
    padding: 5rem 5% 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer h2 {
    color: var(--text-light);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

footer p {
    margin-bottom: 0.8rem;
    color: #888;
}

footer p:last-child {
    margin-top: 32px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 32px;
    }

    #hero p {
        font-size: 16px;
    }

    nav ul {
        display: none;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--surface-color);
    padding: 16px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(102, 252, 241, 0.2);
    animation: fadeInUp 0.3s ease-out;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--text-color);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--primary-color);
}

.quiz-step {
    display: none;
    text-align: left;
}

.quiz-step.active {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

.quiz-step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 24px;
}

.quiz-step p {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--text-light);
}

.quiz-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.quiz-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.2);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quiz-options label {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.quiz-options label:hover {
    border-color: rgba(102, 252, 241, 0.5);
    background: rgba(102, 252, 241, 0.05);
}

.quiz-options input[type="radio"] {
    accent-color: var(--primary-color);
    width: 1.2rem;
    height: 1.2rem;
}

.quiz-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bg-color);
    background-color: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.3);
}

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

.quiz-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.prev-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.prev-btn:hover {
    background-color: rgba(102, 252, 241, 0.1);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.2);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.4s ease-in-out;
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
}

/* Loader */
.loader {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Pricing Tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: nowrap;

}

.tab-btn {
    padding: 0.8rem 2rem;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn:hover {
    background: rgba(102, 252, 241, 0.1);
    border-color: rgba(102, 252, 241, 0.5);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.3);
}

/* Pricing Grid */


.packages-grid {
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    gap: 1.5rem;
    padding: 4rem 5vw;
    margin: 0 auto;
    max-width: 100vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.packages-grid::-webkit-scrollbar {
    display: none;
}

.package-card {
    background: var(--surface-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 85vw;
    max-width: 380px;
    scroll-snap-align: center;

}

.package-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 252, 241, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.package-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}



.package-name {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.package-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.package-price span {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 400;
}

.mtop {
    margin-top: -20px;
    margin-left: 10px;
}

.fake-price {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 400;
    text-decoration: line-through;
    margin-bottom: -10px;
}

.package-price span.currency {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);

    margin-bottom: -15px;
}

.package-price span.price-val {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: -15px;
}

.package-price span.price-val .big-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.package-features {
    list-style: none;
    margin-bottom: 0.5rem;
    /* reduced from 2.5rem because we have hidden features next */
    flex-grow: 1;
}

.package-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.package-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}



.package-card.popular .package-features li {
    padding: 8px 0px;
}

.package-features.hidden-features li::before {
    content: '•';
    color: var(--text-color);
    font-weight: bold;
}

.toggle-features-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: left;
    padding: 0.5rem 0;
    width: 100%;
    transition: var(--transition);
}

.toggle-features-btn:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.hidden-features-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.hidden-features-wrapper.open {
    max-height: 500px;
    margin-bottom: 1.5rem;
}

.package-subtitle {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.starting-at-text {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 0.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.package-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.package-card.popular .package-btn {
    background: var(--primary-color);
    color: var(--bg-color);
}

.package-card.popular .package-btn:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Typography tweaks for results page */
.results-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.2;
    padding: 0px 16px;
}

.results-subtitle {
    margin-bottom: 3rem;
    padding: 0px 16px;
    color: #e0e0e0;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.step-label {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Make Level 2 tabs distinct */
.pricing-tabs.level2 .tab-btn {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.pricing-tabs.level2 .tab-btn.active {
    background: rgba(102, 252, 241, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

/* Adjust grid and buttons for mobile */
@media (max-width: 768px) {
    .pricing-tabs {
        gap: 0.8rem;
        padding-left: 16px;
        padding-right: 16px;
    }

    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        flex: 1;
        white-space: nowrap;
    }

    .package-card {
        padding: 24px;
    }
}

/* Match Badge */
.match-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 0 0 15px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(229, 46, 113, 0.4);
    z-index: 10;
    white-space: nowrap;
    animation: slideDown 0.5s ease-out forwards;

    width: 90%;
}

.match-badge span {
    color: #ffd700;
}

@keyframes slideDown {
    from {
        top: -40px;
    }

    to {
        top: -1px;
    }
}

.package-card.popular {
    padding-top: 3.5rem;
    /* Make room for the match badge */
}

/* Match Reason Box */
.match-reason-box {
    background: rgba(102, 252, 241, 0.1);
    border: 1px solid rgba(102, 252, 241, 0.3);
    color: #e0e0e0;
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 16px;
    position: relative;
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

/* Restoration Section & Carousel */
#restoration {
    padding: 80px 5%;
    background-color: var(--bg-color);
    text-align: center;
    color: var(--text-light);
}

#restoration h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    display: grid;
}

.carousel-slide {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.carousel-slide>img {
    width: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.slide-text {
    background: var(--surface-color);
    padding: 24px;
    border-radius: 0 0 16px 16px;
    color: var(--text-color);
    text-align: left;
}

.slide-text p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 16px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.slide-text p:last-child {
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.slide-text p strong {
    color: var(--text-light);
    font-weight: 700;
    font-size: 16px;
    margin-left: 8px;
    width: 80px;

}


.slide-text p i {
    margin-left: auto;
    width: 200px;
}


.result-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-nav {
    background: rgba(102, 252, 241, 0.15);
    border: 1px solid rgba(102, 252, 241, 0.3);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.4);
}

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
}

/* Process Section */
#process {
    padding: 80px 5%;
    background-color: var(--surface-color);
    text-align: center;
}

#process h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.process-layout {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    gap: 2.5rem;
    align-items: center;
}

.process-timeline {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.process-timeline img {
    display: block;
    margin-left: -5px;
}

.process-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-step {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(102, 252, 241, 0.3);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;

    min-height: 280px;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
}

.process-step h3 {
    color: var(--text-light);
    font-size: 20px;
}

/* Us vs Them Section */
#manifesto {
    background-color: #111111;
    padding: 80px 5%;
}

#manifesto h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-note {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    font-style: italic;
    color: #cccccc;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
    line-height: 1.6;
}

.manifesto-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.manifesto-item {
    border-bottom: 1px solid #333333;
    padding: 2rem 0;
}

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

.standard-rule,
.our-rule {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.standard-rule {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.standard-rule .result-icon {
    opacity: 0.6;
    margin-top: 4px;
}

.our-rule {
    color: #ffffff;
    background: rgba(102, 252, 241, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(102, 252, 241, 0.15);
    box-shadow: 0 4px 20px rgba(102, 252, 241, 0.05);
    font-size: 1.1rem;
}

.our-rule .result-icon {
    margin-top: 4px;
}

.our-rule .neon-text {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(102, 252, 241, 0.4);
}

.cta-full-width {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0 auto;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--bg-color);
    background-color: var(--primary-color);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.4);

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 2s ease, visibility 2s ease, transform 2s ease, background-color 2s ease, box-shadow 2s ease;
}

.cta-full-width.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cta-full-width:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 252, 241, 0.6);
}

/* Contact Section */
#contact {
    background-color: var(--bg-color);
    padding: 60px 5% 20px 5%;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

#contact>p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.contact-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.text-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-color);
    background-color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.3);
    transition: var(--transition);
}

.text-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 252, 241, 0.5);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.contact-icon {
    width: 24px;
    height: auto;
    flex-shrink: 0;
}

.contact-link:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.callback-wrapper {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 1rem;
}

.callback-text {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-style: italic;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.callback-form input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 252, 241, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    outline: none;
    transition: var(--transition);
}

.callback-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.2);
}

.callback-form button {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.callback-form button:hover {
    background: rgba(102, 252, 241, 0.1);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.2);
}

/* Ghost Footer */
.ghost-footer {
    background-color: var(--bg-color);
    text-align: center;
    padding: 10px 5% 15px 5%;
}

.ghost-footer p,
.ghost-footer a {
    font-size: 11px;
    color: #555;
    margin: 4px 0;
    text-decoration: none;
    transition: none;
}

.ghost-footer a:hover {
    color: #333333;
}

/* Old fadeEffect removed in favor of grid cross-fade */

@media (max-width: 1200px) {
    /* No longer need to adjust absolute left/right since we use flexbox */
}




@media (min-width: 768px) {

    .packages-grid {

        align-items: center;
        justify-content: center;

    }

    .carousel-dots {
        display: none;
    }
}

@media (max-width: 768px) {
    .carousel-nav {
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: none;
    }


    #restoration h2,
    #process h2,
    #manifesto h2,
    #contact h2 {
        font-size: 24px;
        text-align: left;
    }

    #contact {
        text-align: left;
    }

    #contact>p {
        text-align: left;
    }

    .callback-wrapper {
        padding: 1.5rem 1rem;
    }

    .process-layout {
        gap: 8px;
    }

    .process-step {
        padding: 1.5rem 1rem;
    }

    .our-rule {
        padding: 1rem;
    }

    .cta-full-width {
        font-size: 1rem;
    }

    .slide-text {
        padding: 16px;
    }

    .slide-text p {
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 0px;
        margin-left: auto;
    }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--surface-color);
    border-top: 1px solid rgba(102, 252, 241, 0.2);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    z-index: 3000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.5s ease-out;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

#cookie-banner.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.cookie-content p {
    font-size: 0.8rem;
    color: var(--text-color);
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.accept-btn {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    height: 45px;
}

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

.decline-btn {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    height: 40px;
    opacity: 0.7;
    padding: 0;
}


@media (min-width: 768px) {
    .decline-btn {
        padding: 8px;
    }

    .cookie-buttons {
        align-items: center;
        justify-content: center;
    }
}

.decline-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: var(--text-light);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .cookie-btn {
        width: 100%;
    }
}