/* Base Styles and Variables */
:root {
    --primary: #2ecc71;
    --secondary: #3498db;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --background: #f5f6fa;
    --card-bg: #ffffff;
    --accent: #1abc9c;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.wrapper {
    overflow: hidden;
    position: relative;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

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

ul {
    list-style: none;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.primary-btn {
    background: var(--gradient);
    color: var(--text-light);
    border: none;
}

.primary-btn:hover {
    box-shadow: 0 7px 15px rgba(46, 204, 113, 0.4);
    transform: translateY(-3px);
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 15px 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

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

.nav-menu a:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-text h2 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--card-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-box {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 200px;
    transition: var(--transition);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

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

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

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-dark);
    opacity: 0.8;
}

/* How to Use Section */
.how-to {
    padding: 100px 0;
    background: var(--card-bg);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

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

.step-info h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.step-info p {
    color: var(--text-dark);
    opacity: 0.8;
}

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

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--background);
}

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

.faq-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question span {
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-plus {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-plus::before,
.faq-plus::after {
    content: '';
    position: absolute;
    background: var(--primary);
    transition: var(--transition);
}

.faq-plus::before {
    width: 20px;
    height: 2px;
    top: 9px;
    left: 0;
}

.faq-plus::after {
    width: 2px;
    height: 20px;
    top: 0;
    left: 9px;
}

.faq-item.active .faq-plus::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 30px 20px;
    max-height: 1000px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--text-light);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta .primary-btn:hover {
    box-shadow: 0 7px 15px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: #222f3e;
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-column a:hover {
    color: var(--primary);
    opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-graphic {
        order: -1;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--card-bg);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
    }
    
    .step-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-info {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .stat-box {
        width: 100%;
    }
}
