/* Base Styles and Variables */
:root {
    --primary: #E74C3C;
    --secondary: #3498DB;
    --dark: #2C3E50;
    --darker: #34495E;
    --light: #ECF0F1;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --text-muted: #95A5A6;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light);
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: transparent;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn.primary:hover {
    background-color: #C0392B;
}

.btn.secondary:hover {
    background-color: rgba(231, 76, 60, 0.1);
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo h1 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.logo h1 span {
    color: var(--primary);
    font-weight: 400;
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

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

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

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

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

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

#menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.buttons {
    display: flex;
    gap: 1rem;
}

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

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

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

.about-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.about-card .icon {
    margin-bottom: 1.5rem;
}

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

.about-card p {
    color: var(--text-muted);
}

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

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--light);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.tab.active {
    background-color: var(--dark);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.show {
    display: block;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.feature-list {
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.feature-preview {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    flex: 1;
    min-width: 220px;
    max-width: 250px;
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

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

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

.step p {
    color: var(--text-muted);
}

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

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: white;
}

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

.accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--radius);
    background-color: var(--light);
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light);
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.rating {
    color: #F39C12;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.user {
    font-weight: 600;
    color: var(--dark);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background-color: var(--dark);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Footer */
footer {
    background-color: var(--darker);
    color: white;
    padding: 5rem 0 2rem;
    margin-top: auto;
}

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

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-text h3 {
    margin-bottom: 0.5rem;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

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

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .feature-content {
        flex-direction: column;
    }
    
    .feature-preview {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .buttons {
        justify-content: center;
    }
    
    #menu-toggle {
        display: flex;
        flex-direction: column;
    }
    
    #nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    #nav-menu.show {
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
    }
    
    #nav-menu li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }
    
    #menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    #menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    #menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-top, .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .steps, .testimonial-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 100%;
    }
}
