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

:root {
    --primary: #FF3E8A;
    --secondary: #262EE0;
    --background: #f8f9ff;
    --text: #333;
    --light-bg: rgba(38, 46, 224, 0.1);
    --gradient: linear-gradient(135deg, #FF3E8A 0%, #262EE0 100%);
    --shadow: 0 4px 20px rgba(38, 46, 224, 0.15);
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

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

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.primary-btn:hover {
    background: #e63b7e;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.secondary-btn:hover {
    background: #2228c0;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.outline-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

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

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Header and Navigation */
.site-header {
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.site-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.site-logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    position: relative;
}

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

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

.cta-button {
    margin-left: 32px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background: var(--gradient);
    background-size: cover;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="5" fill="rgba(255,255,255,0.1)" /></svg>');
    opacity: 0.3;
}

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

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

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

.hero-illustration {
    flex: 1;
    max-width: 500px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: white;
}

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

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(38, 46, 224, 0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary);
    font-weight: 700;
}

.feature-card p {
    color: #666;
    font-size: 16px;
}

/* Styles Section */
.styles-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

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

.style-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.style-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(38, 46, 224, 0.2);
}

.style-preview {
    height: 200px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.style-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.style-card p {
    padding: 0 20px 20px;
    color: #666;
    font-size: 16px;
}

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

/* Generator Section */
.generator-section {
    padding: 100px 0;
    background-color: white;
}

.generator-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.generator-options {
    flex: 1;
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.generator-options h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--secondary);
    font-weight: 700;
}

.option-group {
    margin-bottom: 25px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

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

.option-btn {
    padding: 8px 16px;
    border-radius: var(--radius);
    border: 1px solid #ddd;
    background: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-btn:hover {
    border-color: var(--primary);
}

.option-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.generator-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: var(--light-bg);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.preview-text {
    margin-top: 15px;
    color: var(--secondary);
    font-weight: 500;
}

.generator-cta {
    margin-top: 30px;
}

.generator-cta .note {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

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

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

.accordion-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    border: none;
    background: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    color: var(--secondary);
}

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

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 300px;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content p {
    color: #666;
}

/* Footer */
.site-footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.footer-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-disclaimer {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.footer-disclaimer p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-bottom p {
    opacity: 0.7;
}

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

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

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .generator-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 30px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-nav ul {
        flex-wrap: wrap;
        gap: 15px 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid, 
    .styles-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}
