/* ========================================
   KissMap — Shared Styles
   ======================================== */

/* --- CSS Variables --- */
:root {
    --kiss-pink: #E63366;
    --kiss-pink-dark: #C42B56;
    --kiss-pink-light: #f06292;
    --bg-light: #fdf2f4;
    --bg-dark: #0D0D12;
    --bg-dark-lighter: #16161f;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-bg-light: rgba(255, 255, 255, 0.6);
    --glass-border-light: rgba(255, 255, 255, 0.8);
    --text-light: #f0f0f0;
    --text-muted: #999;
    --text-dark: #222;
    --text-body: #555;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* --- Utility --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-light {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section-gradient {
    background: linear-gradient(135deg, var(--kiss-pink), var(--kiss-pink-light));
    color: #fff;
}

section {
    padding: 100px 0;
    position: relative;
}

/* --- Typography --- */
.heading-xl {
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.heading-lg {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.heading-md {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1.3;
}

.text-gradient {
    background: linear-gradient(135deg, var(--kiss-pink), var(--kiss-pink-light), #ff8fab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--text-muted);
}

.section-light .text-muted {
    color: #777;
}

.text-center { text-align: center; }

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--glass-border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.nav-brand span {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--kiss-pink);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(230, 51, 102, 0.3);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(230, 51, 102, 0.4);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 13, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.nav-overlay.active {
    display: flex;
}

.nav-overlay a {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
}

.nav-overlay a:hover {
    color: var(--kiss-pink);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--kiss-pink);
    color: #fff;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(230, 51, 102, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 51, 102, 0.5);
}

.btn-primary svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--kiss-pink);
    padding: 16px 36px;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-white svg {
    width: 22px;
    height: 22px;
    fill: var(--kiss-pink);
}

/* --- Glassmorphism Cards --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.section-light .glass-card {
    background: var(--glass-bg-light);
    border-color: var(--glass-border-light);
    box-shadow: 0 4px 24px rgba(230, 51, 102, 0.06);
}

.section-light .glass-card:hover {
    box-shadow: 0 20px 40px rgba(230, 51, 102, 0.1);
}

/* --- Marquee --- */
.marquee-section {
    overflow: hidden;
    padding: 20px 0;
    background: linear-gradient(135deg, var(--kiss-pink), var(--kiss-pink-light));
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
    flex-shrink: 0;
}

.marquee-content span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.marquee-content .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--kiss-pink), var(--kiss-pink-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.section-light .feature-card h3 {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-light .feature-card p {
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.6;
}

/* --- Steps --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kiss-pink), var(--kiss-pink-light));
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(230, 51, 102, 0.3);
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* --- Shop Preview --- */
.shop-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-light .product-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(230, 51, 102, 0.12);
}

.product-card-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-light), #ffe0e8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: 20px;
}

.product-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.section-light .product-card-body h3 {
    color: var(--text-dark);
}

.product-card-body .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--kiss-pink);
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--glass-border);
    padding: 48px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-brand span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-links-group {
    display: flex;
    gap: 48px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--kiss-pink);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Floating elements --- */
.floating {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
}

.floating svg {
    width: 100%;
    height: 100%;
}

/* --- Page content (privacy, support) --- */
.page-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.page-content h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 8px;
}

.page-content .page-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.page-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--kiss-pink);
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-content .card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.page-content .card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.page-content .card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.page-content .card a {
    color: var(--kiss-pink);
    transition: opacity 0.2s;
}

.page-content .card a:hover {
    opacity: 0.8;
}

.page-content .card strong {
    color: rgba(255, 255, 255, 0.85);
}

.page-content .divider {
    border: none;
    border-top: 1px solid var(--glass-border);
    margin: 40px 0;
}

.page-content .warning {
    color: var(--kiss-pink);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .shop-preview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links-group {
        gap: 32px;
    }

    section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .heading-xl {
        font-size: 36px;
    }

    .btn-primary, .btn-white {
        padding: 14px 28px;
        font-size: 16px;
    }

    .footer-links-group {
        flex-direction: column;
        gap: 24px;
    }
}
