/*
   Main Stylesheet for femboyaiporn.site
   Unique purple/blue dark theme with modern layout
*/

:root {
    --primary: #9370DB;
    --secondary: #00BFFF;
    --dark: #111133;
    --darker: #0a0a20;
    --light: #ffffff;
    --gray: #f0f0ff;
    --text-light: #e0e0ff;
    --text-dark: #111133;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--light);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

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

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

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

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

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

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

.accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 32, 0.95);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

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

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

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

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

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

.nav-list a {
    color: var(--light);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
    background-color: var(--darker);
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.05;
    top: -300px;
    right: -200px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0.05;
    bottom: -200px;
    left: -100px;
    z-index: 0;
}

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

.hero-content {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image svg {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(147, 112, 219, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(147, 112, 219, 0.5);
    color: white;
}

.cta-button.large {
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(147, 112, 219, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(147, 112, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(147, 112, 219, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Explore Section */
.explore {
    padding: 6rem 0;
    background-color: var(--dark);
    position: relative;
    overflow: hidden;
}

.explore::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    opacity: 0.03;
    border-radius: 50%;
    top: -150px;
    right: 10%;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.category-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(147, 112, 219, 0.3);
}

.card-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
}

.category-card h3 {
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--darker);
    position: relative;
}

.features::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    opacity: 0.03;
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
}

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

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.04);
}

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

.feature h3 {
    margin-bottom: 1rem;
}

.feature p {
    color: var(--text-light);
    opacity: 0.9;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background-color: var(--dark);
    position: relative;
}

.pricing-box {
    max-width: 500px;
    margin: 3rem auto 0;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.pricing-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 191, 255, 0.3);
}

.price-tag {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.period {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.8;
}

.pricing-box h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    padding-left: 1rem;
}

.price-features li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.price-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Join CTA Section */
.join-cta {
    padding: 7rem 0;
    background-color: var(--darker);
    position: relative;
    overflow: hidden;
}

.join-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%239370DB' fill-opacity='0.05' d='M0,192L48,176C96,160,192,128,288,128C384,128,480,160,576,165.3C672,171,768,149,864,149.3C960,149,1056,171,1152,165.3C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

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

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    background-color: var(--darker);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.footer-logo svg {
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
}

.footer-nav {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: var(--gradient);
}

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

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-light);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--secondary);
    opacity: 1;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--darker);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
        padding: 2rem;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-list li {
        margin: 1.5rem 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-nav {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .pricing-box {
        padding: 2rem 1.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 2rem;
    }
}
