/* Root Variables & General Styles */
:root {
    --primary: #FF7E5F;
    --secondary: #FEB47B;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --dark: #333333;
    --light: #f8f8f8;
    --text: #444444;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --border-radius: 12px;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 10px 30px rgba(255, 126, 95, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

ul {
    list-style: none;
}

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

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

section {
    padding: var(--spacing-xl) 0;
}

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

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 1rem auto;
    background: var(--gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #777;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

/* Header & Navigation */
header {
    background: #fff;
    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-container {
    display: flex;
    align-items: center;
}

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

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

.site-name span {
    color: #888;
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1001;
}

.bar {
    width: 100%;
    height: 3px;
    background: var(--primary);
    margin: 6px 0;
    border-radius: 3px;
    transition: var(--transition);
}

.cta-button {
    background: var(--gradient);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 126, 95, 0.2);
}

.nav-cta::after {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding: var(--spacing-xl) 0 0;
    background: linear-gradient(to bottom, #fff, #fff);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.highlight {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gradient);
    opacity: 0.2;
    z-index: -1;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.description {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    max-width: 550px;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-md);
}

.primary-button {
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.2);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 126, 95, 0.3);
    color: white;
}

.secondary-button {
    background: transparent;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: var(--transition);
    display: inline-block;
}

.secondary-button:hover {
    background: rgba(255, 126, 95, 0.1);
    transform: translateY(-3px);
}

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

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

.curve-divider {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.curve-divider.top {
    top: 0;
}

.curve-divider.bottom {
    bottom: 0;
}

.curve-divider svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* Features Section */
.features {
    background: #fff;
    padding: var(--spacing-xl) 0;
}

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

.feature-card {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 126, 95, 0.15);
}

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

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

/* How It Works Section */
.how-it-works {
    background: #fff;
    padding: var(--spacing-xl) 0;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 35px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    z-index: 1;
}

.step {
    display: flex;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

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

.step-number {
    background: var(--gradient);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-right: var(--spacing-md);
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.3);
}

.step-content {
    flex-grow: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.cta-center {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Testimonials/Benefits Section */
.testimonials {
    background: var(--light);
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.benefit-card {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 126, 95, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-sm);
}

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

/* FAQ Section */
.faq {
    padding: var(--spacing-xl) 0;
}

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

.faq-item {
    background: #fff;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 126, 95, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.arrow {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

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

.arrow::before {
    width: 2px;
    height: 10px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.arrow::after {
    width: 10px;
    height: 2px;
    top: 4px;
    left: 0;
}

.faq-item.active .arrow::before {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: var(--spacing-md);
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Footer Section */
footer {
    background: var(--dark);
    color: #fff;
    padding: var(--spacing-lg) 0 var(--spacing-sm);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-info {
    max-width: 400px;
}

.footer-info p {
    margin-top: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

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

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

.footer-site-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: #fff;
    position: relative;
}

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

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

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

.copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Media Queries */
@media (max-width: 992px) {
    :root {
        --spacing-xl: 6rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-illustration {
        order: -1;
    }
    
    .menu-icon {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 0.5rem 0;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }
    
    .menu-overlay.active {
        display: block;
    }
}

@media (max-width: 576px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-info,
    .footer-links {
        text-align: center;
    }
    
    .footer-info {
        margin: 0 auto;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto var(--spacing-sm);
    }
}
