/* Base Styles */
:root {
    --primary: #1da1f2;
    --secondary: #9333ea;
    --dark: #2d3748;
    --light: #e2e8f0;
    --background: #f8fafc;
    --card-bg: #ffffff;
    --accent: #f59e0b;
    --gray: #94a3b8;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--dark);
    opacity: 0.85;
}

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

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

section {
    padding: 5rem 0;
    position: relative;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at top right, rgba(147, 51, 234, 0.1), transparent 70%),
                radial-gradient(circle at bottom left, rgba(29, 161, 242, 0.1), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Header Styles */
header {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow);
}

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

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

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

.desktop-nav ul li {
    margin-left: 2rem;
}

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

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.desktop-nav ul li a:hover {
    color: var(--secondary);
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--card-bg);
    overflow: hidden;
    transition: height 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
    z-index: 99;
}

.mobile-nav.active {
    height: auto;
}

.mobile-nav ul {
    list-style: none;
    padding: 1.5rem;
}

.mobile-nav ul li {
    margin-bottom: 1.5rem;
}

.mobile-nav ul li a {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
}

/* Button Styles */
.primary-btn, .secondary-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', 'Arial', sans-serif;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(29, 161, 242, 0.6);
    color: white;
}

.secondary-btn {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--secondary);
    margin-left: 1rem;
}

.secondary-btn:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    width: 50%;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-visual {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    height: auto;
    max-width: 400px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.features {
    background-color: var(--background);
}

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

.feature-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

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

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

.feature-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 0;
}

/* How it Works Section */
.how-it-works {
    background-color: rgba(29, 161, 242, 0.05);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    margin-bottom: 0;
    color: var(--gray);
}

/* FAQ Section */
.faq {
    background-color: var(--background);
}

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

.accordion-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px var(--shadow);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    transition: all 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
    margin: 0;
    color: var(--gray);
}

/* Keywords Section */
.keywords {
    padding: 3rem 0;
    background-color: rgba(147, 51, 234, 0.05);
}

.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.keyword-cloud span {
    background-color: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gray);
    box-shadow: 0 2px 5px var(--shadow);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.link-group h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 0.8rem;
}

.link-group ul li a {
    color: var(--light);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.link-group ul li a:hover {
    color: var(--primary);
    opacity: 1;
}

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

.copyright p {
    color: var(--light);
    opacity: 0.6;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content, .hero-visual {
        width: 100%;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-svg {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .steps {
        padding: 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        width: 100%;
    }
}

@media (max-width: 576px) {
    section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .secondary-btn {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
