/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat Alternates', sans-serif;
    background-color: #F7F7F7;
    color: #101010;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #8F88EA;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.2rem;
    color: #E1F790;
}

header > .container > nav ul {
    display: flex;
    list-style: none;
}

header > .container > nav li {
    margin-left: 20px;
}

header > .container > nav a {
    text-decoration: none;
    color: #101010;
    font-weight: 500;
    transition: color 0.3s;
}

header > .container > nav a:hover {
    color: #8F88EA;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #8F88EA;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Dropdown Menu */
.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 400px;
}

.mobile-menu ul {
    list-style: none;
    padding: 15px 20px 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.mobile-menu li {
    margin: 0;
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    color: #101010;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #8F88EA;
}

.mobile-menu li:last-child a {
    border-bottom: none;
}

.mobile-menu .cta-btn {
    margin-top: 15px;
    text-align: center;
}

.cta-btn {
    display: inline-block;
    background-color: #E1F790;
    color: #0D1B33;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    background-color: #D0E680;
    color: #0D1B33;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 247, 144, 0.5);
}

/* Main Content */
.text-page {
    padding: 80px 0;
}

/* Page Hero Header */
.page-hero {
    background: linear-gradient(135deg, #8F88EA 0%, #0D1B33 100%);
    color: white;
    padding: 60px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(225, 247, 144, 0.1) 0%, transparent 50%);
    animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.page-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumbs a:hover {
    color: #E1F790;
}

.breadcrumbs a i {
    font-size: 0.85rem;
}

.breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.breadcrumbs .current {
    color: #E1F790;
    font-weight: 500;
}

/* Page Title in Hero */
.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.page-hero h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #E1F790;
    border-radius: 2px;
}

/* Page Meta (date, etc.) */
.page-meta {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.page-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-meta i {
    color: #E1F790;
    font-size: 0.85rem;
}

/* Decorative elements */
.page-hero .deco {
    position: absolute;
    opacity: 0.15;
    z-index: 1;
}

.page-hero .deco-circle {
    width: 200px;
    height: 200px;
    border: 2px solid #E1F790;
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.page-hero .deco-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#E1F790 2px, transparent 2px);
    background-size: 15px 15px;
    bottom: 20px;
    left: 5%;
}

/* Content Area */
.content-wrapper {
    padding: 50px 0;
}

.content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.content h2 {
    font-size: 1.6rem;
    margin: 32px 0 16px;
    color: #0D1B33;
    font-weight: 600;
}

.content h2:first-child {
    margin-top: 0;
}

.content h3 {
    font-size: 1.3rem;
    margin: 28px 0 14px;
    color: #0D1B33;
    font-weight: 600;
}

.content p {
    margin-bottom: 18px;
    font-size: 1rem;
    color: #333;
}

.content ul,
.content ol {
    margin: 16px 0 18px 24px;
    padding-left: 10px;
}

.content li {
    margin-bottom: 8px;
}

.content blockquote {
    margin: 24px 0;
    padding: 20px;
    background: #F7F7F7;
    border-left: 4px solid #8F88EA;
    font-style: italic;
    color: #0D1B33;
    border-radius: 0 8px 8px 0;
}

.content a {
    color: #8F88EA;
    text-decoration: underline;
    transition: color 0.2s;
}

.content a:hover {
    color: #0D1B33;
}

/* Footer */
footer {
    background: #0D1B33;
    color: white;
    padding: 50px 0 30px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #E1F790;
}

.footer-logo .logo-icon {
    font-size: 1.2rem;
    color: #8F88EA;
}

.footer-info,
.footer-menu {
    text-align: center;
}

a.footer-link {
    color: #fff;
    text-decoration: none;
}

.footer-menu h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.footer-menu li a {
    color: #E1F790;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu li a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
    max-width: 600px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #8F88EA;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    z-index: 1000;
    display: none;
}

.scroll-to-top.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background: #0D1B33;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(143, 136, 234, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    header > .container > nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .page-hero {
        padding: 40px 0 50px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-meta {
        flex-direction: column;
        gap: 10px;
    }

    .breadcrumbs {
        font-size: 0.8rem;
    }

    .content {
        padding: 25px;
    }

    .content h2 {
        font-size: 1.4rem;
    }

    .content h3 {
        font-size: 1.2rem;
    }

    .scroll-to-top {
        width: 42px;
        height: 42px;
        right: 20px;
        bottom: 20px;
    }

    .page-hero .deco {
        display: none;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.5rem;
    }

    .content {
        padding: 20px;
    }
}