/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7D39B0;
    --secondary: #FFA53B;
    --dark: #302437;
    --light: #FFFFFF;
    --gray: #F4F4F8;
    --text: #333333;
    --gradient: linear-gradient(90deg, var(--primary), var(--secondary));
}

@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Noto Sans'), local('NotoSans'),
         url(https://fonts.gstatic.com/s/notosans/v12/o-0IIpQlx3QUlC5A4PNr5TRA.woff2) format('woff2');
}

@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Noto Sans Bold'), local('NotoSans-Bold'),
         url(https://fonts.gstatic.com/s/notosans/v12/o-0NIpQlx3QUlC5A4PNjXhFVZNyB.woff2) format('woff2');
}

body {
    font-family: 'Noto Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

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

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

h1 {
    font-size: 2.8rem;
    color: var(--light);
    margin-bottom: 20px;
    position: relative;
}

h2 {
    font-size: 2.5rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

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

.highlight {
    color: var(--secondary);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

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

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

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

.logo-svg {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

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

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

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

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

#menu-toggle {
    display: none;
}

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

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #7D39B0 0%, #663399 100%);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

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

.wave-bg svg {
    width: 100%;
    height: 120px;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary);
    color: var(--light);
    box-shadow: 0 4px 20px rgba(255, 165, 59, 0.3);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(125, 57, 176, 0.4);
    color: var(--light);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 165, 59, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 165, 59, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 165, 59, 0.3);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--light);
}

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

.feature-card {
    background-color: var(--gray);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
}

/* How it Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: var(--gray);
    position: relative;
    overflow: hidden;
}

.steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.step-content {
    flex: 1;
}

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

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

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

.faq-item {
    background-color: var(--gray);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 70px 0 30px;
}

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

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

.footer-links h4, .footer-tags h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 165, 59, 0.3);
}

.footer-links ul {
    list-style: none;
}

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

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

.footer-links ul li a:hover {
    color: var(--secondary);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    background-color: rgba(125, 57, 176, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tags span:hover {
    background-color: rgba(255, 165, 59, 0.3);
}

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

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Mobile responsiveness */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-text, .hero-image {
        max-width: 100%;
    }
    
    .features, .how-it-works, .faq {
        padding: 80px 0;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        background-color: var(--light);
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    #menu-toggle:checked ~ .nav-menu {
        left: 0;
    }
    
    #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .features-grid, .step {
        gap: 20px;
    }
    
    .step {
        padding: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
