/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Pink seimbang: tidak terlalu soft, tidak terlalu bold */
    --primary-pink: #ec407a;
    --light-pink: #f48fb1;
    --dark-pink: #d81b60;
    --soft-pink: #fce4ec;
    --rose-pink: #f06292;
    --blush-pink: #f8bbd0;
    --coral-pink: #e91e63;
    --accent-surface: #fff0f5;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #2d2d2d;
    --text-light: #5c5c5c;
    --pink-rgb: 236, 64, 122;
    --shadow: rgba(var(--pink-rgb), 0.28);
    --shadow-hover: rgba(216, 27, 96, 0.38);
    --border-pink: rgba(var(--pink-rgb), 0.35);
    --border-pink-strong: rgba(var(--pink-rgb), 0.55);
    --gradient-primary: linear-gradient(135deg, #f06292 0%, #ec407a 50%, #e91e63 100%);
    --gradient-soft: linear-gradient(165deg, #fff5f9 0%, #ffe8f1 45%, #ffd9e8 100%);
    --gradient-hero: linear-gradient(135deg, #f06292 0%, #ec407a 45%, #e91e63 100%);
    --gradient-card: linear-gradient(160deg, #ffffff 0%, #fff5f9 55%, #ffeef5 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-soft);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(var(--pink-rgb), 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(233, 30, 99, 0.14) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(240, 98, 146, 0.16) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Sections dalam container */
.section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Navigation - Modern Glassmorphism Design */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(255, 77, 138, 0.2);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 77, 138, 0.2);
    width: 100%;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(255, 77, 138, 0.25);
    padding: 0.8rem 0;
}

.navbar-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-pink);
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand .logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

.navbar-brand span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i,
.nav-link.active i {
    transform: scale(1.1);
}

.nav-link span {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .navbar-wrapper {
        padding: 0 20px;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }

    .navbar-brand .logo {
        height: 28px;
    }

    .navbar-brand i {
        font-size: 1.2rem;
    }
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-pink);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-pink);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Sections */
.section {
    display: none;
    padding: 3rem 0;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px var(--shadow);
    margin: 2rem auto;
    border: 2px solid var(--border-pink);
    transition: all 0.3s ease;
    max-width: 1400px;
    width: calc(100% - 80px);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1440px) {
    .content-wrapper {
        width: calc(100% - 60px);
    }
}

@media (max-width: 1240px) {
    .content-wrapper {
        width: calc(100% - 40px);
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 1.5rem;
        margin: 1.5rem auto;
        width: calc(100% - 30px);
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 1rem;
        margin: 1rem auto;
        width: calc(100% - 20px);
        border-radius: 15px;
    }
}

.content-wrapper:hover {
    box-shadow: 0 15px 50px var(--shadow-hover);
    border-color: var(--border-pink-strong);
}

.section-title {
    color: var(--dark-pink);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 700;
}

.section-title i {
    color: var(--primary-pink);
}

/* Hero Section */
#home.section {
    padding: 0;
}

#home.section.active {
    background: var(--gradient-hero);
}

.hero-section {
    text-align: center;
    padding: 3rem 0 4rem;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.hero-shape-1 {
    width: 280px;
    height: 280px;
    top: -60px;
    right: -50px;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 8%;
    left: -30px;
}

.hero-shape-3 {
    width: 140px;
    height: 140px;
    top: 38%;
    left: 12%;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}

.hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-text {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 0;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 77, 138, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 77, 138, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 77, 138, 0.4);
    border-color: rgba(255, 77, 138, 0.5);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(255, 77, 138, 0.45);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(255, 77, 138, 0.4);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--primary-pink);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .feature-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-features {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }
}


.feature-card h3 {
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

/* Buttons - Cute & Adorable Design */
.btn-primary,
.btn-secondary,
.btn-audio,
.btn-card-next,
.btn-card-prev {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 77, 138, 0.3);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(255, 77, 138, 0.4);
}

.btn-primary::before {
    content: '✨';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2rem;
    transition: transform 0.4s ease;
    z-index: 1;
}

.btn-primary:hover::before {
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
}

.btn-primary:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 77, 138, 0.5);
    animation: bounce 0.6s ease;
}

.btn-primary > * {
    position: relative;
    z-index: 2;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-pink);
    border: 3px solid var(--primary-pink);
    box-shadow: 0 4px 15px rgba(255, 77, 138, 0.2);
}

.btn-secondary::before {
    content: '💕';
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: left 0.4s ease;
}

.btn-secondary:hover::before {
    left: 10px;
}

.btn-secondary:hover {
    background: var(--soft-pink);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 77, 138, 0.3);
    animation: wiggle 0.5s ease;
}

.btn-secondary > * {
    position: relative;
    z-index: 1;
}

.btn-audio {
    background: var(--gradient-primary);
    color: var(--white);
    margin: 0.5rem;
    box-shadow: 0 6px 20px rgba(255, 77, 138, 0.4);
}

.btn-audio::after {
    content: '🎵';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: right 0.4s ease;
}

.btn-audio:hover::after {
    right: 10px;
}

.btn-audio:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 10px 30px rgba(255, 77, 138, 0.5);
    animation: pulse 0.6s ease;
}

.btn-card-next,
.btn-card-prev {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(255, 77, 138, 0.4);
}

.btn-card-next::after {
    content: '👉';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    transition: right 0.3s ease;
}

.btn-card-next:hover::after {
    right: 8px;
}

.btn-card-prev::before {
    content: '👈';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    transition: left 0.3s ease;
}

.btn-card-prev:hover::before {
    left: 8px;
}

.btn-card-next:hover,
.btn-card-prev:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 30px rgba(255, 77, 138, 0.5);
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-6px) scale(1.05);
    }
    50% {
        transform: translateY(-10px) scale(1.08);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: translateY(-4px) scale(1.05) rotate(0deg);
    }
    25% {
        transform: translateY(-4px) scale(1.05) rotate(-3deg);
    }
    75% {
        transform: translateY(-4px) scale(1.05) rotate(3deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-5px) scale(1.08);
    }
    50% {
        transform: translateY(-5px) scale(1.12);
    }
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Knowledge Cards */
/* Knowledge Carousel - One Card at a Time */
.knowledge-carousel {
    position: relative;
    min-height: 500px;
    margin-bottom: 3rem;
    width: 100%;
    overflow: hidden;
}

.knowledge-card {
    display: none !important;
    width: 100%;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    transform: translateX(50px) scale(0.95);
    pointer-events: none !important;
    transition: opacity 0.6s ease, transform 0.6s ease;
    background: linear-gradient(135deg, var(--white) 0%, var(--soft-pink) 100%);
    padding: 0 !important;
    border-radius: 20px;
    border-left: 6px solid var(--primary-pink);
    box-shadow: 0 6px 20px var(--shadow);
    margin: 0 auto;
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.knowledge-card.active {
    display: block !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    padding: 2.5rem !important;
    transform: translateX(0) scale(1) !important;
    pointer-events: all !important;
    z-index: 2 !important;
    animation: cardSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.knowledge-card:not(.active) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.card-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px dashed rgba(255, 77, 138, 0.35);
}

.card-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 77, 138, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-pink);
    transition: all 0.3s ease;
}

.indicator.active::before {
    width: 12px;
    height: 12px;
}

.indicator:hover {
    transform: scale(1.3);
    background: rgba(255, 77, 138, 0.65);
}

@media (max-width: 768px) {
    .knowledge-carousel {
        min-height: 450px;
    }
    
    .card-navigation {
        flex-direction: column;
    }
}

.knowledge-card.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
    pointer-events: none;
    border-radius: 20px;
}

.knowledge-card.active:hover::after {
    left: 100%;
}

.knowledge-card.active:hover {
    box-shadow: 0 12px 35px var(--shadow-hover);
    border-left-width: 8px;
}

.card-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px var(--shadow));
    transition: all 0.3s ease;
}

.knowledge-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.knowledge-card h3 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.knowledge-card ul,
.knowledge-card ol {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.knowledge-card li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.knowledge-card p strong {
    color: var(--primary-pink);
    font-size: 1.1em;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.knowledge-card ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

/* Rules */
.rules-container {
    margin-bottom: 2rem;
}

.rule-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--blush-pink) 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.rule-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 10px 30px var(--shadow-hover);
    border-color: var(--rose-pink);
    background: linear-gradient(135deg, var(--soft-pink) 0%, var(--white) 100%);
}

.rule-number {
    background: var(--gradient-primary);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.rule-item:hover .rule-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.rule-content h3 {
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.warning-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.warning-box i {
    color: #ffc107;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Kartu Afirmasi Section */
.afirmasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.afirmasi-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 
        0 8px 25px rgba(255, 77, 138, 0.25),
        0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    cursor: pointer;
    border: 3px solid transparent;
    min-height: 400px;
    max-height: 450px;
}

.afirmasi-card:hover {
    transform: translateY(-10px) rotateY(2deg);
    box-shadow: 
        0 15px 40px rgba(255, 77, 138, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 77, 138, 0.5);
}

/* Card Header */
.card-header {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.card-icon-wrapper i {
    font-size: 2rem;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.afirmasi-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

/* Unique header colors for each card */
.afirmasi-card-1 .card-header {
    background: linear-gradient(135deg, #ff4d8a 0%, #ff1a7a 100%);
}

.afirmasi-card-2 .card-header {
    background: linear-gradient(135deg, #ff66b8 0%, #ff4d8a 100%);
}

.afirmasi-card-3 .card-header {
    background: linear-gradient(135deg, #ff99d1 0%, #ff66b8 100%);
}

.afirmasi-card-4 .card-header {
    background: linear-gradient(135deg, #ff4d8a 0%, #ff0066 100%);
}

.afirmasi-card-5 .card-header {
    background: linear-gradient(135deg, #ff1a7a 0%, #ff4d8a 100%);
}

.afirmasi-card-6 .card-header {
    background: linear-gradient(135deg, #ff66b8 0%, #ff1a7a 100%);
}

/* Card Body */
.card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff5f8;
    position: relative;
}

.afirmasi-card-1 .card-body {
    background: #fff0f5;
}

.afirmasi-card-2 .card-body {
    background: #ffe0e6;
}

.afirmasi-card-3 .card-body {
    background: #fff5f8;
}

.afirmasi-card-4 .card-body {
    background: #ffeef2;
}

.afirmasi-card-5 .card-body {
    background: #fff0f5;
}

.afirmasi-card-6 .card-body {
    background: #ffe0e6;
}

/* Introductory Text */
.afirmasi-intro {
    font-size: 0.85rem;
    color: #ff0066;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 400;
    font-style: italic;
}

/* Affirmation List */
.afirmasi-list {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.afirmasi-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.6rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
    border-left: 3px solid transparent;
}

.afirmasi-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-left-color: var(--primary-pink);
    transform: translateX(3px);
}

.afirmasi-item i {
    color: #ff4d8a;
    font-size: 0.9rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(255, 77, 138, 0.3));
}

.afirmasi-item span {
    color: #ff0066;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Card Footer */
.card-footer {
    padding: 1rem 1.5rem;
    background: rgba(255, 77, 138, 0.15);
    border-top: 2px solid rgba(255, 77, 138, 0.3);
    text-align: center;
}

.card-instruction {
    font-size: 0.85rem;
    color: #ff1a7a;
    margin: 0;
    font-weight: 600;
    font-style: italic;
}

.afirmasi-note {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe0e6 100%);
    border-left: 5px solid var(--primary-pink);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    display: flex;
    align-items: start;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(255, 77, 138, 0.15);
}

.afirmasi-note i {
    color: var(--primary-pink);
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
    animation: wiggle 2s ease-in-out infinite;
}

.afirmasi-note p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.8;
}

.afirmasi-note p strong {
    color: var(--primary-pink);
}

/* Responsive untuk Kartu Afirmasi */
@media (max-width: 768px) {
    .afirmasi-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        perspective: none;
    }

    .afirmasi-card {
        min-height: auto;
        max-height: none;
        transform: none !important;
    }

    .afirmasi-card:hover {
        transform: translateY(-5px) !important;
    }

    .card-header {
        padding: 1.2rem;
    }

    .card-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .card-icon-wrapper i {
        font-size: 1.5rem;
    }

    .afirmasi-title {
        font-size: 1.3rem;
    }

    .card-body {
        padding: 1.2rem;
    }

    .afirmasi-intro {
        font-size: 0.8rem;
    }

    .afirmasi-item {
        padding: 0.5rem;
        margin-bottom: 0.6rem;
    }

    .afirmasi-item span {
        font-size: 0.85rem;
    }

    .card-footer {
        padding: 0.8rem 1.2rem;
    }

    .card-instruction {
        font-size: 0.8rem;
    }

    .afirmasi-note {
        padding: 1.2rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .afirmasi-note i {
        margin: 0 auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .afirmasi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .afirmasi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Audio Section */
.audio-container {
    margin-bottom: 2rem;
}

.audio-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--soft-pink) 100%);
    padding: 2.5rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 35px var(--shadow);
    border: 3px solid var(--rose-pink);
    transition: all 0.4s ease;
}

.audio-card:hover {
    box-shadow: 0 15px 45px var(--shadow-hover);
    transform: translateY(-5px);
}

.audio-header {
    text-align: center;
    margin-bottom: 2rem;
}

.audio-header i {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 3px 6px var(--shadow));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.audio-header h3 {
    color: var(--primary-pink);
}

.audio-player-wrapper {
    margin: 2rem 0;
    text-align: center;
}

.audio-player-wrapper audio {
    width: 100%;
    max-width: 600px;
    height: 50px;
    border-radius: 25px;
}

.audio-validation {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    border: 1px solid rgba(233, 30, 99, 0.2);
    border-left: 4px solid var(--primary-pink);
    text-align: left;
}

.audio-validation i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 1.35rem;
    color: var(--primary-pink);
}

.audio-validation p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-dark);
}

.audio-validation strong {
    color: var(--primary-pink);
    font-weight: 600;
}

.audio-instructions {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.audio-instructions h4 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.audio-instructions ol {
    margin-left: 1.5rem;
}

.audio-instructions li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.audio-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.progress-tracker {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.progress-tracker h4 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 25px;
    background: var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(255, 77, 138, 0.5);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Footer */
.footer {
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    box-shadow: 0 -5px 20px var(--shadow);
    border-top: 3px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    .footer-content {
        padding: 0 15px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 0;
    }

    .header-content {
        padding: 0 15px;
    }

    .header-content h1 {
        font-size: 1.75rem;
    }

    .header-content .subtitle {
        font-size: 0.9rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 20px var(--shadow);
        padding: 1rem;
        gap: 0.5rem;
        z-index: 1000;
        border-top: 2px solid var(--rose-pink);
        margin: 0;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        border-radius: 15px;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--primary-pink);
        color: var(--white);
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--primary-pink);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-text {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 10px;
    }

    .rule-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .rule-item:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .rule-number {
        margin: 0 auto;
    }

    .rule-content {
        text-align: center;
    }

    .navigation-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .navigation-buttons button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .audio-controls {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-audio {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .knowledge-card {
        padding: 1.5rem;
    }

    .audio-card {
        padding: 1.5rem;
    }

    .audio-player-wrapper audio {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 10px;
    }

    .header-content h1 {
        font-size: 1.5rem;
    }

    .header-content .subtitle {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card i {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .knowledge-card {
        padding: 1.25rem;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .knowledge-card h3 {
        font-size: 1.2rem;
    }

    .rule-item {
        padding: 1.25rem;
    }

    .rule-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .rule-content h3 {
        font-size: 1.1rem;
    }

    .audio-card {
        padding: 1.25rem;
    }

    .audio-header i {
        font-size: 3rem;
    }

    .audio-header h3 {
        font-size: 1.1rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-audio {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 2rem 0;
    }

    .footer-content {
        padding: 0 15px;
    }
}

/* Feedback/Testimoni Section */
.feedback-form-container {
    margin-bottom: 3rem;
}

.feedback-form-card {
    background: linear-gradient(160deg, var(--white) 0%, var(--accent-surface) 50%, var(--soft-pink) 100%);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px var(--shadow);
    border: 2px solid var(--border-pink);
    margin-bottom: 2rem;
}

.feedback-form-card h3 {
    color: var(--primary-pink);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group label {
    color: var(--primary-pink);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    font-size: 1.1rem;
}

.rating-group {
    width: 100%;
}

.nrs-guide {
    margin-bottom: 1.75rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-surface) 0%, var(--soft-pink) 100%);
    border-radius: 12px;
    border: 2px solid var(--border-pink);
}

.nrs-guide-title {
    font-weight: 700;
    color: var(--dark-pink);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nrs-guide-title i {
    color: var(--primary-pink);
}

.nrs-scale-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 220px;
    overflow-y: auto;
}

.nrs-scale-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-dark);
}

.nrs-level {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.8rem;
}

.nrs-desc {
    flex: 1;
    padding-top: 0.15rem;
}

.pain-scale-hint {
    margin: 0.75rem 0 0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dark);
    background: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--primary-pink);
    text-align: center;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-scale-hint.is-selected {
    background: rgba(255, 182, 193, 0.2);
    font-weight: 500;
}

.rating-scale {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.scale-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.rating-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.rating-buttons input[type="radio"] {
    display: none;
}

.rating-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.rating-label:hover {
    background: var(--rose-pink);
    color: var(--white);
    transform: scale(1.1);
    border-color: var(--primary-pink);
}

.rating-buttons input[type="radio"]:checked + .rating-label {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-pink);
    transform: scale(1.15);
    box-shadow: 0 4px 15px var(--shadow);
}

.satisfaction-rating {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    flex-direction: row;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-label {
    font-size: 2rem;
    color: var(--light-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-label {
    transition: all 0.2s ease;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 77, 138, 0.2);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    resize: vertical;
    transition: all 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(255, 77, 138, 0.1);
    background: var(--soft-pink);
}

.btn-submit-feedback {
    align-self: center;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.feedback-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.feedback-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    display: block;
}

.feedback-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
}

/* Testimonials */
.testimonials-container {
    margin-top: 3rem;
}

.testimonials-title {
    color: var(--primary-pink);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--blush-pink) 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px var(--shadow);
    border: 2px solid rgba(255, 77, 138, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 6rem;
    color: rgba(255, 77, 138, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: rgba(255, 77, 138, 0.3);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: #ffd700;
    font-size: 1.1rem;
}

.testimonial-pain-info {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.testimonial-pain-info span {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 77, 138, 0.1);
    color: var(--primary-pink);
    font-weight: 600;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    text-align: right;
}

.loading-testimonials,
.no-testimonials {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.loading-testimonials i {
    font-size: 2rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
    display: block;
}

.no-testimonials i {
    font-size: 3rem;
    color: var(--light-pink);
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 768px) {
    .feedback-form-card {
        padding: 1.5rem;
    }

    .rating-buttons {
        gap: 0.4rem;
    }

    .rating-label {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .nrs-scale-list {
        max-height: 180px;
    }

    .nrs-scale-list li {
        font-size: 0.82rem;
    }

    .star-label {
        font-size: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}