:root {
    --background-gradient: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 50%, #d8d8d8 100%);
    --primary-color: #2c2c2c;
    --secondary-color: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--background-gradient);
    min-height: 100vh;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
}

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

.main-title {
    font-family: 'Lexend Peta', sans-serif;
    font-size: 30px;
    letter-spacing: 3px;
    line-height: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
}

.main-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-title a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.menu a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 16px;
    line-height: 28px;
    padding: 10px 15px;
    position: relative;
    transition: all 0.3s ease;
}

.menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu a:hover::after {
    width: 80%;
}

.page-title {
    font-family: 'Lexend Peta', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    text-align: center;
    margin: 30px 0 40px 0;
    color: var(--primary-color);
}

.content {
    font-size: 16px;
    line-height: 28px;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto;
}

.content p {
    margin-bottom: 20px;
}

.content h2 {
    font-size: 20px;
    line-height: 32px;
    margin: 30px 0 15px 0;
    color: var(--primary-color);
}

.content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content li {
    margin-bottom: 10px;
}

.content-link {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-link:hover {
    color: #004499;
}

.image-container {
    text-align: center;
    margin: 30px 0;
}

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content h3 {
    font-size: 18px;
    line-height: 28px;
    margin: 30px 0 15px 0;
    color: var(--primary-color);
    font-weight: 600;
}

.section-title {
    text-align: center;
    text-decoration: underline;
    font-size: 18px;
    line-height: 28px;
    margin: 30px 0 15px 0;
    color: var(--primary-color);
    font-weight: 600;
}

.table-container {
    overflow-x: auto;
    margin: 30px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 12px;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    background-color: #f8f8f8;
}

.comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.comparison-table tr:hover {
    background-color: #f0f0f0;
}

.highlight-box {
    background-color: #f8f9fa;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight-box-centered {
    text-align: center;
}

.note-text {
    font-size: 12px;
    color: var(--secondary-color);
    font-style: italic;
}

.divider {
    width: 60%;
    height: 1px;
    background-color: var(--secondary-color);
    margin: 40px auto;
    opacity: 0.3;
}

.bg-gradient-fade {
    background: linear-gradient(90deg, transparent 0%, var(--secondary-color) 50%, transparent 100%);
}

/* Utility classes for the new divider */
.my-8 {
    margin: 2rem 0;
}

.md\:my-12 {
    margin: 3rem 0;
}

.flex {
    display: flex;
}

.w-full {
    width: 100%;
}

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

.justify-center {
    justify-content: center;
}

.h-\[1px\] {
    height: 1px;
}

.w-\[180px\] {
    width: 180px;
}

.md\:w-\[292px\] {
    width: 180px;
}

@media (min-width: 768px) {
    .md\:my-12 {
        margin: 3rem 0;
    }
    
    .md\:w-\[292px\] {
        width: 292px;
    }
}

.section-preview {
    margin: 30px 0;
}

.link-list {
    margin: 30px 0;
    padding-left: 0;
    list-style: none;
    counter-reset: link-counter;
}

.link-list li {
    counter-increment: link-counter;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.link-list li::before {
    content: counter(link-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.external-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #f8f9fa;
    width: 100%;
    box-sizing: border-box;
}

.external-link:hover {
    color: #004499;
    background-color: #e8f4fd;
    border-color: #0066cc;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 24px;
        letter-spacing: 2px;
        line-height: 28px;
    }
    
    .menu {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .container {
        padding: 20px 15px;
    }
}

/* Navigation buttons */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 20px 0;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.nav-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.nav-button:disabled:hover {
    background-color: #ccc;
    transform: none;
    box-shadow: none;
}

.nav-previous {
    margin-right: auto;
}

.nav-next {
    margin-left: auto;
}

@media (max-width: 480px) {
    .main-title {
        font-size: 20px;
        letter-spacing: 1.5px;
        line-height: 24px;
    }
    
    .navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-previous,
    .nav-next {
        margin: 0;
    }
}

/* Google Trends responsive container */
.trends-container {
    width: 100%;
    min-height: 420px; /* ensure embed has space to render on mobile */
}

@media (max-width: 480px) {
    .trends-container {
        min-height: 360px;
    }
}

/* Show/hide helpers for embeds */
.only-desktop { display: block; }
.only-mobile { display: none; }

@media (max-width: 768px) {
  .only-desktop { display: none; }
  .only-mobile { display: block; }
}
