/* Base Styles & Variables */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #ff9966;
    --gradient-bg: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #666666;
    --border-radius: 8px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

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

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--gradient-bg);
    border-radius: 1.5px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Navigation */
.top-nav {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
}

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

.nav-links a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
}

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

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-bg);
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 9px;
}

.menu-toggle span:nth-child(3) {
    top: 18px;
}

/* Hero Section */
.hero {
    position: relative;
    background: #fff;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(231, 76, 60, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero-text {
    z-index: 1;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-bg);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    color: white;
}

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

.hero-visual svg {
    width: 100%;
    max-width: 400px;
}

/* Features Section */
.features {
    background-color: #fff;
}

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

.feature-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(231, 76, 60, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-bg);
    z-index: -1;
    transform: scale(0);
    transition: transform 0.5s ease;
    border-radius: var(--border-radius);
    opacity: 0.05;
}

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

.feature-card:hover:before {
    transform: scale(1);
}

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

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

/* Benefits Section */
.benefits {
    background-color: #f8f9fa;
}

.benefits-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.benefit-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-text h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* How It Works Section */
.how-it-works {
    background: #fff;
    position: relative;
}

.how-it-works:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at bottom left, rgba(231, 76, 60, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.steps {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 50px;
}

.step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    height: calc(100% - 10px);
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
    z-index: 2;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cta {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* FAQ Section */
.faq {
    background: #f8f9fa;
}

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

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

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

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    padding-right: 30px;
}

.faq-toggle {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 20px;
    height: 20px;
}

.faq-toggle:before,
.faq-toggle:after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-toggle:before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    margin-top: -1px;
}

.faq-toggle:after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    margin-left: -1px;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

/* Contact Section */
.contact {
    background: #fff;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    background: var(--gradient-bg);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.logo-icon-small {
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

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

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

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

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 30px;
    }
    
    .step {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 270px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .benefit {
        flex-direction: column;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step:not(:last-child):after {
        top: 40px;
        left: 20px;
    }
}
