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

:root {
    --primary-color: #7952b3;
    --secondary-color: #5a3a9e;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --light-text: #ffffff;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --border-radius: 8px;
    --box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

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

h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

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

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

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

.logo {
    width: 200px;
}

.logo-svg {
    display: block;
    height: 40px;
}

.main-nav ul {
    display: flex;
}

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

.main-nav ul li a {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 0;
    position: relative;
}

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

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

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

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    padding-right: 50px;
}

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

.tech-illustration {
    max-width: 500px;
    width: 100%;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: var(--light-text);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    background-color: #ff4949;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4);
    color: var(--light-text);
}

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

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

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: var(--light-text);
}

.how-it-works h2 {
    color: var(--light-text);
}

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

.step {
    flex: 1;
    padding: 30px;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateX(25px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

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

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

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

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

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

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

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

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

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-logo-svg {
    fill: var(--light-text);
    width: 150px;
}

.footer-links {
    display: flex;
    flex: 2;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-nav {
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-nav h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

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

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    color: var(--light-text);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 40px;
    }
    
    .step:not(:last-child)::after {
        top: auto;
        bottom: -20px;
        right: 50%;
        width: 2px;
        height: 40px;
        transform: translateX(1px);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        width: 95%;
    }
}
