:root {
    --primary: #21bfdc;
    --secondary: #ffda31;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --gray: #94a3b8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--text);
    padding-bottom: 70px;
    /* Space for mobile menu */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 45px;
}

.logo span {
    color: var(--primary);
}

.desktop-menu {
    display: none;
    gap: 2rem;
    list-style: none;
}

.desktop-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

.desktop-menu a:hover {
    color: var(--primary);
}

.btn-cta {
    background: var(--secondary);
    color: var(--dark);
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 218, 49, 0.4);
}

.desktop-menu .btn-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

@media(min-width: 768px) {
    .desktop-menu {
        display: flex;
        align-items: center;
    }

    body {
        padding-bottom: 0;
    }
}

/* Mobile Bottom Menu */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gray);
    font-size: 0.75rem;
    gap: 0.25rem;
}

.nav-item.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-icon {
    font-size: 1.25rem;
}

@media(min-width: 768px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--text);
    padding: 1.5rem 0;
    margin-top: 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.footer p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Utility */
.section {
    padding: 4rem 0;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Enhanced Button Hover */
.btn-cta-hero:hover {
    animation: pulse 0.5s ease-in-out;
}

/* Pricing Toggle */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.pricing-toggle {
    background: #f1f5f9;
    padding: 0.5rem;
    border-radius: 50px;
    display: flex;
    position: relative;
    border: 1px solid #e2e8f0;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    min-width: 140px;
    text-align: center;
    -webkit-user-select: none;
    user-select: none;
}

.toggle-btn.active {
    color: var(--dark);
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.discount-badge {
    background: #FFD026;
    /* Specific discount color */
    color: #000;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}


/* --- Modern UI Enhancements --- */

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 191, 220, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -15px rgba(33, 191, 220, 0.15);
    border-color: rgba(33, 191, 220, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Pricing Cards */
.pricing-card {
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Modern backdrop filter effect */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    /* overflow: hidden; */
    /* Ensure content stays inside */
}

/* Subtle gradient overlay */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: -1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px -15px rgba(33, 191, 220, 0.15);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(33, 191, 220, 0.3);
    white-space: nowrap;
}

.pricing-amount {
    font-size: 3.5rem;
    /* Large font size */
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin: 1.5rem 0 0.5rem;
    letter-spacing: -2px;
    display: flex;
    align-items: flex-start;
    /* Align top */
    justify-content: center;
    gap: 0.25rem;
}

.pricing-amount span {
    /* Target the Rp text */
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray);
    align-self: flex-start;
    margin-top: 8px;
    /* Slight offset for alignment */
}

.pricing-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Article Cards */
.article-card {
    background: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f1f5f9;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.read-more {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.article-card:hover .read-more {
    gap: 0.75rem;
}

/* Backgrounds & Sections */
.bg-modern-grid {
    background-color: #f8fafc;
    background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
    background-size: 30px 30px;
}

.bg-soft-gradient {
    background: radial-gradient(circle at top right, rgba(33, 191, 220, 0.08), transparent 40%),
        radial-gradient(circle at bottom left, rgba(255, 218, 49, 0.08), transparent 40%);
}

.bg-articles-gradient {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.bg-articles-gradient::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(33, 191, 220, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}


.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* AOS Animation Replacements (Simple CSS approach since we're not adding JS lib yet) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Logo Centering */
@media (max-width: 768px) {
    .nav-inner {
        justify-content: center;
    }
}