/* Base Styles */
:root {
    --primary: #ff5e62;
    --secondary: #ff9966;
    --gradient: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --dark: #333;
    --text: #555;
    --light: #f8f8f8;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(255, 94, 98, 0.15);
    --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;
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    background-color: var(--white);
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

h1 span {
    display: block;
    color: var(--primary);
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
    border-radius: 5px;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 20px;
}

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

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 10px rgba(255, 94, 98, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 94, 98, 0.35);
    color: var(--white);
}

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

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.4rem;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

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

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

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

nav ul li a:not(.btn):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 180px;
    background-color: #fff8f8;
    overflow: hidden;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.hero-image {
    text-align: right;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    fill: var(--white);
}

/* Generate Section */
.generate {
    background-color: var(--white);
}

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

.step {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 94, 98, 0.2);
}

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

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

/* Features Section */
.features {
    background-color: #fff8f8;
    position: relative;
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 94, 98, 0.2);
}

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

/* Testimonials */
.testimonials {
    background-color: var(--white);
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow);
}

.rating {
    color: #FFC107;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.user {
    font-weight: 600;
    margin-top: 15px;
    color: var(--primary);
}

/* FAQ */
.faq {
    background-color: #fff8f8;
}

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

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

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

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

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

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

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* CTA */
.cta {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

.cta h2::after {
    background: rgba(255, 255, 255, 0.2);
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
}

/* Footer */
footer {
    background-color: #280e0e;
    color: var(--white);
    padding: 60px 0 30px;
}

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

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

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

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

footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

footer a {
    color: rgba(255, 255, 255, 0.8);
}

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

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

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        grid-row: 1;
        text-align: center;
    }
    
    .hero {
        padding-bottom: 120px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        transition: left 0.3s ease;
        padding: 40px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .testimonial-container,
    .feature-cards,
    .steps {
        grid-template-columns: 1fr;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
    }
}
