/* Base Styles */
:root {
    --primary: #8A2BE2;    /* Purple */
    --secondary: #00FFD1;  /* Teal */
    --accent: #FF69B4;     /* Hot Pink */
    --warning: #FFC107;    /* Amber */
    --dark: #1A1A2E;       /* Dark Blue */
    --light: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-light: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #8A2BE2 0%, #00FFD1 100%);
    --gradient-secondary: linear-gradient(135deg, #FF69B4 0%, #FFC107 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.3rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

section {
    padding: 70px 0;
}

/* Header */
header {
    background-color: var(--light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.highlight {
    color: var(--primary);
}

.brand-name sup {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    color: var(--dark);
    position: relative;
    padding-bottom: 5px;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05) 0%, rgba(0, 255, 209, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle at 30% 70%, rgba(138, 43, 226, 0.1) 0%, transparent 70%),
                     radial-gradient(circle at 70% 30%, rgba(0, 255, 209, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn.primary {
    background: var(--gradient-primary);
    color: var(--light);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

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

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

.btn.secondary:hover {
    background: rgba(138, 43, 226, 0.1);
}

.btn.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    max-width: 100%;
    height: auto;
}

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

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

.feature-box {
    background-color: var(--light);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.feature-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-box:hover:before {
    opacity: 0.05;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.feature-box h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--dark);
    color: var(--light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(0, 255, 209, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 105, 180, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.how-it-works h2 {
    color: var(--light);
}

.how-it-works h2:after {
    background: var(--gradient-secondary);
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin: 60px 0 40px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

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

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

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

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

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

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    transition: color 0.3s ease;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s ease;
}

.faq-answer {
    background-color: rgba(138, 43, 226, 0.03);
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 30px;
    max-height: 300px;
}

.faq-item.active .faq-question {
    background-color: rgba(138, 43, 226, 0.03);
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

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

/* CTA Section */
.final-cta {
    background: var(--gradient-primary);
    color: var(--light);
    text-align: center;
    padding: 80px 0;
}

.final-cta h2 {
    color: var(--light);
    margin-bottom: 20px;
}

.final-cta h2:after {
    display: none;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.final-cta .btn.primary:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 70px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-links h3 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

.keywords {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.keywords span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        padding: 80px 0;
    }

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

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

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--light);
        box-shadow: var(--shadow-md);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.3s ease;
        opacity: 0;
    }
    
    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-text, .hero-visual {
        flex: 100%;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .footer-top {
        flex-direction: column;
    }

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

    .keywords {
        justify-content: center;
    }
}
