/* ========================================
   Jun88 Theme Styles
   ======================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Navigation */
.nav-desktop .primary-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-desktop .primary-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-desktop .primary-menu a:hover {
    opacity: 0.8;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-login:hover {
    background: #fff;
    color: #1a237e;
}

.btn-register {
    background: #ffd700;
    color: #1a237e;
}

.btn-register:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 35, 126, 0.3);
}

.btn-secondary {
    background: #fff;
    color: #1a237e;
    border: 2px solid #1a237e;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: #1a237e;
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a237e;
    padding: 20px;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile .mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-mobile .mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

.mobile-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 60px 0;
}

.intro-section,
.features-section,
.content-section,
.cta-section,
.faq-section {
    background: #fff;
}

section:nth-child(even) {
    background: #f8f9fa;
}

/* Typography */
h2 {
    font-size: 2rem;
    color: #1a237e;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    color: #283593;
    margin: 30px 0 15px;
}

h4 {
    font-size: 1.2rem;
    color: #3949ab;
    margin: 20px 0 10px;
}

p {
    margin-bottom: 15px;
    color: #555;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-card h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

/* Lists */
.steps-list,
.promo-list,
.guide-list,
.contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.step-item,
.promo-item,
.guide-item,
.contact-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #1a237e;
}

/* FAQ */
.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.faq-item h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8eaf6 100%);
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
}

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

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

.footer-content h3 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-content p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #ffd700;
}

.footer-seo-text {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    margin-bottom: 30px;
}

.footer-seo-text p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Page Content */
.page-content {
    background: #fff;
    padding: 60px 0;
}

.page-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.page-content h3 {
    margin-top: 30px;
}

/* Images */
.hero-image,
.intro-image,
.content-image,
.cta-image,
.faq-image,
.page-hero-image,
.feature-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.hero-image img,
.intro-image img,
.content-image img,
.cta-image img,
.faq-image img,
.page-hero-image img,
.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.hero-image:hover img,
.intro-image:hover img,
.content-image:hover img,
.cta-image:hover img,
.faq-image:hover img,
.page-hero-image:hover img,
.feature-image:hover img {
    transform: scale(1.02);
}

.hero-image {
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-hero-image {
    max-width: 600px;
    margin: 0 auto 30px;
}

.feature-image {
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .page-hero {
        padding: 50px 0;
    }
    
    .page-hero h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .features-grid,
    .steps-list,
    .promo-list,
    .guide-list,
    .contact-list {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .feature-card,
    .step-item,
    .promo-item,
    .guide-item,
    .contact-item,
    .faq-item {
        padding: 20px;
    }
}
