/*
* aiclothesremoverTH.love - Main Styles
* Created: 2025-08-27
*/

:root {
    /* Primary Colors */
    --primary: #00BCD4;       /* Teal */
    --secondary: #4CAF50;     /* Green */
    --accent: #FF5722;        /* Orange */
    
    /* Neutral Colors */
    --dark: #263238;          /* Dark Blue Gray */
    --medium: #607D8B;        /* Blue Gray */
    --light: #f8f9fa;         /* Off White */
    --white: #ffffff;
    
    /* Typography */
    --font-body: 'Kanit', 'Sarabun', sans-serif;
    --font-heading: 'Prompt', 'Kanit', sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Sizing */
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-wrapper {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

p {
    margin-bottom: 1.5rem;
}

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

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--medium);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 0;
    height: var(--header-height);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 30px;
}

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

.logo-icon {
    margin-right: 12px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
    font-weight: 400;
}

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

.main-nav ul li {
    margin-left: 1.5rem;
}

.main-nav ul li a {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

.main-nav ul li a.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.main-nav ul li a.cta-button:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.main-nav ul li a.cta-button::after {
    display: none;
}

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

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Diagonal Separator */
.diagonal-separator {
    height: 60px;
    width: 100%;
    position: absolute;
    bottom: -60px;
    left: 0;
    z-index: 1;
}

.diagonal-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
}

.diagonal-separator.bottom {
    top: -60px;
    transform: rotate(180deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 6rem;
    overflow: hidden;
}

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

.hexagon-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
}

.hero-content {
    max-width: 580px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-title span {
    color: var(--primary);
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-visual {
    max-width: 500px;
    width: 40%;
}

.feature-graphic {
    width: 100%;
    height: auto;
}

.ai-effect {
    animation: scanning 3s infinite linear;
}

@keyframes scanning {
    0% {
        opacity: 0.3;
        transform: translateY(-20px);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.3;
        transform: translateY(20px);
    }
}

/* Buttons */
.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.primary-button, .secondary-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.primary-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

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

.primary-button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 188, 212, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 188, 212, 0);
    }
}

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

.secondary-button:hover {
    background-color: var(--primary);
    color: white;
}

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

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

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
    perspective: 1000px;
    transition: var(--transition);
}

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

.card-front {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 200px;
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Wave Separator */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

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

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 4rem 0;
    position: relative;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.step-connector {
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    flex: 1;
    margin: 30px 15px 0;
    opacity: 0.5;
}

.action-container {
    text-align: center;
    margin-top: 3rem;
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--medium);
    margin-top: 1rem;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-right: 1.5rem;
}

.info-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-graphic {
    width: 100%;
    max-width: 400px;
}

/* CTA Banner */
.cta-banner {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    z-index: 1;
}

.cta-banner h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.main-footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 5rem 0 2rem;
}

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

.footer-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-brand span {
    color: var(--secondary);
    font-weight: 400;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h3,
.footer-services h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-services h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--light);
    transition: var(--transition);
}

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

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

.copyright {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.disclaimer-text {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 400px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-item {
        margin-bottom: 3rem;
    }
    
    .step-connector {
        width: 3px;
        height: 40px;
        margin: 0 auto 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: rgba(255, 255, 255, 0.95);
        overflow: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        z-index: 999;
    }
    
    .main-nav.active {
        height: auto;
        padding: 2rem 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav ul li {
        margin: 0.8rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .cta-banner h2 {
        font-size: 2rem;
    }
}
