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

:root {
    --primary: #4a86e8;
    --secondary: #673ab7;
    --accent: #ff5722;
    --dark: #333333;
    --light: #f5f5f5;
    --grey: #e0e0e0;
    --text: #212121;
    --text-light: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    font-size: 16px;
}

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

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

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

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

section {
    padding: 5rem 0;
    overflow: hidden;
}

section:nth-child(even) {
    background-color: var(--light);
}

section:nth-child(odd) {
    background-color: #ffffff;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    color: var(--text-light);
}

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

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

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

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

.brand-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.logo h1 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--primary);
}

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

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

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

nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #673ab7 0%, #4a86e8 100%);
    color: var(--text-light);
}

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

.hero-content {
    width: 50%;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content h2:after {
    background-color: var(--text-light);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-graphic {
    width: 40%;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    margin: 0 auto 1.5rem;
}

/* How it Works Section */
.how-it-works {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    text-align: center;
    padding: 2rem;
    position: relative;
    min-width: 200px;
}

.step:not(:last-child):after {
    content: "→";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
}

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

.cta-center {
    text-align: center;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary);
    border-bottom: 1px solid var(--grey);
    padding-bottom: 0.8rem;
    margin-bottom: 1rem;
}

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

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

.footer-logo, .footer-links, .footer-contact {
    margin-bottom: 2rem;
}

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

.brand-icon-small {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h3:after, .footer-contact h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

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

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-light);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 991px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-graphic {
        width: 100%;
        text-align: center;
    }
    
    .hero-graphic {
        margin-top: 3rem;
    }
    
    .hero-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    h2, section {
        text-align: center;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        width: 100%;
    }
    
    .footer-links h3:after, .footer-contact h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
}
