/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Unique Color Palette - Neon Cyberpunk meets Winter */
    --primary: #ff006e;
    --secondary: #8338ec;
    --accent: #3a86ff;
    --highlight: #06ffa5;
    --dark: #1a0933;
    --light: #f8f3ff;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    --text: #2d1b4e;
    --white: #ffffff;
    
    /* Typography */
    --font-script: 'Caveat', cursive;
    --font-mono: 'JetBrains Mono', monospace;
    --font-body: 'Poppins', sans-serif;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 15px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-accept {
    background: var(--highlight);
    color: var(--dark);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(6, 255, 165, 0.4);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 9, 51, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--highlight);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-script);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--highlight);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(6, 255, 165, 0.5);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--highlight);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-10px, -10px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-script);
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.highlight {
    color: var(--highlight);
    text-shadow: 0 0 20px rgba(6, 255, 165, 0.8);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.6);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: rotate(0deg) scale(1.05);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--gradient), transparent);
    opacity: 0.1;
}

.section-title {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating:nth-child(2) {
    animation-delay: -2s;
}

.floating:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 0, 110, 0.2);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 5px 0;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.service-features li::before {
    content: '→';
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
}

/* Research Section */
.research {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.research::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); opacity: 0.1; }
    to { transform: scale(1.1); opacity: 0.15; }
}

.research-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.research h2 {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--highlight);
    margin-bottom: 20px;
}

.research-intro {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--light);
    line-height: 1.7;
}

.research-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.stat {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid var(--highlight);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: scale(1.05);
    background: rgba(6, 255, 165, 0.1);
}

.stat-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--highlight);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light);
    font-family: var(--font-body);
}

.research-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.research-chart {
    width: 300px;
    height: 300px;
    border: 3px solid var(--highlight);
    border-radius: 50%;
    position: relative;
    animation: rotate 10s linear infinite;
}

.research-chart::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px dashed var(--primary);
    border-radius: 50%;
    animation: rotate 8s linear infinite reverse;
}

.research-chart::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite alternate;
}

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

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light), var(--white));
}

.testimonial-swiper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    transform: skew(-2deg);
}

.testimonial-card:hover {
    border-color: var(--secondary);
    transform: skew(0deg) translateY(-5px);
    box-shadow: 0 25px 50px rgba(131, 56, 236, 0.2);
}

.testimonial-content p {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 25px;
    line-height: 1.4;
    font-style: italic;
}

.testimonial-author strong {
    font-family: var(--font-mono);
    color: var(--dark);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--primary);
    font-size: 0.9rem;
}

.swiper-pagination-bullet {
    background: var(--primary);
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 2px solid var(--light);
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 0 25px 0;
}

.faq-answer p {
    color: var(--text);
    line-height: 1.6;
    font-family: var(--font-body);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact h2 {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: var(--white);
}

.contact p {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h4 {
    font-family: var(--font-mono);
    color: var(--highlight);
    margin-bottom: 10px;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.4;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}

.form h3 {
    font-family: var(--font-script);
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--highlight);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--white);
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group input:focus {
    outline: none;
    border-color: var(--highlight);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 15px rgba(6, 255, 165, 0.3);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--highlight);
    text-decoration: none;
}

.footer-logo p {
    margin-top: 10px;
    color: var(--light);
    font-family: var(--font-mono);
}

.footer-links h4 {
    color: var(--highlight);
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-content h3 {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.popup-content p {
    color: var(--text);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .research-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .research-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        margin: 0 10px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}