/*
Theme Name: MATON Premium Matcha
Theme URI: https://maton.com
Author: Senior Web Architect
Author URI: https://maton.com
Description: A premium, conversion-optimized Matcha landing page theme built with high-end aesthetic aesthetics and modern CSS features.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maton-theme
*/

/* 
   MATON MATCH - Design System & Base Variables
*/

:root {
    /* Color Palette */
    --color-bg-dark: #0B1A12;
    /* Deep Forest Green */
    --color-bg-dark-alt: #0F2A1C;
    /* Slightly lighter deep green for depth */
    --color-bg-light: #F4F1E8;
    /* Warm Cream / Off-White */
    --color-bg-white: #FFFFFF;
    /* Pure white for cards */

    --color-accent: #B9FF3D;
    /* Neon/Matcha Lime */
    --color-accent-hover: #D0FF70;
    /* Lighter lime for hover */

    --color-text-dark: #1A1A1A;
    /* Near-black for light backgrounds */
    --color-text-muted: #666666;
    /* Secondary text on light bg */
    --color-text-light: #FFFFFF;
    /* White text for dark backgrounds */
    --color-text-light-muted: #D1D1D1;
    /* Muted white on dark bg */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1300px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-pill: 100px;

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Theme Classes */
.theme-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.theme-light {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(185, 255, 61, 0.2);
}

/* Animations (To be hooked up by JS) */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.pt-serif {
    font-family: var(--font-heading);
}

.mt-2 {
    margin-top: 1rem;
}

/* --------------------------------------
   Header
   -------------------------------------- */
.site-header {
    padding: 24px 0;
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.header-logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.header-nav ul {
    display: flex;
    gap: 40px;
}

.header-nav a {
    opacity: 0.8;
}

.header-nav a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.header-utilities {
    display: flex;
    gap: 32px;
}

.header-utilities a {
    opacity: 0.8;
}

.header-utilities a:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* --------------------------------------
   Hero Section
   -------------------------------------- */
.hero {
    position: relative;
    padding: 2rem 0 8rem 0;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 2.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* Common Text Micro-styles */
.hero-subtext {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: var(--color-text-light-muted);
}

.hero-desc-small {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 24px;
}

/* Hero Left */
.hero-left {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.hero-thumbnails {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.thumb-block {
    width: 60px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.japanese-vertical {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 0.85rem;
    letter-spacing: 8px;
    opacity: 0.5;
    position: absolute;
    bottom: -50px;
    left: 0;
}

/* Hero Center */
.hero-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1;
    margin-bottom: 2rem;
    /* Optical trick to pull the image tight */
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1;
    border-radius: 50%;
    margin: 0 auto;
    /* Temporary styling for missing image */
    background: radial-gradient(circle, var(--color-bg-dark-alt) 0%, var(--color-bg-dark) 80%);
    box-shadow: 0 0 100px rgba(185, 255, 61, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: scale(1.1);
}

/* Hero Right */
.hero-right {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.hero-weight {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--color-accent);
}

/* --------------------------------------
   Starter Kit Section
   -------------------------------------- */
.starter-kit {
    position: relative;
    background-color: var(--color-bg-light);
}

.starter-strip {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.starter-image-area {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.starter-mock-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #EBE6D8 0%, #DFD7C4 100%);
}

.price-anchor {
    position: absolute;
    bottom: -30px;
    right: 40px;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    box-shadow: var(--shadow-dark);
    z-index: 10;
}

.price-anchor .currency {
    font-size: 1.5rem;
    position: relative;
    top: -15px;
    margin-right: 2px;
}

/* Hotspots */
.hotspot {
    position: absolute;
    z-index: 5;
}

.hotspot-1 {
    top: 30%;
    left: 20%;
}

.hotspot-2 {
    top: 60%;
    left: 50%;
}

.hotspot-3 {
    top: 40%;
    left: 75%;
}

.dot {
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 4px solid var(--color-bg-white);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.dot:hover {
    transform: scale(1.2);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(185, 255, 61, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(185, 255, 61, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(185, 255, 61, 0);
    }
}

.hotspot-card {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-white);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: max-content;
    max-width: 200px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.hotspot:hover .hotspot-card {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.hotspot-card h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.hotspot-card p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --------------------------------------
   Benefits Section
   -------------------------------------- */
.benefits {
    background-color: var(--color-bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 90%;
}

.benefits-visuals {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.benefit-tile {
    width: 240px;
    position: relative;
}

.benefit-tile.tile-offset {
    margin-top: 60px;
}

.benefit-mock-img {
    width: 100%;
    aspect-ratio: 3/4;
    background: #EBE6D8;
    border-radius: var(--radius-lg);
}

.benefit-label {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-white);
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 4rem;
}

.feature-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-bg-white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

/* pseudo icon */
.feature-icon::after {
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.8;
}

.feature-col h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-col p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* --------------------------------------
   Products Grid Section
   -------------------------------------- */
.products-grid {
    background-color: var(--color-bg-light);
}

.grid-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Mini Cards */
.grid-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mini-card {
    display: flex;
    align-items: center;
    background: var(--color-bg-white);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mini-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mock-img-small {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    background: #DFD7C4;
}

.mini-card-info h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.mini-card-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.price {
    font-weight: 600;
    color: var(--color-accent);
    /* For light themes, adjusting accent color to stand out, or using dark */
    color: var(--color-bg-dark);
}

/* Featured Card */
.featured-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mock-img-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: #EBE6D8;
    margin-bottom: 2rem;
}

.featured-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.featured-info p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.large-price {
    font-family: var(--font-heading);
    font-size: 2rem;
}

/* Bottom Row */
.grid-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.utility-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.utility-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mock-img-square {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    background: #DFD7C4;
    margin-bottom: 1.5rem;
}

.utility-info h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.utility-info p {
    font-weight: 600;
    color: var(--color-text-muted);
}

/* --------------------------------------
   Essentials Section
   -------------------------------------- */
.essentials {
    background-color: var(--color-bg-white);
}

.essentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.essential-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--color-bg-light);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.essential-card:hover {
    transform: translateY(-8px);
}

.mock-img-large {
    width: 100%;
    aspect-ratio: 4/3;
    background: #DFD7C4;
}

.essential-meta {
    padding: 2rem;
}

.essential-meta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.essential-meta p {
    color: var(--color-text-muted);
}

.essential-price {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--color-bg-white);
    color: var(--color-bg-dark);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* --------------------------------------
   Footer
   -------------------------------------- */
.site-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding-bottom: 2rem;
}

.footer-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 6rem;
}

.massive-offer {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.mock-img-footer {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    /* Placeholder for pouring milk photo */
}

.footer-nav {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-contact {
    color: var(--color-text-light-muted);
    line-height: 1.8;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: var(--color-text-light-muted);
}

.footer-col ul a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    color: var(--color-text-light-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {

    .hero-container,
    .benefits-grid,
    .grid-top,
    .footer-cta {
        grid-template-columns: 1fr;
    }

    .hero-center {
        order: -1;
    }

    .grid-bottom {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .essentials-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }
}