/* 
* nudifyerMY.site - Malaysian AI Clothes Remover Website
* Main stylesheet - Unique Malaysian-inspired design
*/

/* Base styles and variables */
:root {
    --primary: #00B4D8;
    --primary-dark: #0077B6;
    --primary-light: #90E0EF;
    --accent: #48CAE4;
    --accent-light: #ADE8F4;
    --dark: #121212;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #E5E7EB;
    --white: #FFFFFF;
    --bg-light: #F8F8FF;
    --font-main: 'Roboto', 'Arial', sans-serif;
    --font-headings: 'Poppins', 'Arial', sans-serif;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    margin-bottom: 0.5em;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

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

/* Header and Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

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

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-dark);
}

.tld {
    color: var(--primary);
    font-weight: normal;
}

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

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

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    color: var(--gray-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

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

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

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

.bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero section */
.hero-section {
    padding: 5rem 0 8rem;
    position: relative;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-light) 100%);
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray);
    max-width: 90%;
}

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

.cta-button {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.primary-button {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 123, 182, 0.3);
}

.primary-button:hover {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(0, 123, 182, 0.4);
    color: var(--white);
    transform: translateY(-2px);
}

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

.secondary-button:hover {
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--primary-dark);
}

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

.ai-visual {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 10px 15px rgba(0, 123, 182, 0.2));
}

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

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

.inverted {
    top: -1px;
    bottom: auto;
    transform: rotate(180deg);
}

/* Scanning animation */
@keyframes scan {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 20;
    }
}

.scan-line {
    animation: scan 1.5s infinite linear;
}

.scan-line.horizontal {
    animation-delay: -0.75s;
}

/* Features section */
.features-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-heading {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.section-subheading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--gray);
}

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

.feature-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

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

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

/* How it works section */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    color: var(--white);
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-connector {
    height: 30px;
    margin-left: 20px;
}

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

.about-section .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    margin-top: 1.5rem;
}

.highlight-box {
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    background-color: rgba(144, 224, 239, 0.1);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.highlight-box h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.highlight-box ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.highlight-box ul li {
    position: relative;
    padding-left: 1.5rem;
}

.highlight-box ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.about-graphic {
    display: flex;
    justify-content: center;
}

.about-visual {
    max-width: 300px;
    filter: drop-shadow(0 8px 16px rgba(0, 123, 182, 0.15));
}

/* CTA Banner */
.cta-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .cta-button {
    background: var(--white);
    color: var(--primary-dark);
    font-weight: bold;
}

.cta-banner .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

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

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

.footer-brand p {
    color: var(--gray-light);
    margin-top: 1rem;
}

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

.footer-logo-image {
    width: 40px;
    height: 40px;
}

.footer-brand-name {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-nav h3, 
.footer-features h3, 
.footer-legal h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-nav ul, 
.footer-features ul, 
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--gray-light);
}

.footer-nav a:hover {
    color: var(--primary-light);
}

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

.disclaimer {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.875rem;
}

/* Media queries */
@media (max-width: 992px) {
    .hero-section .container,
    .about-section .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-graphic {
        order: 0;
        margin-bottom: 2rem;
    }
    
    .about-graphic {
        margin-top: 2rem;
    }
    
    .highlight-box ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 101;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .steps-container {
        align-items: center;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-connector {
        display: none;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
