/* THEME: Deep Night / Neon Tech
   FONT: Chakra Petch (Headings/Tech) + Roboto Mono (Body/Accents)
   PALETTE: Deep Charcoal, Electric Cyan, Lavender Blue
*/

:root {
    --primary: #00e6e6;
    /* Electric Cyan */
    --secondary: #6a73ff;
    /* Lavender Blue */
    --bg-dark: #1a1a2e;
    /* Deep Charcoal */
    --bg-mid: #21213e;
    --text-light: #f0f0f0;
    /* Neon Light Text */
    --text-muted: #9999ff;

    --border-color: #3f3f6e;
    --radius-sm: 0.5rem;
    --radius-xl: 2rem;
    /* 2xl requirement */

    --font-heading: 'Chakra Petch', sans-serif;
    --font-body: 'Roboto Mono', monospace;

    --container: 1200px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary);
    text-shadow: 0 0 5px rgba(0, 230, 230, 0.5);
    /* Neon glow */
}

h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

/* Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.section {
    padding: 6rem 0;
}

.section__header {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-inline: auto;
}

.section__desc {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 10px rgba(0, 230, 230, 0.7);
}

.btn--primary:hover {
    background-color: var(--bg-mid);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

.btn--text {
    background: transparent;
    color: var(--secondary);
    border-bottom: 1px solid var(--secondary);
    padding: 0.5rem 0;
    margin-left: 1.5rem;
    border-radius: 0;
}

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

.btn--full {
    width: 100%;
    margin-top: 1rem;
}

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn--outline {
    border-color: var(--secondary);
    background: transparent;
    color: var(--secondary);
}

.btn--outline:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: 0 0 10px var(--secondary);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo__img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(0, 230, 230, 0.6));
}

.logo__accent {
    color: var(--primary);
}

.nav__list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav__link:hover {
    color: var(--primary);
    text-shadow: 0 0 3px var(--primary);
}

/* Burger */
.burger {
    display: none;
    background: none;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.burger__line:nth-child(1) {
    top: 0;
}

.burger__line:nth-child(2) {
    top: 9px;
}

.burger__line:nth-child(3) {
    bottom: 0;
}

@media (max-width: 1024px) {
    .burger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav__link {
        font-size: 1.4rem;
    }

    .burger[aria-expanded="true"] .burger__line:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }

    .burger[aria-expanded="true"] .burger__line:nth-child(2) {
        opacity: 0;
    }

    .burger[aria-expanded="true"] .burger__line:nth-child(3) {
        bottom: 9px;
        transform: rotate(-45deg);
    }
}

/* Hero Section (Centered Card) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0d0d1e 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(100px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(120px);
}

.hero__card {
    background: rgba(33, 33, 62, 0.9);
    backdrop-filter: blur(5px);
    padding: 3rem;
    border-radius: var(--radius-xl);
    max-width: 650px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--secondary);
    color: var(--bg-dark);
    font-weight: 700;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero__note {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-mid);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-7px);
    border-color: var(--primary);
}

.feature-card p {
    color: var(--text-muted);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.5rem;
    border-radius: 50%;
    line-height: 1;
}

.icon-box--cyan {
    background: rgba(0, 230, 230, 0.2);
    color: var(--primary);
}

.icon-box--lavender {
    background: rgba(106, 115, 255, 0.2);
    color: var(--secondary);
}


/* Services Grid (Tiles) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-tile {
    background: var(--bg-mid);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border-left: 5px solid var(--primary);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-tile:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 230, 230, 0.5);
    z-index: 1;
}

.service-tile--accent {
    border-left-color: var(--secondary);
}

.service-tile--accent:hover {
    box-shadow: 0 0 20px rgba(106, 115, 255, 0.5);
}


.service-tile__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-tile__icon {
    font-size: 1.5rem;
}

.tile-link {
    color: var(--secondary);
    font-weight: 600;
    font-family: var(--font-heading);
    border-bottom: 1px solid var(--secondary);
    display: inline-block;
    margin-top: 1rem;
}

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


/* Contact */
.contact {
    background: var(--bg-mid);
}

.contact__box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--primary);
    box-shadow: 0 0 25px rgba(0, 230, 230, 0.3);
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 5px var(--primary);
}

.error-msg {
    color: #ff6a73;
    font-size: 0.8rem;
    position: absolute;
    bottom: -1.2rem;
    left: 0;
}

.link-btn {
    background: none;
    color: var(--secondary);
    border-bottom: 1px solid;
    padding: 0;
    font-size: inherit;
}

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

.captcha-label {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-light);
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid var(--bg-dark);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
}

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

/* Reviews (Simple Grid) */
.reviews-slider-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 0 15px rgba(106, 115, 255, 0.2);
    transition: box-shadow 0.3s;
    text-align: center;
}

.review-card:hover {
    box-shadow: 0 0 20px rgba(0, 230, 230, 0.5);
}

.review-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 0 15px rgba(0, 230, 230, 0.5);
    position: relative;
}

.review-avatar__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-rating {
    color: gold;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.review-author strong {
    display: block;
    font-size: 1rem;
    color: var(--primary);
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--border-color);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
}

.footer__logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer__logo-img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--primary);
    filter: drop-shadow(0 0 6px rgba(0, 230, 230, 0.5));
}

.footer__logo {
    font-size: 1.6rem;
    color: var(--primary);
}

.footer h4 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-link,
.footer a {
    color: var(--text-muted);
    transition: var(--transition);
    background: none;
    text-align: left;
    padding: 0;
}

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

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer__contact-item:last-child {
    margin-bottom: 0;
}

.footer__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary);
    filter: drop-shadow(0 0 3px rgba(0, 230, 230, 0.5));
    stroke: currentColor;
}


/* Popups */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-mid);
    border-top: 2px solid var(--primary);
    padding: 1.5rem;
    z-index: 2000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.cookie-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: var(--bg-mid);
    padding: 3rem;
    width: 90%;
    max-width: 700px;
    border-radius: var(--radius-xl);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 230, 230, 0.3);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    background: none;
    color: var(--primary);
}

.modal-title {
    margin-bottom: 2rem;
    color: var(--secondary);
}

.modal-body {
    color: var(--text-light);
    line-height: 1.8;
}

.modal-body h4 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body h5 {
    color: var(--secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul,
.modal-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.modal-body ol li {
    list-style-type: decimal;
}

.modal-body strong {
    color: var(--primary);
    font-weight: 600;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.modal--success {
    text-align: center;
}