/* ====== IMPORTS ====== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ====== CSS VARIABLES ====== */
:root {
    --bg-primary: #0e0d12;
    --bg-secondary: #171421;
    --bg-card: rgba(24, 22, 35, 0.78);
    --bg-card-hover: rgba(35, 29, 47, 0.9);
    --crimson: #e64b6a;
    --crimson-dark: #b71f43;
    --gold: #d9b86c;
    --gold-light: #ffe3a1;
    --rose-soft: #ff8aa3;
    --ink-soft: #242033;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(220, 20, 60, 0.15);
    --glass: rgba(22, 33, 62, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.28);
    --shadow-card-hover: 0 28px 70px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 34px rgba(230, 75, 106, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* ====== RESET & BASE ====== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #0b0a10;
    background-image:
        linear-gradient(180deg, rgba(11,10,16,0.78) 0%, rgba(11,10,16,0.62) 34%, rgba(11,10,16,0.86) 74%, rgba(11,10,16,0.98) 100%),
        radial-gradient(circle at 18% 8%, rgba(217, 184, 108, 0.18), transparent 26%),
        radial-gradient(circle at 82% 28%, rgba(230, 75, 106, 0.13), transparent 24%),
        url('assets/images/wedding_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body.menu-open {
    overflow: hidden;
}

body.loaded {
    opacity: 1;
}

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

.container > * {
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ====== CUSTOM SCROLLBAR ====== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--crimson);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--crimson-dark);
}

/* ====== BACKGROUND DECORATIONS ====== */
.bg-decorations {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.07) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.bg-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    bottom: 10%;
    left: -150px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(140, 80, 120, 0.05) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-30px, 40px); }
    66% { transform: translate(20px, -20px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, -30px); }
    66% { transform: translate(-20px, 30px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, -40px); }
}

.bg-ornament {
    position: fixed;
    height: 100vh;
    width: 200px;
    top: 0;
    opacity: 0.7;
}

.bg-ornament-left {
    left: 0;
}

.bg-ornament-right {
    right: 0;
}

.bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(212, 175, 55, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
}

.bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 12, 19, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 12, 19, 0.94);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0;
}

.logo-highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.logo-tagline {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-top: -2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--crimson));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(20, 18, 29, 0.94);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px);
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(220, 20, 60, 0.1);
    color: var(--crimson);
}



/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ====== HERO SECTION ====== */
.hero {
    padding: 150px 0 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.category-banners,
.filter-section,
.template-section {
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(760px, 90vw);
    height: 420px;
    background: radial-gradient(ellipse, rgba(230, 75, 106, 0.16) 0%, rgba(217, 184, 108, 0.06) 36%, transparent 72%);
    pointer-events: none;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px 16px;
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(217, 184, 108, 0.18);
    border-radius: var(--radius-full);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-kicker::before,
.hero-kicker::after {
    content: '';
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-kicker::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    font-weight: 700;
    line-height: 1.05;
    max-width: 900px;
    margin: 0 auto 20px;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-accent {
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 42%, var(--rose-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.02rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.hero-subtitle strong {
    color: var(--gold-light);
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.hero-highlights span {
    padding: 9px 14px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ====== CATEGORY BANNERS ====== */
.category-banners {
    padding: 30px 0 44px;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.banner-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    display: block;
    aspect-ratio: 16 / 5.8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    isolation: isolate;
}

.banner-card::before {
    content: '';
    position: absolute;
    inset: 14px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    pointer-events: none;
    opacity: 0.75;
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.7s ease, filter 0.7s ease;
    filter: saturate(1.05) contrast(1.02);
}

.banner-card:hover img {
    transform: scale(1.045);
    filter: saturate(1.15) contrast(1.08);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 6, 10, 0.78) 0%, rgba(7, 6, 10, 0.24) 52%, rgba(7, 6, 10, 0.64) 100%),
        linear-gradient(180deg, rgba(217, 184, 108, 0.14), rgba(230, 75, 106, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.banner-card:hover .banner-overlay {
    background:
        linear-gradient(90deg, rgba(7, 6, 10, 0.82) 0%, rgba(7, 6, 10, 0.18) 52%, rgba(7, 6, 10, 0.58) 100%),
        linear-gradient(180deg, rgba(217, 184, 108, 0.18), rgba(230, 75, 106, 0.12));
}

.banner-overlay h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3.4rem);
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    letter-spacing: 0;
    line-height: 1.2;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.banner-card:hover .banner-overlay h2 {
    transform: translateY(-4px);
}

.banner-accent {
    color: var(--gold-light);
    font-style: italic;
}

.banner-other .banner-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.banner-other img {
    filter: grayscale(70%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.banner-other:hover img {
    filter: grayscale(40%);
}

/* ====== FILTER TABS ====== */
.filter-section {
    padding: 20px 0 24px;
}

.filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.filter-btn.active {
    color: #18111b;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 28px rgba(217, 184, 108, 0.24);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
}

.filter-btn.active .filter-count {
    background: rgba(24, 17, 27, 0.12);
}

/* ====== TEMPLATE GRID ====== */
.template-section {
    padding: 26px 0 94px;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ====== TEMPLATE CARD ====== */
.template-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease both;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
}

.template-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 227, 161, 0.35), transparent 45%, rgba(230, 75, 106, 0.28));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-card:hover::before {
    opacity: 1;
}

.template-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(217, 184, 108, 0.28);
}

.card-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    border-radius: 18px 18px 0 0;
}

.card-image-container::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.56));
    pointer-events: none;
    z-index: 1;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease, filter 0.65s ease;
    filter: saturate(0.98) contrast(1.02);
}

.template-card:hover .card-image-container img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.06);
}

.card-category {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    top: auto;
    transform: none;
    padding: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    z-index: 2;
    white-space: normal;
    letter-spacing: 0;
    border: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.card-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    transition: var(--transition);
    z-index: 1;
}

.template-card:hover .card-play-overlay {
    background: rgba(0, 0, 0, 0.18);
}

.play-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 227, 161, 0.95), rgba(230, 75, 106, 0.92));
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36), 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.template-card:hover .play-btn {
    transform: scale(1);
}

.play-btn svg {
    width: 24px;
    height: 24px;
}

.card-footer {
    padding: 14px 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-footer::after {
    content: 'Lihat preview';
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.3s ease;
}

.template-card:hover .card-footer::after {
    color: var(--gold-light);
    transform: translateX(2px);
}

.tier-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: lowercase;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.tier-adat {
    background: linear-gradient(135deg, rgba(217, 184, 108, 0.18), rgba(255, 227, 161, 0.1));
    color: var(--gold-light);
    border: 1px solid rgba(217, 184, 108, 0.26);
}

.tier-midnight {
    background: linear-gradient(135deg, rgba(138, 92, 246, 0.22), rgba(230, 75, 106, 0.12));
    color: #d7c8ff;
    border: 1px solid rgba(138, 92, 246, 0.28);
}

/* ====== VIDEO MODAL ====== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 5, 10, 0.88);
    backdrop-filter: blur(12px);
}

.modal-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.video-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: linear-gradient(135deg, var(--gold), var(--crimson));
    border-color: rgba(255, 255, 255, 0.18);
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    max-height: 560px;
    background: #17151c;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 28px 80px rgba(0, 0, 0, 0.58),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-notch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px 8px;
    background: #17151c;
    position: relative;
    z-index: 2;
}

.phone-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #30d158;
    border-radius: 50%;
}

.phone-screen {
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    position: relative;
    background: #000;
}

.phone-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-preview-video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.phone-template-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 0 20px;
    width: 100%;
    pointer-events: none;
    opacity: 0;
}

.phone-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px 16px;
    background: #17151c;
}

.preview-label {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.modal-info {
    text-align: center;
}

.modal-link-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.modal-privacy {
    color: var(--text-secondary);
}

.modal-detail-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.modal-detail-link:hover {
    color: var(--crimson);
}

.modal-tutup-btn {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: #1b1520;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    padding: 10px 22px;
    box-shadow: 0 14px 30px rgba(217, 184, 108, 0.22);
}

.modal-tutup-btn:hover {
    color: #1b1520;
    transform: translateY(-2px);
}

/* ====== CHAT WIDGET ====== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.chat-tooltip {
    padding: 8px 16px;
    font-size: 0.8rem;
    color: var(--text-primary);
    background: rgba(23, 20, 33, 0.92);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    pointer-events: none;
}

.chat-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    background: #25d366;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.28);
    animation: chatPulse 3s ease-in-out infinite;
}

.chat-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    animation: none;
}

.chat-label {
    font-weight: 600;
}

/* ====== FOOTER ====== */
.footer {
    background: linear-gradient(180deg, rgba(23, 20, 33, 0.68), rgba(10, 9, 14, 0.96));
    border-top: 1px solid var(--border-subtle);
    padding: 70px 0 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--gold), var(--crimson));
    border-color: rgba(255, 255, 255, 0.16);
    color: white;
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--crimson);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes chatPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.5), 0 0 0 8px rgba(37, 211, 102, 0.08);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card scroll animation */
.template-card {
    opacity: 0;
    transform: translateY(30px);
}

.template-card.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* For cards visible on initial load */
.template-card:nth-child(1) { animation-delay: 0s; }
.template-card:nth-child(2) { animation-delay: 0.1s; }
.template-card:nth-child(3) { animation-delay: 0.2s; }
.template-card:nth-child(4) { animation-delay: 0.3s; }
.template-card:nth-child(5) { animation-delay: 0.4s; }
.template-card:nth-child(6) { animation-delay: 0.5s; }
.template-card:nth-child(7) { animation-delay: 0.6s; }
.template-card:nth-child(8) { animation-delay: 0.7s; }
.template-card:nth-child(9) { animation-delay: 0.8s; }
.template-card:nth-child(10) { animation-delay: 0.9s; }

/* ====== RESPONSIVE - TABLET ====== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(16, 14, 24, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border-subtle);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }


    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }

    .banner-overlay h2 {
        font-size: 1.3rem;
    }

    .banner-card {
        aspect-ratio: 16 / 7;
    }

    .template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .modal-close {
        top: -30px;
        right: 0px;
    }

    .phone-mockup {
        width: 250px;
    }
}

/* ====== RESPONSIVE - MOBILE ====== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 118px 0 34px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-kicker {
        font-size: 0.68rem;
        padding: 7px 12px;
    }

    .hero-highlights {
        justify-content: flex-start;
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }

    .banner-card {
        aspect-ratio: 4 / 3;
        border-radius: 18px;
    }

    .banner-card::before {
        inset: 10px;
        border-radius: 13px;
    }

    .banner-overlay h2 {
        font-size: 1.5rem;
    }

    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        width: 100%;
        border-radius: 18px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .template-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-footer::after {
        font-size: 0.72rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .phone-mockup {
        width: 220px;
    }

    .phone-bottom-bar {
        gap: 4px;
        padding: 8px 8px 12px;
    }



    .chat-btn {
        padding: 10px 16px;
    }

    .chat-label {
        display: none;
    }
}
