/* 
   Main CSS for aipmvporn.site
   Modern, sleek design with teal/dark color scheme
*/

:root {
    --primary: #2EC4B6;
    --secondary: #FF9F1C;
    --dark: #011627;
    --light: #FDFFFC;
    --accent: #E71D36;
    --gradient: linear-gradient(135deg, #011627 0%, #063852 100%);
    --card-shadow: 0 8px 30px rgba(1, 22, 39, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* Navigation */
.main-nav {
    background-color: rgba(1, 22, 39, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    z-index: 1001;
}

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

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

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

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

.nav-links li a:hover {
    color: var(--primary);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--light);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: var(--gradient);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(1, 22, 39, 0.7) 0%, rgba(1, 22, 39, 0.4) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232EC4B6' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--light);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: var(--light);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-wrapper {
    display: flex;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(46, 196, 182, 0.4);
}

.cta-button:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 159, 28, 0.5);
    color: var(--dark);
}

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

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(46, 196, 182, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(46, 196, 182, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(46, 196, 182, 0.4);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    color: var(--dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.section-title.light {
    color: var(--light);
}

/* Technology Section */
.technology {
    background-color: var(--light);
    position: relative;
}

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

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

.tech-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(1, 22, 39, 0.2);
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.tech-card p {
    color: #666;
    font-size: 1rem;
}

/* Features Section */
.features {
    background-color: #f8f9fa;
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    position: relative;
    padding: 2rem;
    transition: var(--transition);
}

.feature-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(46, 196, 182, 0.1);
    position: absolute;
    top: -15px;
    left: 10px;
    z-index: 0;
}

.feature-item h3 {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--dark);
}

.feature-item p {
    position: relative;
    z-index: 1;
    color: #666;
}

.feature-item:hover {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

/* Advantages Section */
.advantages {
    background: var(--gradient);
    color: var(--light);
}

.advantages .section-title::after {
    background-color: var(--secondary);
}

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

.advantage-box {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-box h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.advantage-box p {
    color: rgba(255, 255, 255, 0.8);
}

.advantage-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--primary);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.cta-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
}

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

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 2rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background-color: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .tech-grid,
    .features-wrapper,
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-brand {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
}
