/* =========================================
   MMAI Technology - Premium Minimalist White
   ========================================= */

:root {
    /* Color Palette */
    --clr-bg: #ffffff;
    --clr-bg-light: #f9fafb;
    --clr-primary: #000000;
    --clr-accent: #3b82f6;
    /* Subtle accent color for links/buttons if needed, but mostly keeping monochrome */

    /* Text Colors */
    --clr-text-main: #111827;
    --clr-text-muted: #4b5563;

    /* Borders & Shadows */
    --border-light: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.justify-center {
    display: flex;
    justify-content: center;
}

.inline-block {
    display: inline-block;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-6 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.max-w-md {
    max-width: 600px;
}

.max-w-lg {
    max-width: 800px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--clr-text-main);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--clr-text-muted);
}

a {
    color: var(--clr-text-main);
    text-decoration: none;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    /* Sharp, clean edges */
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--clr-text-main);
    color: var(--clr-bg);
}

.btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-light);
    color: var(--clr-text-main);
}

.btn-outline:hover {
    border-color: var(--clr-text-main);
    background: var(--clr-bg-light);
}

.btn-secondary {
    background: var(--clr-bg-light);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    background: #e5e7eb;
}

/* Badges */
.section-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--clr-bg);
    border: 1px solid var(--border-light);
    color: var(--clr-text-muted);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.product-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--clr-bg-light);
    border: 1px solid var(--border-light);
    color: var(--clr-text-main);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Card Styles */
.clean-card {
    background: var(--clr-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 4rem 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.clean-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.clean-card-sub {
    background: var(--clr-bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-sm);
}

.divider {
    height: 1px;
    width: 40px;
    background: var(--border-light);
    margin: 1.5rem 0;
}

/* Scroll Fade In */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Sections Global Padding */
section {
    padding: 8rem 0;
}

.section-light {
    background-color: var(--clr-bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: var(--clr-bg);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    padding: 1rem 0;
    border-bottom-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--clr-text-main);
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}

.nav-link:hover {
    color: var(--clr-text-main);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-text-main);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--clr-text-main);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
    left: 0;
}

.hamburger::after {
    bottom: -8px;
    left: 0;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

/* Subtle White Animated Background */
.animated-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, rgba(255, 255, 255, 0) 50%);
    animation: slowPulse 15s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes slowPulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1) translate(5%, 5%);
        opacity: 0.8;
    }

    100% {
        transform: scale(1) translate(-5%, -5%);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -2px;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 3rem;
    color: var(--clr-text-muted);
}

.hero-actions {
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Vision */
.vision-card {
    max-width: 800px;
}

.vision-text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--clr-text-main);
    font-weight: 300;
}

/* Products */
.product-featured {
    max-width: 800px;
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.product-upcoming {
    max-width: 800px;
}

.upcoming-title {
    font-size: 1.5rem;
    font-weight: 500;
}

.notify-form {
    display: flex;
    max-width: 450px;
    gap: 0.5rem;
}

.notify-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    background: var(--clr-bg);
    color: var(--clr-text-main);
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
}

.notify-form input:focus {
    border-color: var(--clr-text-main);
}

/* Solutions */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.solution-card {
    padding: 3rem 2rem;
    text-align: left;
}

.solution-title {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.solution-desc {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Footer */
.footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border-light);
}

.footer-cta {
    margin-bottom: 5rem;
}

.footer-title {
    font-size: 2rem;
}

.footer-content {
    border-top: 1px solid var(--border-light);
    padding-top: 4rem;
    margin-bottom: 2rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.item-label {
    font-weight: 600;
    color: var(--clr-text-main);
}

.contact-item a {
    color: var(--clr-text-muted);
}

.contact-item a:hover {
    color: var(--clr-text-main);
}

.footer-bottom {
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    padding-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .vision-text {
        font-size: 1.2rem;
    }

    .product-featured,
    .product-upcoming {
        padding: 2rem 1.5rem;
    }

    .notify-form {
        flex-direction: column;
    }

    /* Mobile Nav */
    .mobile-toggle {
        display: block;
        z-index: 101;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--clr-bg);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 100;
    }

    .nav.nav-open {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .mobile-toggle.is-active .hamburger {
        background: transparent;
    }

    .mobile-toggle.is-active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .mobile-toggle.is-active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
}