/* 
  Theme: Neon Cyberpunk
  Colors: Deep Black, Neon Pink, Cyan
  Font: Rajdhani
*/

:root {
    --bg-color: #09090b;
    --text-color: #e2e8f0;
    --primary-color: #d946ef;
    /* Neon Pink */
    --secondary-color: #06b6d4;
    /* Cyan */
    --accent-color: #8b5cf6;
    /* Violet */
    --surface-color: rgba(255, 255, 255, 0.05);
    --surface-hover: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(9, 9, 11, 0.7);
    --radius-xl: 1.5rem;
    --radius-lg: 1rem;
    --radius-md: 0.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 20px rgba(217, 70, 239, 0.3);
}

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

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

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

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

ul {
    list-style: none;
}

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

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.center {
    text-align: center;
}

/* Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
}

.btn--primary:hover {
    background: #c026d3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.6);
}

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

.btn--outline:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

.glass-card {
    background: var(--surface-color);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary-color);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo__icon path {
    stroke: var(--primary-color);
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger__line {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(29, 29, 32, 1) 0%, rgba(9, 9, 11, 1) 100%);
    padding-top: 8rem;
    /* Offset for fixed header */
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Visual Placeholder using CSS */
.visual-placeholder {
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder__circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(from 180deg at 50% 50%, var(--primary-color) 0deg, var(--secondary-color) 180deg, var(--primary-color) 360deg);
    opacity: 0.2;
    filter: blur(40px);
    position: absolute;
    animation: rotate 10s linear infinite;
}

.visual-placeholder__card {
    width: 280px;
    height: 180px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
    transform: rotate(-10deg);
    animation: float 6s ease-in-out infinite;
}

.h-line {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    width: 100%;
}

.h-line.short {
    width: 60%;
}

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-10deg);
    }

    50% {
        transform: translateY(-20px) rotate(-5deg);
    }
}

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

.service-icon-svg {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-icon-svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.success-icon-svg {
    color: #22c55e;
    margin-bottom: 1rem;
}

.link-arrow {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* About */
.about__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    font-size: 2rem;
}

.about__visual {
    position: relative;
    height: 400px;
}

.about-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--primary-color);
}

.about-card.small {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 80%;
    border-color: var(--secondary-color);
    background: rgba(9, 9, 11, 0.9);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.3);
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-role {
    font-size: 0.875rem;
    color: #94a3b8;
}

.review-rating {
    margin-top: 1rem;
    color: #fbbf24;
}

/* Contact CTA */
.cta-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.section-desc {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

/* Contact */
.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem;
}

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.125rem;
    color: var(--text-color);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-family: inherit;
    transition: var(--transition);
}

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.error-msg {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    height: 1.25em;
    /* reserve space */
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.link-btn {
    color: var(--secondary-color);
    text-decoration: underline;
    padding: 0;
}

/* Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
    margin-left: 10px;
}

.loader.hidden {
    display: none;
}

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

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

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: rgba(9, 9, 11, 0.5);
    padding: 4rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer__col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer__col ul li {
    margin-bottom: 0.75rem;
}

.footer__col ul li a,
.footer__col ul li button {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer__col ul li a:hover,
.footer__col ul li button:hover {
    color: var(--primary-color);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: #64748b;
    font-size: 0.875rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    z-index: 2000;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

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

.cookie-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #18181b;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 600px;
    z-index: 3001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #94a3b8;
}

.modal-close:hover {
    color: white;
}

/* Success Modal specific */
.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

/* Media Queries */
/* Media Queries */
@media (max-width: 1024px) {
    .section {
        padding: 4rem 0;
    }

    .burger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #09090b;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        backdrop-filter: blur(20px);
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav__link {
        font-size: 1.75rem;
    }

    .burger.active .burger__line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .burger.active .burger__line:nth-child(2) {
        opacity: 0;
    }

    .burger.active .burger__line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero__actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__visual {
        display: none;
    }

    .about__wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-container {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        gap: 3rem;
    }

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

    .contact-details {
        align-items: center;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    h2 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about__visual {
        height: 300px;
    }

    .about-card {
        width: 160px;
        height: 160px;
    }

    .about-card.small {
        width: 120px;
        height: 120px;
        left: 75%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero__actions .btn {
        width: 100%;
    }

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

    .footer__col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cookie-popup {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1.25rem;
    }

    .cookie-actions {
        flex-direction: column;
    }

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

    .modal {
        padding: 1.5rem;
        width: 95%;
    }
}