* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 800px;
}

.nav-container {
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.9) 0%, rgba(59, 130, 246, 0.9) 50%, rgba(147, 51, 234, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}

.logo::before {
    content: "🧠";
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/bg.png') center/cover;
    opacity: 0.3;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(147, 51, 234, 0.3) 0%, transparent 50%);
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

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

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

/* Technology Section */
.technology {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #7dd3fc;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.tech-description {
    text-align: center;
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 60px;
}

.tech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    margin-bottom: 60px;
}

.spiral-shape {
    width: 300px;
    height: 300px;
    background: url('./assets/1.png') center/contain no-repeat;
    animation: float 4s ease-in-out infinite;
}

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

/* How it works section */
.how-it-works {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    padding: 80px 0;
}

.how-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #7dd3fc;
    margin-bottom: 60px;
}

.how-description {
    text-align: center;
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 40px;
}

.how-description-2 {
    text-align: center;
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 60px;
}

/* Algorithms section */
.algorithms {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    padding: 80px 0;
}

.algorithms-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #7dd3fc;
    margin-bottom: 40px;
}

.algorithms-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.algorithms-text {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.8;
    text-align: center;
}

/* Security section */
.security {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    padding: 80px 0;
}

.security-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #7dd3fc;
    margin-bottom: 40px;
}

.security-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

.security-text {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.8;
    text-align: center;
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
}

.solutions-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
    line-height: 1.3;
}

.solutions-description {
    text-align: center;
    font-size: 1.05rem;
    color: #e2e8f0;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 60px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.solution-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-icon1 {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: url('./assets/2.1.png') center/contain no-repeat;
}
.solution-icon2 {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: url('./assets/2.2.png') center/contain no-repeat;
}
.solution-icon3 {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: url('./assets/2.3.png') center/contain no-repeat;
}
.solution-icon4 {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: url('./assets/2.4.png') center/contain no-repeat;
}

.solution-card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.solution-card p {
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #0f172a;
}

.testimonials-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
}

.testimonials-description {
    text-align: center;
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-location {
    color: #64748b;
    font-size: 0.9rem;
}

.testimonials-grid-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

/* Footer */
footer {
    background: #0f172a;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #7dd3fc;
}

.footer-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-crystal {
    width: 200px;
    height: 200px;
    background: url('./assets/3.png') center/contain no-repeat;
}

.footer-bottom {
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    margin: 0 -20px -30px;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    padding: 30px;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-popup h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cookie-popup p {
    color: #e2e8f0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 150px;
}

.cookie-btn.accept {
    background: #7dd3fc;
    color: #0f172a;
}

.cookie-btn.customize {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.cookie-btn.refuse {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonials-grid,
    .testimonials-grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 100px;
        left: 5%;
        right: 5%;
        background: linear-gradient(135deg, rgba(125, 211, 252, 0.95) 0%, rgba(59, 130, 246, 0.95) 50%, rgba(147, 51, 234, 0.95) 100%);
        flex-direction: column;
        padding: 30px;
        border-radius: 20px;
        transform: translateY(-200%);
        transition: transform 0.3s;
        backdrop-filter: blur(15px);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        padding: 10px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title,
    .how-title,
    .algorithms-title,
    .security-title,
    .solutions-title,
    .testimonials-title {
        font-size: 1.8rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cookie-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    header {
        width: 95%;
        top: 10px;
    }

    .nav-container {
        padding: 10px 20px;
    }

    .hero-form {
        padding: 20px;
    }

    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .section-title,
    .how-title,
    .algorithms-title,
    .security-title,
    .solutions-title,
    .testimonials-title {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-white {
    color: #fff;
}

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

.hidden {
    display: none;
}

.scroll-smooth {
    scroll-behavior: smooth;
}