/* Base Styles and Variables */
:root {
    --primary-color: #ff3366;
    --secondary-color: #0099ff;
    --dark-color: #333333;
    --light-color: #f9f9f9;
    --gradient-bg: linear-gradient(135deg, #ff3366 0%, #ff6b98 100%);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --spacing-sm: 0.75rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

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

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

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-cta {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-cta {
    background-image: var(--gradient-bg);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.3);
}

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

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

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

.logo-svg {
    width: 180px;
    height: 40px;
}

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

nav ul li {
    margin-left: var(--spacing-md);
}

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

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

/* Hero Section */
.hero-section {
    padding: var(--spacing-lg) 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,51,102,0.05) 0%, rgba(0,153,255,0.05) 100%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    width: 50%;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

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

.hero-graphic {
    width: 45%;
}

.hero-svg {
    width: 100%;
    height: auto;
}

/* Features Section */
.features-section {
    padding: var(--spacing-lg) 0;
    background-color: #f0f8ff;
}

.features-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

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

.feature-card {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

/* How It Works Section */
.how-it-works-section {
    padding: var(--spacing-lg) 0;
    background-color: white;
}

.how-it-works-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

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

.step {
    flex: 1;
    min-width: 250px;
    padding: var(--spacing-md);
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

/* FAQ Section */
.faq-section {
    padding: var(--spacing-lg) 0;
    background-color: #f9f9f9;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: var(--spacing-md);
}

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: var(--spacing-md);
}

.footer-logo-svg {
    width: 150px;
    height: 40px;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
}

.footer-link-group {
    flex: 1;
    min-width: 150px;
    margin-bottom: var(--spacing-md);
}

.footer-link-group h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-link-group ul {
    list-style: none;
}

.footer-link-group ul li {
    margin-bottom: 8px;
}

.footer-link-group ul li a {
    color: #ccc;
}

.footer-link-group ul li a:hover {
    color: white;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
    }
    .hero-content, .hero-graphic {
        width: 100%;
    }
    .hero-content {
        margin-bottom: var(--spacing-lg);
    }
    .step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content h2 {
        font-size: 1.5rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .steps-container {
        flex-direction: column;
    }
    .step {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content h2 {
        font-size: 1.3rem;
    }
}
