/* Base Variables */
:root {
    --primary: #6a11cb;
    --primary-light: #8a3bff;
    --primary-dark: #5a0db0;
    --secondary: #2575fc;
    --secondary-light: #45a0ff;
    --secondary-dark: #1560e1;
    --text-dark: #222831;
    --text-medium: #393e46;
    --text-light: #666f7a;
    --background: #ffffff;
    --background-alt: #f7f7f7;
    --accent: #00adb5;
    --border-radius: 6px;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-medium);
    background-color: var(--background);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Buttons */
.primary-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
    transition: all 0.3s ease;
}

.primary-btn:hover {
    box-shadow: 0 7px 20px rgba(106, 17, 203, 0.5);
    transform: translateY(-3px);
    color: white;
}

.secondary-btn {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 12px 30px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.scrolled {
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo {
    overflow: visible;
}

.logo-text {
    fill: url(#logo-gradient);
    font-size: 28px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.region-text {
    fill: var(--secondary);
    font-size: 24px;
    font-weight: bold;
}

.logo-circle {
    fill: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-list a {
    color: var(--text-medium);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-list a:hover {
    color: var(--primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9)),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236a11cb' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    animation: fadeIn 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    animation: slideIn 1s ease;
}

.hero-svg {
    width: 100%;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.1));
}

.ai-nodes .node {
    fill: var(--primary-light);
    animation: pulse 2s infinite alternate;
}

.ai-nodes .connection {
    stroke: var(--primary-light);
    stroke-width: 1.5;
    opacity: 0.5;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--background);
}

.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.icon-bg {
    fill: var(--primary);
}

.feature-cta {
    text-align: center;
    margin-top: 60px;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: var(--background-alt);
}

.process-steps {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

.step-connector {
    width: 60px;
    display: flex;
    align-items: center;
}

.step-connector svg {
    width: 100%;
}

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

.testimonials .section-title {
    color: white;
}

.testimonials .section-title::after {
    background: white;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.quote-icon {
    fill: rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
}

.author-name {
    margin-top: 20px;
    font-weight: 600;
    opacity: 0.9;
}

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

.faq-list {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eaeaea;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(106, 17, 203, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 20px;
    height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    height: auto;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(45deg, rgba(37, 117, 252, 0.9), rgba(106, 17, 203, 0.9)),
                url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
    text-align: center;
    color: white;
}

.cta h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta .primary-btn {
    background: white;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.cta .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background-color: var(--text-dark);
    color: #f5f5f5;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo-text {
    fill: white;
    font-size: 28px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.footer-region {
    fill: var(--secondary-light);
    font-size: 18px;
    font-weight: 500;
    font-family: 'Arial', sans-serif;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 40px;
}

.link-group {
    min-width: 160px;
    margin-bottom: 20px;
}

.link-group h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group a {
    color: #bbb;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--secondary-light);
}

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

.copyright {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    from {
        opacity: 0.5;
        transform: scale(1);
    }
    to {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 30px;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-connector {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 10px 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        padding: 50px 20px;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .secondary-btn {
        margin-top: 10px;
    }
    
    .feature-cards,
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .step {
        width: 100%;
    }
    
    .link-group {
        min-width: 140px;
    }
}
