/* ===== MEMPHIS STYLE - 80s Postmodern Italian Furniture Aesthetic ===== */

/* === CSS Variables === */
:root {
    --electric-blue: #0047FF;
    --scarlet-red: #FF2400;
    --bright-yellow: #FFD700;
    --mint-green: #98FF98;
    --hot-pink: #FF69B4;
    --black-outline: #1a1a1a;
    --white: #fafaf5;
    --dark-bg: #1a1a2e;
    --font-main: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --border-thick: 3px solid #1a1a1a;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--white);
    color: var(--black-outline);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* === Squiggly Divider === */
.squiggly-divider {
    height: 24px;
    width: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent, transparent 6px,
        var(--black-outline) 6px, var(--black-outline) 8px,
        transparent 8px, transparent 14px,
        var(--black-outline) 14px, var(--black-outline) 16px
    );
    position: relative;
}

.squiggly-divider::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        var(--hot-pink) 0px, var(--hot-pink) 10px,
        var(--bright-yellow) 10px, var(--bright-yellow) 20px,
        var(--electric-blue) 20px, var(--electric-blue) 30px,
        var(--mint-green) 30px, var(--mint-green) 40px,
        var(--scarlet-red) 40px, var(--scarlet-red) 50px
    );
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: var(--border-thick);
    transition: all 0.3s;
}

.navbar.scrolled {
    box-shadow: 4px 4px 0 var(--black-outline);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.logo-shape {
    width: 18px;
    height: 18px;
    border: var(--border-thick);
    display: inline-block;
}

.logo-circle { background: var(--hot-pink); border-radius: 50%; }
.logo-triangle {
    background: var(--bright-yellow);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border: none;
    outline: 3px solid var(--black-outline);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--black-outline);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--hot-pink);
    transition: width 0.3s;
}

.nav-link:hover::after { width: 100%; }

.nav-cta-btn {
    background: var(--scarlet-red);
    color: #fff;
    padding: 10px 22px;
    border: var(--border-thick);
    border-radius: 0;
    font-weight: 800;
    transition: all 0.2s;
}

.nav-cta-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 var(--black-outline);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 4px;
    background: var(--black-outline);
    border-radius: 0;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* === HERO === */
.hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #fff 0%, #f0f4ff 50%, #fff5f5 100%);
    overflow: hidden;
    border-bottom: var(--border-thick);
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.hero-shape {
    position: absolute;
    border: var(--border-thick);
}

.hs-circle {
    width: 120px; height: 120px;
    background: var(--hot-pink);
    border-radius: 50%;
    top: 10%; right: 8%;
    opacity: 0.7;
}

.hs-triangle {
    width: 0; height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid var(--bright-yellow);
    border-top: none;
    bottom: 15%; left: 5%;
    opacity: 0.6;
}

.hs-wave {
    width: 200px; height: 40px;
    background: repeating-radial-gradient(circle at 10px 20px, var(--mint-green) 0, var(--mint-green) 10px, transparent 10px, transparent 20px);
    border: none;
    top: 30%; left: 60%;
}

.hs-dots {
    width: 80px; height: 80px;
    background: radial-gradient(circle, var(--electric-blue) 5px, transparent 5px);
    background-size: 20px 20px;
    border: none;
    bottom: 20%; right: 20%;
}

.hs-zigzag {
    width: 100px; height: 100px;
    background: repeating-linear-gradient(45deg, var(--scarlet-red) 0, var(--scarlet-red) 8px, transparent 8px, transparent 16px);
    border: none;
    top: 5%; left: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content { position: relative; }

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.title-block {
    display: inline-block;
    padding: 6px 18px;
    border: var(--border-thick);
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.title-block-1 { background: var(--electric-blue); color: #fff; align-self: flex-start; }
.title-block-2 { background: var(--scarlet-red); color: #fff; align-self: flex-start; font-size: 1.6rem; }
.title-block-3 { background: var(--bright-yellow); color: var(--black-outline); align-self: flex-start; }

.hero-desc {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 30px;
    max-width: 480px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 800;
    font-size: 1rem;
    border: var(--border-thick);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary { background: var(--scarlet-red); color: #fff; }
.btn-secondary { background: var(--electric-blue); color: #fff; }
.btn-white { background: #fff; color: var(--black-outline); }

.btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 var(--black-outline);
}

.btn-lg { padding: 16px 32px; font-size: 1.1rem; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mint-green);
    padding: 8px 16px;
    border: var(--border-thick);
    font-weight: 700;
    font-size: 0.9rem;
}

.badge-dot {
    width: 10px; height: 10px;
    background: var(--black-outline);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    width: 280px;
    height: 360px;
    border: var(--border-thick);
    background: #fff;
    position: relative;
    box-shadow: 12px 12px 0 rgba(0,0,0,0.15);
    transform: rotate(3deg);
}

.hero-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-geo {
    position: absolute;
    border: var(--border-thick);
}

.geo-1 { width: 100px; height: 100px; background: var(--electric-blue); border-radius: 50%; top: 20px; right: 20px; }
.geo-2 { width: 0; height: 0; border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 70px solid var(--bright-yellow); border-top: none; bottom: 30px; left: 20px; }
.geo-3 { width: 60px; height: 60px; background: var(--hot-pink); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.geo-4 { width: 40px; height: 120px; background: var(--mint-green); right: 40px; bottom: 40px; }

.card-content {
    position: relative;
    z-index: 5;
    text-align: center;
    background: #fff;
    border: var(--border-thick);
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.card-icon { font-size: 2rem; color: var(--scarlet-red); }

.hero-float {
    position: absolute;
    width: 50px; height: 50px;
    border: var(--border-thick);
    background: var(--bright-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.float-1 { top: 10px; left: 30px; border-radius: 50%; background: var(--hot-pink); color: #fff; }
.float-2 { bottom: 40px; right: 0; background: var(--mint-green); }
.float-3 { top: 50%; right: 20px; background: var(--electric-blue); color: #fff; }

/* === SECTION TITLES === */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.title-deco {
    display: inline-block;
    width: 40px;
    height: 6px;
}

.deco-left { background: var(--scarlet-red); }
.deco-right { background: var(--electric-blue); }

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* === FEATURES === */
.features {
    padding: 80px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border: var(--border-thick);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.2s;
    position: relative;
}

.feature-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--black-outline);
}

.feature-icon-wrap {
    width: 70px;
    height: 70px;
    border: var(--border-thick);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.6rem;
}

.icon-pink { background: var(--hot-pink); color: #fff; }
.icon-blue { background: var(--electric-blue); color: #fff; }
.icon-yellow { background: var(--bright-yellow); color: var(--black-outline); }
.icon-green { background: var(--mint-green); color: var(--black-outline); }

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.feature-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === STATS === */
.stats {
    padding: 80px 0;
    background: var(--dark-bg);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-bg { position: absolute; inset: 0; pointer-events: none; }

.stats-dots-pattern {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 2px, transparent 2px);
    background-size: 30px 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    display: inline-block;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-block;
    margin-left: 4px;
    color: var(--bright-yellow);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    margin-top: 8px;
}

/* === TESTIMONIALS === */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff5f5 0%, #f0f4ff 100%);
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    min-height: 200px;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 20px;
}

.testimonial-card.active { display: block; }

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
    background: #fff;
    border: var(--border-thick);
    padding: 30px;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: var(--border-thick);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    color: #fff;
}

.avatar-pink { background: var(--hot-pink); }
.avatar-blue { background: var(--electric-blue); }
.avatar-green { background: var(--mint-green); color: var(--black-outline); }

.author-info { text-align: left; }
.author-info strong { display: block; font-size: 1rem; }
.author-info span { font-size: 0.85rem; color: #777; }

.testimonial-dots {
    text-align: center;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonial-dots .dot {
    width: 14px;
    height: 14px;
    border: var(--border-thick);
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-dots .dot.active {
    background: var(--scarlet-red);
}

/* === FAQ === */
.faq {
    padding: 80px 0;
    background: #fff;
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: var(--border-thick);
    background: #fff;
}

.faq-question {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    user-select: none;
    transition: background 0.2s;
}

.faq-question:hover { background: #f5f5f0; }

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s;
    color: var(--scarlet-red);
}

.faq-item.active .faq-question i { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 18px;
}

.faq-answer p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === CTA === */
.cta {
    padding: 80px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.cta-shape {
    position: absolute;
    border: 3px solid rgba(255,255,255,0.2);
}

.cs-1 { width: 150px; height: 150px; background: var(--hot-pink); border-radius: 50%; top: -40px; right: -30px; opacity: 0.6; }
.cs-2 { width: 0; height: 0; border-left: 80px solid transparent; border-right: 80px solid transparent; border-bottom: 130px solid var(--bright-yellow); border-top: none; bottom: -40px; left: 10%; opacity: 0.5; }
.cs-3 { width: 80px; height: 80px; background: var(--electric-blue); bottom: 20px; right: 15%; opacity: 0.5; }

.cta-card {
    text-align: center;
    background: #fff;
    border: var(--border-thick);
    padding: 50px 30px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 12px 12px 0 var(--scarlet-red);
}

.cta-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--black-outline);
}

.cta-desc {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: #f0f0f0;
    border: var(--border-thick);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--black-outline);
}

.cta-qr span {
    font-weight: 700;
    font-size: 0.9rem;
    color: #666;
}

/* === FOOTER === */
.footer {
    background: var(--white);
    position: relative;
}

.squiggly-top { transform: rotate(180deg); }

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.footer-brand p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--scarlet-red);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
    color: #555;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--scarlet-red); }

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border: var(--border-thick);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
    background: #fff;
}

.footer-social a:hover {
    background: var(--black-outline);
    color: #fff;
}

.footer-bottom {
    border-top: var(--border-thick);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #888;
    font-size: 0.85rem;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-bottom: var(--border-thick);
        transform: translateY(-150%);
        transition: transform 0.3s;
        gap: 16px;
    }

    .nav-menu.active { transform: translateY(0); }

    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .section-title { font-size: 1.5rem; }
    .hero-title .title-block { font-size: 0.85rem; }
    .hero-title .title-block-2 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 80%; justify-content: center; }
    .hero-card { width: 200px; height: 260px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
