/* Modern CSS with CSS Variables for Easy Theme Customization */
:root {
    /* Primary Color Scheme */
    --primary-color: #6a11cb;
    --secondary-color: #ff7e5f;
    --accent-color: #2ecc71;
    --gradient-primary: linear-gradient(135deg, #6a11cb 0%, #ff7e5f 100%);
    
    /* Text Colors */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    
    /* Background Colors */
    --bg-light: #ffffff;
    --bg-dark: #111111;
    --bg-gray: #f8f9fa;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Fonts */
    --font-primary: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', serif;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: var(--spacing-sm);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    backdrop-filter: blur(10px);
}

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

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

.logo {
    height: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

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

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0L100,100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/><path d="M100,0L0,100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.1;
}

.hero .container {
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 800;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.hero-content h2 span {
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
}

.hero-content h2 span:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

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

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--accent-color);
    color: var(--text-light);
    border-radius: var(--radius-md);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.cta-primary:hover {
    background: #27ae60;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary {
    display: inline-block;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: var(--radius-md);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.cta-center {
    text-align: center;
    margin-top: var(--spacing-lg);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

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

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

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

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

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

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

.faq-item {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    position: relative;
    padding-left: 25px;
}

.faq-item h3:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    opacity: 0.9;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-logo p {
    opacity: 0.7;
    margin-top: var(--spacing-xs);
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-links-column h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

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

.footer-links-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-links-column ul li a {
    color: var(--text-light);
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer-links-column ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

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

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .steps {
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-light);
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-md);
        visibility: hidden;
    }
    
    nav.active {
        height: auto;
        padding: var(--spacing-sm) 0;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
    }
}

@media (max-width: 480px) {
    .features-grid, 
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
}
