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

:root {
    --primary-bg: #1B1B1B;
    --neon-cyan: #1FFFE2;
    --amethyst: #9B5DE5;
    --coral: #FF6F61;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --shadow: rgba(31, 255, 226, 0.15);
    --font-family: 'Open Sans', sans-serif;
}

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

/* Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(27, 27, 27, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 255, 226, 0.2);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-decoration: none;
    text-shadow: 0 0 10px var(--neon-cyan);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px var(--neon-cyan); }
    to { text-shadow: 0 0 20px var(--neon-cyan), 0 0 30px var(--neon-cyan); }
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--neon-cyan);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle-line {
    width: 25px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(155, 93, 229, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(31, 255, 226, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(155, 93, 229, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(31, 255, 226, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-cyan), var(--amethyst));
    color: var(--primary-bg);
    box-shadow: 0 10px 30px rgba(31, 255, 226, 0.3);
}

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

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

.btn-secondary:hover {
    background: var(--coral);
    color: var(--white);
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(31, 255, 226, 0.3);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0.8;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(31, 255, 226, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(31, 255, 226, 0.05), transparent);
    transform: rotate(-45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translate(50%, 50%);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 40px rgba(31, 255, 226, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, var(--amethyst), var(--coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--white);
    opacity: 0.8;
    line-height: 1.6;
}

/* Images */
.about-image-container {
    max-width: 600px;
    margin: 0 auto 4rem;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(31, 255, 226, 0.3);
    box-shadow: 0 15px 40px rgba(31, 255, 226, 0.2);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.service-image-container {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(31, 255, 226, 0.2);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: scale(1.1);
}

/* Form Styles */
.form-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem auto;
    max-width: 800px;
    border: 1px solid rgba(31, 255, 226, 0.1);
}

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

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

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(31, 255, 226, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-select {
    background-image: linear-gradient(45deg, transparent, transparent),
                      linear-gradient(135deg, var(--neon-cyan) 0%, var(--amethyst) 100%);
    background-position: right 15px center, right 0px center;
    background-size: 12px 8px, 30px 100%;
    background-repeat: no-repeat;
    appearance: none;
    cursor: pointer;
}

.form-select option {
    background: var(--primary-bg);
    color: var(--white);
    padding: 0.5rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(31, 255, 226, 0.3);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.checkbox-label {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.4;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, var(--amethyst), var(--neon-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-bg);
}

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

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border-left: 4px solid var(--coral);
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--white);
    opacity: 0.9;
}

.testimonial-author {
    font-weight: 600;
    color: var(--neon-cyan);
}

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

.advantage {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.advantage:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--coral), var(--amethyst));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(31, 255, 226, 0.2);
    padding: 3rem 0 1rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: var(--neon-cyan);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.footer-subtitle {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--white);
    opacity: 0.8;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 0.8rem;
    color: var(--white);
    opacity: 0.8;
}

.contact-info a {
    color: var(--neon-cyan);
    text-decoration: none;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-cyan);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    opacity: 0.6;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 400px;
    background: rgba(27, 27, 27, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--neon-cyan);
    border-radius: 20px;
    padding: 2rem;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 10px 30px rgba(31, 255, 226, 0.2);
}

.cookie-content h3 {
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cookie-content p {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.btn-accept {
    background: linear-gradient(45deg, var(--neon-cyan), var(--amethyst));
    color: var(--primary-bg);
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.btn-info {
    background: transparent;
    color: var(--coral);
    border: 1px solid var(--coral);
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(45deg, var(--neon-cyan), var(--amethyst));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Prevent horizontal scroll on mobile only */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .container {
        overflow-x: hidden;
    }
    
    .cards-grid {
        overflow-x: hidden;
    }
    
    .hero-content,
    .section,
    .footer-container {
        overflow-x: hidden;
    }
    
    * {
        word-wrap: break-word;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(27, 27, 27, 0.98);
        backdrop-filter: blur(15px);
        padding: 2rem;
        flex-direction: column;
        text-align: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        max-width: calc(100vw - 2rem);
        overflow-x: hidden;
    }
    
    .section {
        padding: 4rem 0;
        overflow-x: hidden;
    }
    
    .hero-title {
        font-size: 2rem;
        word-wrap: break-word;
    }
    
    .card {
        padding: 2rem;
        max-width: 100%;
    }
    
    .form-section {
        padding: 2rem;
        margin: 2rem auto;
        max-width: calc(100vw - 2rem);
    }
    
    .service-image-container {
        height: 150px;
    }
    
    .about-image-container {
        max-width: 100%;
        margin: 0 auto 2rem;
    }
    
    iframe {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Additional animations */
.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--neon-cyan), var(--amethyst));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--amethyst), var(--coral));
}
