/* 
 * Main Stylesheet for aimadeporn.love
 * Optimized for SEO and responsive design
 */

/* === Base Styles === */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #ff416c;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --light-text: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4eaef 100%);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

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

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

section {
    padding: 80px 0;
}

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

h2 span {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* === Header Styles === */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    max-width: 180px;
}

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

.logo-text {
    fill: var(--primary-color);
    font-weight: 700;
    font-size: 24px;
}

.logo-icon {
    fill: var(--accent-color);
}

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

nav ul li {
    margin-left: 25px;
}

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

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 25px;
    background: var(--primary-color);
    margin: 3px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2c3e50 100%);
    color: var(--light-text);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h1 {
    margin-bottom: 30px;
}

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

.hero-content h1 span {
    color: var(--accent-color);
    display: block;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    max-width: 500px;
}

.hero-svg .wave {
    fill: rgba(255, 255, 255, 0.1);
}

.hero-svg .node {
    fill: var(--secondary-color);
}

.hero-svg .connection {
    stroke: var(--accent-color);
    stroke-width: 2;
    fill: none;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: var(--light-text);
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(255, 65, 108, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 65, 108, 0.6);
}

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

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

.feature {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.feature-icon-bg {
    fill: rgba(106, 17, 203, 0.1);
}

.feature-icon-path {
    stroke: var(--primary-color);
    fill: none;
    stroke-width: 3;
}

/* === Benefits Section === */
.benefits {
    background: linear-gradient(135deg, #f6f9fc 0%, #f1f4f8 100%);
}

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

.benefit {
    display: flex;
    margin-bottom: 40px;
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    margin-right: 20px;
    line-height: 1;
}

.benefit-content {
    flex: 1;
}

/* === Experience Section === */
.experience {
    background-color: var(--light-color);
}

.experience-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.step-circle {
    fill: rgba(106, 17, 203, 0.1);
}

.step-number {
    font-size: 36px;
    font-weight: 700;
    fill: var(--primary-color);
}

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

/* === FAQ Section === */
.faq {
    background: linear-gradient(135deg, #f6f9fc 0%, #f1f4f8 100%);
}

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

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    background: #ffffff;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(106, 17, 203, 0.05);
}

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

.toggle-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.toggle-path {
    stroke: var(--primary-color);
    stroke-width: 2;
}

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

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

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

/* === CTA Section === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--light-text);
    margin-bottom: 30px;
}

.cta-section h2 span {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: initial;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

.cta-section .cta-button {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.cta-section .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
}

/* === Footer === */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-logo .logo-svg .logo-text {
    fill: var(--light-text);
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-menu {
    margin-bottom: 30px;
    min-width: 150px;
}

.footer-menu h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

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

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

.footer-menu ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.copyright, .footer-disclaimer {
    margin-bottom: 15px;
}

.copyright p, .footer-disclaimer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* === Responsive Styles === */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 40px;
    }
    
    .benefit {
        flex-direction: column;
    }
    
    .benefit-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile Menu - Hidden by default */
    .mobile-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 999;
    }
    
    .mobile-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-nav ul {
        display: block;
    }
    
    .mobile-nav ul li {
        margin: 15px 0;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* === Animations === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature, .benefit, .step, .faq-item {
    animation: fadeIn 0.6s ease forwards;
}

.feature:nth-child(2), .step:nth-child(2) {
    animation-delay: 0.2s;
}

.feature:nth-child(3), .step:nth-child(3) {
    animation-delay: 0.4s;
}

.feature:nth-child(4), .step:nth-child(4) {
    animation-delay: 0.6s;
}
