/* Base Styles */
:root {
    --primary-color: #E63946;
    --secondary-color: #457B9D;
    --dark-color: #1D3557;
    --light-color: #F1FAEE;
    --accent-color: #A8DADC;
    --text-color: #333333;
    --background-color: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

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

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

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

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

ul {
    list-style: none;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

.primary-button:hover {
    background: #d62836;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.secondary-button {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.secondary-button:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.cta-button {
    background: var(--dark-color);
    color: white;
}

.cta-button:hover {
    background: #162a46;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

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

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

.logo-svg {
    margin-right: 10px;
}

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

nav ul {
    display: flex;
    gap: 20px;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgba(241, 250, 238, 0.8), rgba(168, 218, 220, 0.5));
    overflow: hidden;
    position: relative;
}

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

.hero-content {
    flex: 1;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 2.8rem;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.cta-group {
    display: flex;
    gap: 15px;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

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

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

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

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

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

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

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

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

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

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

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 2;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-color));
    color: white;
}

.cta-box {
    padding: 50px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-color);
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.footer-description {
    margin-bottom: 30px;
    max-width: 400px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-nav h3, .footer-terms h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

.footer-nav ul li a, .footer-terms ul li a {
    color: var(--accent-color);
    opacity: 0.8;
}

.footer-nav ul li a:hover, .footer-terms ul li a:hover {
    opacity: 1;
    color: white;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container, .about-content {
        flex-direction: column;
    }
    
    .hero-visual, .about-visual {
        margin-top: 40px;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        padding: 20px;
        transition: var(--transition);
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        right: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
