/* Base Styles */
:root {
    --primary-color: #4A67E2;
    --secondary-color: #FF6B6B;
    --dark-color: #222639;
    --light-color: #f8f9fa;
    --text-color: #333;
    --background-gradient: linear-gradient(135deg, #222639 0%, #383f5e 100%);
    --card-gradient: linear-gradient(135deg, #2a2f45 0%, #323855 100%);
    --primary-gradient: linear-gradient(135deg, #4A67E2 0%, #6C8DFF 100%);
    --secondary-gradient: linear-gradient(135deg, #FF6B6B 0%, #FF9E80 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background: var(--background-gradient);
    overflow-x: hidden;
}

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

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

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

/* Header */
header {
    background-color: var(--dark-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

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

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

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--light-color);
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.cta-button a {
    background: var(--secondary-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.cta-button a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    z-index: -1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.primary-button {
    display: inline-block;
    background: var(--secondary-gradient);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--light-color);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--light-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
}

.hero-visual {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.feature-card {
    background: var(--card-gradient);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

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

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--light-color);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    position: relative;
    background: linear-gradient(135deg, #2a2f45 0%, #323855 100%);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: var(--card-gradient);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

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

.step-card h3 {
    margin-bottom: 1rem;
    color: var(--light-color);
}

.step-card p {
    color: rgba(255, 255, 255, 0.7);
}

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

/* Testimonials Section */
.testimonials {
    background: var(--dark-color);
}

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

.testimonial-card {
    background: var(--card-gradient);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.stars {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.quote {
    font-style: italic;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.author {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Final CTA Section */
.final-cta {
    text-align: center;
    background: linear-gradient(135deg, #2a2f45 0%, #323855 100%);
    position: relative;
    overflow: hidden;
}

.final-cta h2 {
    margin-bottom: 1rem;
}

.final-cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.primary-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.footer-links h3, .footer-legal h3 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    header {
        padding: 1rem 0;
    }
    
    nav {
        display: none; /* Mobile menu would be implemented with JavaScript */
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-grid, .step-grid, .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

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

.feature-card, .step-card, .testimonial-card {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1), .step-card:nth-child(1), .testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2), .step-card:nth-child(2), .testimonial-card:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(3), .step-card:nth-child(3), .testimonial-card:nth-child(3) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(4), .step-card:nth-child(4), .testimonial-card:nth-child(4) {
    animation-delay: 0.7s;
}
