/* 
   Main CSS for aipornpmv.love
   Modern dark theme with gradient accents
*/

/* Base Styles & CSS Reset */
:root {
    --dark-blue: #0A1128;
    --navy-blue: #1A2B4A;
    --green: #1ED761;
    --blue: #0B5FFF;
    --purple: #7209B7;
    --text-light: #FFFFFF;
    --text-muted: #B0B0C0;
    --gradient: linear-gradient(90deg, var(--green), var(--blue));
    --gradient-full: linear-gradient(90deg, var(--green), var(--blue), var(--purple));
    --shadow: 0 10px 30px rgba(11, 95, 255, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: var(--gradient-full);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

/* Header & Navigation */
header {
    background-color: rgba(10, 17, 40, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.logo-icon {
    flex-shrink: 0;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-light);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

/* Hero Section */
.hero {
    padding: 5rem 0 7rem;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to bottom, var(--dark-blue), var(--navy-blue));
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: var(--gradient);
    color: var(--dark-blue);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--text-light);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    border-color: var(--green);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    background: var(--gradient);
    color: var(--dark-blue);
    font-weight: 700;
}

.btn-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

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

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom right, var(--navy-blue) 49%, transparent 51%);
    transform: translateY(-99px);
}

.features-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(10, 17, 40, 0.5);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

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

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--dark-blue);
}

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

.process-steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--navy-blue), var(--dark-blue));
    position: relative;
    overflow: hidden;
}

.cta-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(var(--blue), transparent);
    opacity: 0.2;
    top: -150px;
    right: -150px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(var(--green), transparent);
    opacity: 0.1;
    bottom: -200px;
    left: -200px;
}

/* Footer */
footer {
    background-color: var(--navy-blue);
    padding: 4rem 0 1.5rem;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: var(--green);
    margin-bottom: 1.2rem;
}

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

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

.footer-column ul li a {
    color: var(--text-muted);
}

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

.copyright {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--dark-blue);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step-divider {
        transform: rotate(90deg);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        align-items: center;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
}
