/* ==========================================
   Longmaoyun (Totoro Cloud) Anime Style
   Zero-framework, Native CSS, Mobile-first
========================================== */

:root {
    /* Anime Color Palette */
    --bg-color: #fdf2f8; /* Very light pink background */
    --bg-anime: #fbcfe8; /* Soft pink for alternating sections */
    --text-main: #374151;
    --text-muted: #6b7280;
    --primary-color: #ec4899; /* Vibrant Pink */
    --primary-hover: #db2777;
    --secondary-color: #e0e7ff; /* Soft Blue */
    --secondary-text: #4f46e5;
    --accent-color: #06b6d4; /* Cyan accent */
    --border-color: #fce7f3;
    
    /* Typography */
    --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing & Layout */
    --container-max: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* UI Elements */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --shadow-sm: 0 4px 6px -1px rgba(236, 72, 153, 0.1), 0 2px 4px -1px rgba(236, 72, 153, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(236, 72, 153, 0.15), 0 4px 6px -2px rgba(236, 72, 153, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(236, 72, 153, 0.2), 0 10px 10px -5px rgba(236, 72, 153, 0.04);
    --shadow-glow: 0 0 20px rgba(236, 72, 153, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Grid background pattern */
    --bg-pattern: radial-gradient(#ec4899 1px, transparent 1px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-color);
    background-image: var(--bg-pattern);
    background-size: 40px 40px;
    background-position: 0 0;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--spacing-lg) 0;
}

.bg-anime {
    background-color: var(--bg-anime);
    border-top: 2px dashed #f9a8d4;
    border-bottom: 2px dashed #f9a8d4;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    text-shadow: 2px 2px 0px #fbcfe8;
}

.section-header p {
    color: var(--text-main);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 600;
}

/* Anime Style Cards */
.anime-style-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 3px solid #f9a8d4;
    border-radius: var(--radius-md);
    box-shadow: 6px 6px 0px #f9a8d4;
    transition: var(--transition);
}

.anime-style-card:hover {
    transform: translateY(-5px) translateX(-2px);
    box-shadow: 10px 10px 0px #f9a8d4;
    border-color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-weight: 800;
    border-radius: 99px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 0 #be185d, 0 15px 20px rgba(236, 72, 153, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(2px);
    box-shadow: 0 4px 0 #be185d, 0 10px 15px rgba(236, 72, 153, 0.4);
}

.btn-primary:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #be185d, 0 5px 10px rgba(236, 72, 153, 0.4);
}

.btn-secondary {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 0 var(--primary-hover);
}

.btn-secondary:hover {
    background-color: var(--bg-anime);
    transform: translateY(2px);
    box-shadow: 0 4px 0 var(--primary-hover);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

.nav-links {
    display: none; /* Mobile hidden */
}

/* Hero Section */
.hero {
    padding: 9rem 0 5rem;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(253,242,248,0.4) 100%);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
    animation: bounce-slight 2s infinite ease-in-out;
}

@keyframes bounce-slight {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.headline {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.highlight {
    color: var(--primary-color);
    font-size: 3.5rem;
    display: inline-block;
    text-shadow: 3px 3px 0px #fbcfe8, -1px -1px 0px #fff;
    transform: rotate(-2deg);
}

.sub-headline {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 600;
    background: rgba(255,255,255,0.7);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 2px dashed #f9a8d4;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.trust-item {
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    border: 2px solid #f9a8d4;
}

/* Dynamic Hero Visuals */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
}

.anime-hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-mascot {
    width: 100%;
    max-width: 350px;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(236, 72, 153, 0.4));
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 3px solid #f9a8d4;
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    box-shadow: 4px 4px 0px #f9a8d4;
    font-weight: 800;
    z-index: 10;
}

.card-anime-1 {
    top: 10%;
    right: -10%;
    animation: float-delayed 5s ease-in-out infinite;
    color: var(--accent-color);
}

.card-anime-2 {
    bottom: 10%;
    left: -10%;
    animation: float 7s ease-in-out infinite;
    display: flex;
    gap: 1.5rem;
}

.stat-col {
    display: flex;
    flex-direction: column;
}

.stat-col .label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-col .value {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 5px;
}

.pulse {
    animation: pulse-green 2s infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes float-delayed {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.decorative-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
}

.blur-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.blur-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    bottom: -50px;
    right: -50px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #fdf2f8;
    border: 3px solid #f9a8d4;
    border-radius: 50%;
    box-shadow: 4px 4px 0px #f9a8d4;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    font-weight: 600;
    color: var(--text-main);
}

/* Media & AI */
.media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.media-card {
    padding: 2.5rem;
}

.media-card.highlight-card {
    border-color: var(--accent-color);
    box-shadow: 6px 6px 0px var(--accent-color);
}

.media-header {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px dashed #f9a8d4;
    color: var(--primary-color);
}

.highlight-card .media-header {
    color: var(--accent-color);
    border-bottom-color: #a5f3fc;
}

.media-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--border-color);
    font-weight: 700;
}

.badge-tag {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    background: #fdf2f8;
    color: var(--primary-color);
    border: 2px solid #f9a8d4;
    border-radius: 99px;
    font-weight: 800;
}

.highlight-tag {
    background: #ecfeff;
    color: var(--accent-color);
    border-color: #67e8f9;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3), 8px 8px 0px var(--primary-color);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: var(--shadow-glow);
    border: 2px solid #fff;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.plan-price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 700;
}

.plan-desc {
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed #f9a8d4;
}

.plan-features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 700;
}

.plan-features li::before {
    content: '🌸';
    font-size: 1.2rem;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.review-card {
    padding: 2.5rem;
}

.stars {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-text {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 56px;
    height: 56px;
    background: #fdf2f8;
    border: 3px solid #f9a8d4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.reviewer .info strong {
    display: block;
    font-weight: 900;
    color: var(--primary-color);
}

.reviewer .info span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem 2rem;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--primary-color);
}

.faq-item summary::after {
    content: '▼';
    position: absolute;
    right: 2rem;
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '▲';
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-content {
    padding: 0 2rem 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: var(--bg-pattern);
    background-size: 40px 40px;
    opacity: 0.2;
}

.cta-banner h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cta-banner p {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.cta-banner .btn {
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #f3f4f6;
    padding: 5rem 0 2rem;
    border-top: 5px solid var(--primary-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 4rem;
    border-bottom: 2px dashed rgba(255,255,255,0.2);
    padding-bottom: 4rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo {
    color: #f9a8d4;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-weight: 600;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-col h4 {
    color: #f9a8d4;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-col a {
    display: block;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
}

.footer-col a:hover {
    color: #fff;
    opacity: 1;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    font-weight: 700;
    opacity: 0.6;
}

/* Blog & SEO Articles */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--text-main);
    text-decoration: none;
    padding: 0;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: var(--transition);
    border-bottom: 3px solid #f9a8d4;
}

.bg-gradient-1 { background: linear-gradient(135deg, #fbcfe8, #f472b6); }
.bg-gradient-2 { background: linear-gradient(135deg, #bfdbfe, #60a5fa); }
.bg-gradient-3 { background: linear-gradient(135deg, #fecaca, #f87171); }
.bg-gradient-4 { background: linear-gradient(135deg, #d9f99d, #a3e635); }
.bg-gradient-5 { background: linear-gradient(135deg, #e9d5ff, #c084fc); }
.bg-gradient-6 { background: linear-gradient(135deg, #fed7aa, #fb923c); }

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.blog-card p {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    font-weight: 900;
    color: var(--accent-color);
    margin-top: auto;
}

/* Media Queries (Tablet & Desktop) */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2.5rem;
    }
    
    .nav-links a {
        font-weight: 800;
        color: var(--text-main);
        font-size: 1.1rem;
    }
    
    .nav-links a:hover {
        color: var(--primary-color);
    }

    .hero-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .hero-text {
        flex: 1;
        max-width: 550px;
    }

    .headline {
        font-size: 4rem;
    }
    
    .highlight {
        font-size: 4.5rem;
    }

    .sub-headline {
        margin: 0 0 2.5rem;
    }

    .hero-actions {
        flex-direction: row;
    }

    .hero-trust {
        justify-content: flex-start;
    }

    .hero-visual {
        flex: 1;
        height: 500px;
    }

    .card-anime-1 {
        right: 0;
    }

    .card-anime-2 {
        left: 0;
    }

    .features-grid, .media-grid, .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
    }
    
    .pricing-card.popular {
        padding: 3.5rem 2.5rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-links-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 5rem;
    }
}

@media (min-width: 1024px) {
    .features-grid, .reviews-grid, .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
