@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors - Extracted from Header */
    --primary: #00A884;
    /* Zlendo Teal */
    --primary-hover: #008f70;
    --accent: #FF603A;
    /* Zlendo Orange */
    --accent-hover: #e04f2c;

    /* Backgrounds */
    --bg-body: #FFFFFF;
    --bg-surface: #FFFFFF;
    --bg-surface-glass: rgba(255, 255, 255, 0.7);
    --bg-secondary: #F7F9F8;

    /* Text */
    --text-main: #1A1A1A;
    --text-secondary: #4D4D4D;
    --text-muted: #9CA3AF;

    /* Borders */
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-focus: rgba(0, 168, 132, 0.5);

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);

    --shadow-primary: 0 10px 15px -3px rgba(0, 168, 132, 0.2), 0 4px 6px -4px rgba(0, 168, 132, 0.2);

    /* Blur */
    --backdrop-blur: blur(12px);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Glows (Matches Header Theme) */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 96, 58, 0.06) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 168, 132, 0.06) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header (Simplified) */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-coohom {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.logo-divider {
    color: var(--border-subtle);
    font-weight: 300;
    font-size: 1.25rem;
}

.logo-help {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.125rem;
    font-family: var(--font-heading);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--primary);
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.03);
    transition: background-color 0.2s;
    cursor: pointer;
    font-size: 0.9rem;
}

.lang-selector:hover {
    background-color: rgba(0, 0, 0, 0.06);
    color: var(--text-main);
}

.globe-icon svg {
    width: 16px;
    height: 16px;
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    text-align: center;
    position: relative;
    overflow: visible;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 48px;
    letter-spacing: -0.03em;
    color: var(--text-main);
    background: linear-gradient(135deg, var(--text-main) 0%, #4D4D4D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-container {
    width: 100%;
    max-width: 680px;
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container:focus-within {
    transform: translateY(-4px);
}

.search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.3s;
}

.search-input {
    width: 100%;
    padding: 24px 24px 24px 64px;
    border-radius: 24px;
    border: 1px solid rgba(0, 168, 132, 0.1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    font-size: 1.125rem;
    color: var(--text-main);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
}

.search-input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.search-input:focus {
    background: #ffffff;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.05),
        0 0 0 4px rgba(0, 168, 132, 0.1);
    border-color: var(--primary);
}

/* Main Content */
.main-content {
    margin-top: -40px;
    padding-bottom: 100px;
    position: relative;
    z-index: 20;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
    margin-top: 64px;
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border-radius: 28px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 168, 132, 0.2);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card .card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(0, 168, 132, 0.06);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 8px;
}

.category-card:hover .card-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 15px 20px -5px rgba(0, 168, 132, 0.3);
}

.card-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.5px;
}

.card-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* What's New Section */
.whats-new-section {
    max-width: 900px;
    margin: 0 auto 100px;
}

.article-list {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.article-list li {
    border-bottom: 1px solid var(--border-subtle);
    transition: background-color 0.2s;
}

.article-list li:last-child {
    border-bottom: none;
}

.article-list a {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
}

.article-list a:hover {
    background: rgba(0, 168, 132, 0.02);
}

.article-icon {
    color: var(--primary);
    background: rgba(0, 168, 132, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article-icon svg {
    width: 20px;
    height: 20px;
}

.article-text {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.2s;
}

.article-list a:hover .article-text {
    color: var(--primary);
}

/* CTA Section */
.help-cta {
    text-align: center;
    padding: 80px 24px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(0, 168, 132, 0.05) 0%, rgba(255, 96, 58, 0.05) 100%);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin: 0 auto;
    max-width: 1000px;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.help-cta h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}

.help-cta p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.125rem;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: 18px 48px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-contact:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(0, 168, 132, 0.3), 0 8px 10px -6px rgba(0, 168, 132, 0.3);
}

.btn-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(white, transparent);
    opacity: 0.1;
    pointer-events: none;
}

/* Footer */
.footer {
    padding: 60px 0;
    margin-top: 80px;
    border-top: 1px solid var(--border-subtle);
    background: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copy {
    color: #9CA3AF;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        display: none;
        /* simple mobile hide for now, or refine */
    }
}