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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #1f2937;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transform: translateY(0);
    transition: all 0.3s ease;
}

nav.nav-hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo i {
    font-size: 1.75rem;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: white;
}

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

.nav-link.active {
    color: white;
}

.nav-link.active::after {
    width: 100%;
}

.cta-button {
    background: white;
    color: #7c3aed;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.menu-button:hover {
    color: rgba(255, 255, 255, 0.9);
}

.menu-button.active {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
        transition-delay: calc(var(--i) * 0.1s);
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateX(0);
    }

    .menu-button {
        display: block;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    min-height: 100vh;
    padding: 6rem 5% 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 25%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    animation: gradientMove 15s ease infinite;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFade 0.8s ease-out forwards;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #7c3aed;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-button i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-note span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-note i {
    color: #ffd700;
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
        padding: 0 1rem;
    }
}

/* Footer */
footer {
    background: #f8f9ff;
    padding: 4rem 5% 0;
    color: #4b5563;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-section.brand {
    gap: 1rem;
}

.footer-section.brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c3aed;
}

.footer-section.brand .logo i {
    font-size: 1.75rem;
}

.footer-section.brand p {
    color: #6b7280;
    line-height: 1.6;
}

.footer-section h4 {
    color: #374151;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6b7280;
}

.footer-section ul li i {
    color: #7c3aed;
    font-size: 1.125rem;
}

.footer-section ul li a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #7c3aed;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #6b7280;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: #f3f4f6;
}

.social-links a:hover {
    color: #7c3aed;
    transform: translateY(-2px);
    background: #f0ecfe;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section.brand .logo {
        justify-content: center;
    }

    .footer-section ul li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Sections */
section {
    padding: 5rem 0;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* How it works section */
.how-it-works {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.how-it-works .section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

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

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: #7c3aed;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 2rem;
    width: 64px;
    height: 64px;
    background: #7c3aed;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    color: white;
    font-size: 2rem;
}

.step-card h3 {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Generations section */
.generations {
    background: white;
    padding: 5rem 0;
    position: relative;
}

.generations .section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.generations-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(4, 1fr);
}

.generation-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.generation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.generation-icon {
    width: 64px;
    height: 64px;
    background: #7c3aed;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.generation-icon i {
    color: white;
    font-size: 2rem;
}

.generation-card h3 {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.generation-card .years {
    color: #7c3aed;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.generation-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.generation-card li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.generation-card li::before {
    content: "•";
    color: #7c3aed;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Testimonials section */
.testimonials {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 5rem 0;
    overflow: hidden;
}

.testimonials h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 1rem;
}

.testimonials .section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #7c3aed;
    margin-bottom: 1rem;
}

blockquote {
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.author-info p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.25rem 0 0;
}

/* Benefits Section */
.benefits {
    background: white;
    padding: 5rem 0;
    position: relative;
}

.benefits .section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: #7c3aed;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon i {
    color: white;
    font-size: 1.5rem;
}

.benefit-card h3 {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefit-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-card li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.benefit-card li::before {
    content: "✓";
    color: #7c3aed;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* FAQ Section */
.faq {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 5rem 0;
    position: relative;
}

.faq .section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.faq-toggle {
    background: none;
    border: none;
    color: #7c3aed;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-toggle i {
    font-size: 1rem;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    color: #6b7280;
    margin: 0;
    padding-bottom: 1.5rem;
    line-height: 1.6;
}

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

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

@media (max-width: 768px) {
    .faq-grid {
        gap: 0.75rem;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .steps-grid, .generations-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card, .generation-card, .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .steps-grid,
    .generations-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card,
    .generation-card {
        padding: 1.5rem;
    }
    
    .step-icon,
    .generation-icon {
        width: 48px;
        height: 48px;
    }
    
    .step-icon i,
    .generation-icon i {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .step-card, .generation-card, .testimonial-card {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes titleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Stats */
.hero-stats {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

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

.stat-item i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #9f7aea, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.stat-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.stat-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.stat-feature i {
    font-size: 1rem;
    color: #ffd700;
}

@media (max-width: 768px) {
    .hero-stats {
        margin-top: 3rem;
        padding: 1.5rem;
    }

    .stat-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-features {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}
