/* Base Styles */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #ff3e6c;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-bg: #1a1a2e;
    --light-bg: #f5f7fa;
    --card-bg: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

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

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

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

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

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-color);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

section {
    padding: 80px 0;
}

.button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.button.primary {
    background: var(--gradient);
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
}

.button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.5);
}

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

.button.secondary:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

.button.large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Header */
header {
    background-color: var(--light-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo svg {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

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

.cta-mobile {
    display: none;
}

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

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    overflow: hidden;
}

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

.hero-content {
    max-width: 90%;
}

.hero-content h1 {
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    max-width: 500px;
}

/* Features Section */
.features {
    background-color: var(--card-bg);
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card svg {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

/* How It Works */
.how-it-works {
    background-color: var(--light-bg);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

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

.step-content h3 {
    margin-bottom: 10px;
}

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

/* FAQ Section */
.faq {
    background-color: var(--card-bg);
}

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

.faq-item {
    padding: 25px;
    border-radius: var(--border-radius);
    background-color: var(--light-bg);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

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

.cta-section h2, .cta-section p {
    color: var(--light-text);
}

.cta-section .button.primary {
    background-color: white;
    color: var(--primary-color);
    margin-top: 20px;
}

.cta-section .button.primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo h3 {
    color: var(--light-text);
    margin-top: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-link-group h4 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-link-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-group a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--card-bg);
        padding: 80px 20px 20px;
        transition: var(--transition);
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-mobile {
        display: block;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .menu-toggle.active span:nth-child(1) {
        top: 8px;
        transform: rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        top: 8px;
        transform: rotate(-45deg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
    }
    
    .cta-group {
        flex-direction: column;
        gap: 15px;
    }
}
