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

:root {
    --primary: #6C63FF;
    --secondary: #FF6CAB;
    --dark: #2A2A40;
    --light: #F8F9FC;
    --text: #333344;
    --text-light: #666677;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
    --radius: 12px;
}

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

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

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

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

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

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

h2::after {
    content: "";
    display: block;
    height: 5px;
    width: 80px;
    background: var(--gradient);
    margin: 15px auto 0;
    border-radius: 5px;
}

section {
    padding: 100px 0;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

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

.logo h1 {
    font-size: 1.5rem;
    margin: 0 0 0 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-icon {
    flex-shrink: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    color: var(--text);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -8px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
    border-radius: 3px;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 160px;
    background: linear-gradient(170deg, #FFFFFF 0%, #F0F1FF 100%);
    position: relative;
    overflow: hidden;
}

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

.hero::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 108, 171, 0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content h2::after {
    margin: 15px 0 0;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: white !important;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.4);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Features Section */
.features {
    background-color: white;
}

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

.feature-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
}

.feature-icon {
    margin-bottom: 25px;
}

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

.feature-card p {
    color: var(--text-light);
}

/* How It Works */
.how-it-works {
    background-color: #F0F1FF;
    position: relative;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--gradient);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 250px;
    position: relative;
    z-index: 2;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.step h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.step p {
    color: var(--text-light);
}

/* FAQ Section */
.faq {
    background-color: white;
}

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

.faq-item {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.2);
}

.faq-item h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-light);
}

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

.final-cta h2 {
    color: white;
}

.final-cta h2::after {
    background: white;
}

.final-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.final-cta .cta-button {
    background: white;
    color: var(--primary) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.final-cta .cta-button::before {
    background: rgba(255, 255, 255, 0.9);
}

.final-cta .cta-button:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

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

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

.footer-logo p {
    margin-left: 10px;
    color: white;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-col {
    margin-left: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

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

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

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

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

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

/* Responsive Design */
@media (max-width: 991px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-content h2::after {
        margin: 15px auto 0;
    }
    
    .hero-graphic {
        justify-content: center;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        margin-bottom: 40px;
    }
    
    .footer-col {
        margin-left: 30px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 20px;
    }
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
    }
    
    .footer-col {
        margin-left: 0;
        margin-bottom: 30px;
        width: 100%;
    }
}

@media (max-width: 575px) {
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 80px 0 120px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
