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

body {
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 1rem;
    z-index: 10000;
    display: flex;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
}

.cookie-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    background: #ff5252;
    transform: scale(1.05);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 0.5rem 0;
}

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

.nav-logo {
    font-family: 'Kalam', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: -1px;
}

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

.nav-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
}

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

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: 'Kalam', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 2rem;
    transform: rotate(-2deg);
}

.highlight {
    color: #ff6b6b;
    text-shadow: 3px 3px 0 #4ecdc4;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #2c2c2c;
    line-height: 1.7;
}

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

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-primary {
    background: #ff6b6b;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    transform: rotate(1deg);
}

.cta-primary:hover {
    background: #ff5252;
    transform: rotate(1deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.cta-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    transform: rotate(-1deg);
}

.cta-secondary:hover {
    background: #1a1a1a;
    color: white;
    transform: rotate(-1deg) scale(1.05);
}

.hero-image {
    position: relative;
    transform: rotate(3deg);
}

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

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.stat {
    text-align: center;
    transform: rotate(-1deg);
}

.stat-number {
    font-family: 'Kalam', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: #4ecdc4;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Titles */
.section-title {
    font-family: 'Kalam', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    transform: rotate(-1deg);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

/* Gallery Section */
.gallery {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 4rem 2rem;
    border-radius: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    height: 80vh;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item.large {
    grid-column: span 7;
    grid-row: span 2;
    transform: rotate(-1deg);
}

.gallery-item:nth-child(2) {
    grid-column: span 5;
    transform: rotate(2deg);
}

.gallery-item:nth-child(3) {
    grid-column: span 5;
    transform: rotate(-2deg);
}

.gallery-item.wide {
    grid-column: span 7;
    transform: rotate(1deg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: 'Kalam', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Research Section */
.research {
    padding: 8rem 0;
}

.research-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.research-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.research-stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transform: rotate(1deg);
    transition: transform 0.3s ease;
}

.research-stat:hover {
    transform: rotate(1deg) scale(1.05);
}

.research-stat:nth-child(even) {
    transform: rotate(-1deg);
    margin-left: 2rem;
}

.research-stat:nth-child(even):hover {
    transform: rotate(-1deg) scale(1.05);
}

.research-number {
    font-family: 'Kalam', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b6b;
    display: block;
    margin-bottom: 0.5rem;
}

.research-image {
    transform: rotate(-2deg);
}

.research-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Pricing Section */
.pricing {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 4rem 2rem;
    border-radius: 30px;
}

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

.pricing-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    transform: rotate(1deg);
}

.pricing-card:nth-child(even) {
    transform: rotate(-1deg);
}

.pricing-card.featured {
    transform: rotate(0deg) scale(1.05);
    background: rgba(255, 107, 107, 0.2);
    border: 2px solid #ff6b6b;
}

.pricing-card:hover {
    transform: rotate(1deg) scale(1.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card:nth-child(even):hover {
    transform: rotate(-1deg) scale(1.08);
}

.pricing-card.featured:hover {
    transform: rotate(0deg) scale(1.1);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-family: 'Kalam', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #2c2c2c;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    color: #4ecdc4;
    font-weight: 700;
    margin-right: 0.5rem;
}

.cta-pricing {
    display: inline-block;
    background: #4ecdc4;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
}

.cta-pricing:hover {
    background: #45b7d1;
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transform: rotate(1deg);
    transition: all 0.3s ease;
}

.testimonial-card:nth-child(2) {
    transform: rotate(-1deg);
    margin-top: 2rem;
}

.testimonial-card:nth-child(3) {
    transform: rotate(2deg);
    margin-top: -1rem;
}

.testimonial-card:hover {
    transform: rotate(1deg) scale(1.05);
}

.testimonial-card:nth-child(2):hover {
    transform: rotate(-1deg) scale(1.05);
}

.testimonial-card:nth-child(3):hover {
    transform: rotate(2deg) scale(1.05);
}

.testimonial-stars {
    color: #ff6b6b;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author strong {
    font-family: 'Kalam', cursive;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #666;
}

/* FAQ Section */
.faq {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 4rem 2rem;
    border-radius: 30px;
}

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

.faq-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
}

.faq-item:nth-child(even) {
    transform: rotate(-0.5deg);
}

.faq-item:hover {
    transform: rotate(0.5deg) scale(1.02);
}

.faq-item:nth-child(even):hover {
    transform: rotate(-0.5deg) scale(1.02);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    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;
    background: rgba(255, 255, 255, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transform: rotate(1deg);
    transition: all 0.3s ease;
}

.contact-item:nth-child(even) {
    transform: rotate(-1deg);
    margin-left: 2rem;
}

.contact-item:hover {
    transform: rotate(1deg) scale(1.05);
}

.contact-item:nth-child(even):hover {
    transform: rotate(-1deg) scale(1.05);
}

.contact-item h3 {
    font-family: 'Kalam', cursive;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ff6b6b;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.2);
    padding: 3rem;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    transform: rotate(-1deg);
}

.contact-form h3 {
    font-family: 'Kalam', cursive;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a1a1a;
}

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

.form-group input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.3);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

.form-group input::placeholder {
    color: #666;
}

.cta-submit {
    width: 100%;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(1deg);
}

.cta-submit:hover {
    background: #ff5252;
    transform: rotate(1deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.popup-content {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    max-width: 400px;
    transform: rotate(-2deg);
    animation: popupBounce 0.5s ease;
}

@keyframes popupBounce {
    0% { transform: rotate(-2deg) scale(0.8); opacity: 0; }
    100% { transform: rotate(-2deg) scale(1); opacity: 1; }
}

.popup-content h3 {
    font-family: 'Kalam', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.popup-close {
    background: #4ecdc4;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #45b7d1;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 3rem 0 1rem;
    backdrop-filter: blur(20px);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Kalam', cursive;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4ecdc4;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(20px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-stats {
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .gallery-item,
    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
        height: 300px;
        transform: none !important;
    }

    .research-content {
        grid-template-columns: 1fr;
    }

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

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

    .testimonial-card {
        transform: none !important;
        margin-top: 0 !important;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        transform: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}