/* 
=============================
General Styles
=============================
*/

:root {
    /* Color Palette */
    --primary-color: #1F51FF; /* Electric Blue */
    --accent-color: #CFFF04; /* Neon Lime */
    --bg-color: #1B0032; /* Dark Purple */
    --text-color: #F8F8FF; /* Soft White */
    --secondary-color: #A7C7E7; /* Blue Gray */
    --highlight-color: #FF4FF9; /* Fuchsia */
    --overlay-color: rgba(27, 0, 50, 0.8);
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--accent-color);
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

section {
    padding: 80px 0;
    position: relative;
}

/* Custom divider between sections */
section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), var(--accent-color), var(--primary-color), transparent);
}

/* Last section should not have divider */
section:last-of-type::after {
    display: none;
}

/* Section Headings */
section h2 {
    position: relative;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Buttons */
.cta-btn, .plan-btn, .submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--highlight-color));
    color: var(--text-color);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 81, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before, .plan-btn::before, .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--highlight-color), var(--primary-color));
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-btn:hover::before, .plan-btn:hover::before, .submit-btn:hover::before {
    left: 0;
}

.cta-btn:hover, .plan-btn:hover, .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(31, 81, 255, 0.5);
}

/* 
=============================
Header Styles
=============================
*/

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(27, 0, 50, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    padding: 5px;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav ul li a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    background-color: var(--primary-color);
    padding: 8px 20px !important;
    border-radius: 50px;
    color: var(--text-color) !important;
}

.nav-cta:hover {
    background-color: var(--accent-color);
    color: var(--bg-color) !important;
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-toggle-btn .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 
=============================
Hero Section
=============================
*/

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(27, 0, 50, 0.9), rgba(27, 0, 50, 0.7)), url('../img/7Ugs1W.jpg') no-repeat center center/cover;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: 
        radial-gradient(circle at 30% 20%, rgba(207, 255, 4, 0.3) 0%, rgba(207, 255, 4, 0) 20%),
        radial-gradient(circle at 70% 60%, rgba(31, 81, 255, 0.3) 0%, rgba(31, 81, 255, 0) 20%),
        radial-gradient(circle at 50% 80%, rgba(255, 79, 249, 0.3) 0%, rgba(255, 79, 249, 0) 20%);
    animation: backgroundShift 10s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes backgroundShift {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s forwards;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-section .cta-btn {
    animation: fadeInUp 1s forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
=============================
About Section
=============================
*/

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text, .about-image {
    flex: 1;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0);
}

/* 
=============================
Services Section
=============================
*/

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(31, 81, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 81, 255, 0.2), rgba(207, 255, 4, 0.1));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-left: 4px solid var(--accent-color);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* 
=============================
Benefits Section
=============================
*/

.benefits-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.benefit-card {
    background: rgba(31, 81, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 300px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(31, 81, 255, 0.3);
}

.benefit-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    border-color: var(--accent-color);
    transform: rotateY(180deg);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* 
=============================
Pricing Section
=============================
*/

.pricing-section {
    text-align: center;
}

.tariff-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tariff-controls form {
    display: flex;
    background-color: rgba(31, 81, 255, 0.2);
    padding: 5px;
    border-radius: 50px;
}

.tariff-controls input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.tariff-controls label {
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 50px;
    margin: 0 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tariff-controls input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    background: rgba(31, 81, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(31, 81, 255, 0.1), rgba(207, 255, 4, 0.05));
    z-index: -1;
    border-radius: 20px;
    transition: all 0.5s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card:hover::before {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(31, 81, 255, 0.2), rgba(207, 255, 4, 0.1));
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(167, 199, 231, 0.2);
    position: relative;
    padding-left: 25px;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.pricing-card .plan-btn {
    display: inline-block;
    width: 80%;
}

/* 
=============================
Testimonials Section
=============================
*/

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(31, 81, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(31, 81, 255, 0.3);
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    color: rgba(207, 255, 4, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(167, 199, 231, 0.3);
    display: flex;
    align-items: center;
}

.testimonial-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
}

.testimonial-info {
    flex: 1;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* 
=============================
Contact Section
=============================
*/

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(248, 248, 255, 0.1);
    border: 1px solid rgba(167, 199, 231, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(31, 81, 255, 0.2);
    outline: none;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-group label {
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    margin-bottom: 0;
}

.radio-group label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.radio-group input[type="radio"]:checked + label::before {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
}

.checkbox-group {
    position: relative;
    padding-left: 30px;
}

.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkbox-group label {
    cursor: pointer;
    position: relative;
    padding-left: 0;
    line-height: 1.4;
}

.checkbox-group label::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-group input[type="checkbox"]:checked + label::before {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-group input[type="checkbox"]:checked + label::after {
    content: '✓';
    position: absolute;
    left: -25px;
    top: -2px;
    color: var(--bg-color);
    font-size: 16px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
}

/* Contact Info Styles */
.contact-info h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.contact-info p {
    margin-bottom: 15px;
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 
=============================
Footer Styles
=============================
*/

.main-footer {
    background-color: rgba(27, 0, 50, 0.8);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-contact h4,
.footer-legal h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.footer-legal ul {
    list-style: none;
}

.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-legal ul li a {
    color: var(--text-color);
    transition: all 0.3s ease;
}

.footer-legal ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(167, 199, 231, 0.2);
    padding-top: 20px;
}

/* 
=============================
Cookie Banner
=============================
*/

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: rgba(27, 0, 50, 0.95);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cookie-buttons button {
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

#acceptCookiesBtn {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
}

#acceptCookiesBtn:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

#rejectCookiesBtn {
    background: none;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

#rejectCookiesBtn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* 
=============================
Legal Pages
=============================
*/

.legal-page {
    padding: 120px 0 80px;
}

.legal-page h1 {
    margin-bottom: 30px;
    text-align: center;
}

.legal-content {
    background: rgba(31, 81, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.legal-content h2 {
    color: var(--accent-color);
    margin: 30px 0 20px;
}

.legal-content p, 
.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
    margin-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--primary-color);
    font-weight: 600;
}

.back-link:hover {
    color: var(--accent-color);
}

/* 
=============================
Animations
=============================
*/

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    from {
        transform: rotate(-10deg) scale(0.8);
        opacity: 0;
    }
    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}

.animate-float {
    animation: float 3s infinite ease-in-out;
}

.animate-rotate {
    animation: rotateIn 0.5s forwards;
}

.animate-slide {
    animation: slideIn 0.5s forwards;
}

/* 
=============================
Responsive Styles
=============================
*/

html, body {
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
}

@media (max-width: 1024px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 900;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .main-nav ul li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
        width: 100%;
    }
    
    .menu-toggle-btn {
        display: block;
        z-index: 1000;
    }
    
    .mobile-menu-toggle {
        z-index: 1001;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .benefits-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 300px;
    }
    
    .pricing-cards {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .tariff-controls label {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
} 