/* 
   Main Stylesheet for bestaipornsite.site
   Theme: Green/Teal Modern Design
*/

/* Variables */
:root {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #81C784;
    --secondary: #009688;
    --secondary-dark: #00796B;
    --accent: #FF5722;
    --dark: #263238;
    --gray-dark: #455A64;
    --gray: #607D8B;
    --gray-light: #B0BEC5;
    --light: #ECEFF1;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
}

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

h1 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3.6rem;
    margin-bottom: 3rem;
}

h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 2rem;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.4rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 0.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: transparent;
    color: var(--dark);
    padding: 1.2rem 2.8rem;
    border-radius: 5rem;
    font-weight: 700;
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
    color: var(--white);
}

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

.btn-secondary:hover {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-dark);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 1rem 2.4rem;
    font-size: 1.4rem;
}

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

.btn-large {
    padding: 1.6rem 3.6rem;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 4rem;
    height: 4rem;
}

.logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary);
}

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

#menu {
    display: flex;
    gap: 3rem;
}

#menu li a {
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 1.6rem;
    position: relative;
}

#menu li a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 0.2rem;
    background: var(--primary);
    transition: var(--transition);
}

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

#menu li a:hover::after {
    width: 100%;
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

#menu-toggle span {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    margin: 0.5rem 0;
    background-color: var(--primary);
    border-radius: 0.3rem;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(236, 239, 241, 0.8) 0%, rgba(207, 216, 220, 0.8) 100%);
    padding: 18rem 0 10rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%234CAF50' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
    z-index: -1;
}

.subtitle {
    font-size: 2rem;
    margin-bottom: 4rem;
    color: var(--gray);
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 5rem;
}

.hero-visual {
    max-width: 80rem;
    margin: 0 auto;
}

/* Top Generators Section */
.top-generators {
    background-color: var(--white);
    padding: 10rem 0;
}

.generator-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.card {
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    padding: 3rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light);
}

.card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    margin-bottom: 2rem;
}

.card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card p {
    margin-bottom: 2rem;
    color: var(--gray);
}

.rating {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.rating span.empty {
    color: var(--gray-light);
}

.rating-score {
    color: var(--gray);
    margin-left: 1rem;
    font-size: 1.6rem;
}

/* Comparison Section */
.comparison {
    background-color: var(--light);
    padding: 10rem 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
}

.comparison-item {
    text-align: center;
}

.comparison-icon {
    margin-bottom: 2rem;
}

.comparison-item h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.comparison-item p {
    color: var(--gray);
}

/* Create Section */
.create {
    padding: 10rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.create-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 90rem;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.create-box h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.create-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    margin-bottom: 4rem;
}

.features-list {
    margin: 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 2rem;
    justify-content: center;
    text-align: left;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-mark {
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
}

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

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

.footer-logo {
    text-align: center;
}

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

.footer-logo p {
    color: var(--light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-logo .tagline {
    color: var(--gray-light);
    font-size: 1.4rem;
}

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

.footer-column h4 {
    color: var(--primary-light);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: var(--gray-light);
}

.footer-column ul li a:hover {
    color: var(--primary-light);
}

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

.footer-bottom p {
    color: var(--gray-light);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 1.2rem;
    color: var(--gray);
}

/* Responsive Styles */
@media (max-width: 992px) {
    html {
        font-size: 60%;
    }
    
    .hero {
        padding: 15rem 0 8rem;
    }
    
    .create-box {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    #menu {
        position: fixed;
        top: 7rem;
        left: -100%;
        width: 80%;
        max-width: 30rem;
        height: calc(100vh - 7rem);
        background-color: var(--white);
        flex-direction: column;
        padding: 4rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        z-index: 100;
        gap: 2rem;
    }
    
    #menu.active {
        left: 0;
    }
    
    #menu-toggle {
        display: block;
    }
    
    #menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    #menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    #menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 30rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 4rem;
    }
    
    .footer-links {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .generator-cards {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 3rem;
    }
    
    .create-box {
        padding: 3rem 1.5rem;
    }
}
