/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');

/* Google Sans Font Face integration */
@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Google Sans Regular'), local('GoogleSans-Regular');
}

@font-face {
    font-family: 'Google Sans';
    font-style: normal;
    font-weight: 700;
    src: local('Google Sans Bold'), local('GoogleSans-Bold');
}

:root {
    /* Brand Palette */
    --color-green: #0CA47E;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray-dark: #1d1d1f; /* Apple dark gray */
    --color-gray-light: #f5f5f7; /* Apple light gray */
    --color-border: #d2d2d7; /* Apple border gray */
    
    /* Typography */
    --font-family: 'Google Sans', 'Plus Jakarta Sans', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-white);
    color: var(--color-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
    opacity: 0;
    animation: slideDown 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-image:hover {
    transform: scale(1.02);
}

.contact-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 8px 16px;
    border-radius: 20px;
    background-color: transparent;
}

.contact-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    color: var(--color-green);
    background-color: var(--color-gray-light);
}

/* Hero Section */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
}

/* Subtle background accent glow (Apple style) */
main::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(12, 164, 126, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-gray-light);
    color: var(--color-green);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(12, 164, 126, 0.15);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards;
}

h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #1d1d1f 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s forwards;
}

.subtitle {
    font-size: 20px;
    color: #6e6e73; /* Apple secondary text */
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s forwards;
}

/* Coming Soon Highlight Card (Transparent and Borderless Wrapper) */
.coming-soon-card {
    width: 100%;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0 24px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards;
}

.coming-soon-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1d1d1f 0%, var(--color-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.coming-soon-desc {
    font-size: 15px;
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Minimalist Contact Section inside Card */
.card-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 320px;
    margin: 0 auto;
}

.card-contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background-color: var(--color-gray-light);
    border-radius: 16px;
    text-decoration: none;
    color: var(--color-black);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.card-contact-item .label {
    color: #86868b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-contact-item .value {
    color: var(--color-black);
    transition: var(--transition-smooth);
}

.card-contact-item:hover {
    background-color: rgba(12, 164, 126, 0.08);
}

.card-contact-item:hover .value {
    color: var(--color-green);
}

/* Footer */
footer {
    width: 100%;
    padding: 32px 24px;
    text-align: center;
    border-top: 1px solid var(--color-gray-light);
    font-size: 12px;
    color: #86868b;
    opacity: 0;
    animation: fadeInOnly 1s ease 0.8s forwards;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .contact-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    h1 {
        font-size: 44px;
        letter-spacing: -1px;
    }
    
    .subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .coming-soon-card {
        padding: 0 16px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .contact-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .coming-soon-title {
        font-size: 20px;
    }
}

/* ==========================================
   Min-G's Premium Aesthetics & Animations
   ========================================== */

/* Illustration wrapper & image floating animation */
.illustration-wrapper {
    width: 100%;
    max-width: 680px;
    margin: 0 auto 32px auto;
    border: none;
    box-shadow: none;
    background-color: transparent;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.main-illustration {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: floatIllustration 6s ease-in-out infinite alternate;
}

.coming-soon-card:hover .illustration-wrapper {
    transform: translateY(-4px) scale(1.02);
}

/* Background glows */
.bg-glow {
    position: fixed;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
}

.bg-glow-1 {
    top: -150px;
    left: -150px;
    background: radial-gradient(circle, rgba(12, 164, 126, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    animation: floatGlow1 20s ease-in-out infinite alternate;
}

.bg-glow-2 {
    bottom: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(12, 164, 126, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    animation: floatGlow2 25s ease-in-out infinite alternate-reverse;
}

/* Keyframes */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInOnly {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes floatIllustration {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-8px) scale(1.02);
    }
}

@keyframes floatGlow1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(120px, 60px) scale(1.1);
    }
}

@keyframes floatGlow2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-120px, -60px) scale(1.15);
    }
}
