/* 
   THEME: Cyber Innovation (Dark/Neon)
   FONT: Rajdhani
*/

:root {
    /* Color Palette */
    --bg-color: #0B0F19;
    --surface-color: #162032;
    --primary: #00F0FF;
    /* Neon Cyan */
    --primary-hover: #00bfcb;
    --secondary: #7000FF;
    /* Electric Violet */
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --error: #EF4444;
    --success: #10B981;

    /* Decoration */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-neon: 0 0 15px rgba(0, 240, 255, 0.3);

    /* Spacing */
    --container-width: 1200px;
    --section-spacing: 100px;

    /* Transition */
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Rajdhani', sans-serif;
    /* CHANGE_FONT_HERE */
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

button,
input,
textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-spacing) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: var(--shadow-neon);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

.btn--outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn--outline:hover {
    background: rgba(0, 240, 255, 0.1);
}

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

.btn--small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    /* Glassmorphish */
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__list {
    display: flex;
    gap: 32px;
}

.header__link {
    font-weight: 500;
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

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

.header__link:hover::after {
    width: 100%;
}

.header__close {
    display: none;
}

.header__burger {
    display: none;
    background: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    position: absolute;
    transition: var(--transition);
}

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

.header__burger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(112, 0, 255, 0.15), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(0, 240, 255, 0.1), transparent 40%);
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__content {
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    gap: 20px;
}

/* Hero Graphic (Unique Layout) */
.hero__graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.graphic-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(112, 0, 255, 0.1));
    position: absolute;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.graphic-card {
    background: rgba(22, 32, 50, 0.9);
    padding: 24px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
    transform: rotate(-3deg);
    transition: var(--transition);
}

.graphic-card:hover {
    transform: rotate(0) scale(1.05);
}

.graphic-card__icon {
    font-size: 2rem;
    background: rgba(0, 240, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* About (Features) */
.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: #1c2840;
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-card:hover .feature-card__icon {
    background: var(--primary);
    color: var(--bg-color);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.feature-card h3 {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 1.4rem;
}

/* Services (Masonry) */
.services {
    position: relative;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.services__masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(280px, auto);
}

.service-card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.service-card--large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(22, 32, 50, 0.9) 0%, rgba(30, 45, 74, 0.9) 100%);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
}

.service-card__icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.service-card:hover .service-card__icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: var(--bg-color);
}

.service-card--large .service-card__icon-box {
    width: 80px;
    height: 80px;
}

.service-card__tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(112, 0, 255, 0.2);
    color: #a855f7;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
    max-width: 90%;
}

.service-card__glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -75px;
    right: -75px;
    opacity: 0.05;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover .service-card__glow {
    opacity: 0.2;
    transform: scale(1.5);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    gap: 8px;
    margin-top: auto;
}

.link-arrow:hover {
    gap: 12px;
}

/* Reviews */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: var(--radius-2xl);
    border-top: 4px solid var(--secondary);
    box-shadow: var(--shadow-soft);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.review-card__role {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-card__text {
    font-style: italic;
    color: #cbd5e1;
}

/* CTA Section */
.cta {
    padding-bottom: var(--section-spacing);
}

.cta__card {
    background: linear-gradient(135deg, rgba(22, 32, 50, 0.95) 0%, rgba(30, 45, 74, 0.95) 100%);
    padding: 60px 40px;
    border-radius: var(--radius-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-size: 3rem;
    margin-bottom: 24px;
    color: #fff;
}

.cta__text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta__decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cta__circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.cta__circle--1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -150px;
    left: -150px;
}

.cta__circle--2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -200px;
    right: -200px;
}

/* Contacts */
.contacts__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts__info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.contacts__list {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-icon {
    color: var(--primary);
}

.booking-form {
    background: var(--surface-color);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(11, 15, 25, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.error-message {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
    height: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input {
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: underline;
}

/* Form Success Animation */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.btn-dloader {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

/* Footer */
.footer {
    background: #05080e;
    padding: 80px 0 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__brand {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__col h4 {
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__col ul li {
    margin-bottom: 12px;
}

.footer__col a:hover {
    color: var(--primary);
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--surface-color);
    padding: 30px;
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay[aria-hidden="false"] .modal {
    transform: scale(1);
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
}

.modal__content h2 {
    margin-bottom: 20px;
    color: var(--primary);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(22, 32, 50, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-md);
    z-index: 1500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--primary);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    max-width: 600px;
    margin: 0 auto;
}

.cookie-popup.active {
    transform: translateY(0);
}

.cookie-popup__actions {
    display: flex;
    gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero__container,
    .contacts__container {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
        padding-top: 100px;
    }

    .hero__graphic {
        display: none;
    }

    /* Hide complex graphic on mid-screens if needed or adjust */
    .hero__actions {
        justify-content: center;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        padding: 80px 20px;
        transform: translateX(100%);
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 9999;
        overflow-y: auto;
    }

    .header__nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: -1;
    }

    .header__nav.active {
        transform: translateX(0);
    }

    .header__nav.active::before {
        opacity: 1;
        visibility: visible;
    }

    .header__list {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .header__close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        background: none;
        color: #fff;
        border: none;
        cursor: pointer;
    }

    .header__burger {
        display: block;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .services__masonry {
        grid-template-columns: 1fr;
    }

    .service-card--large {
        grid-column: auto;
        grid-row: auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .cookie-popup {
        flex-direction: column;
        width: 90%;
    }
}