* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "DM Sans", sans-serif;
    background: #fcf9fb;
    color: #30262d;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}
/* =========================
   NAVBAR
========================= */
.navbar {
    position: fixed;
    z-index: 999;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 1100px;
    padding: 12px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 999px;
    box-shadow:
        0 20px 60px rgba(30,20,25,.08);
}
.logo {
    color: #30262d;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.7px;
}
.logo span {
    color: #e45c92;
}
.nav-menu {
    display: flex;
    gap: 25px;
}
.nav-menu a {
    color: #655960;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}
.nav-menu a:hover {
    color: #e45c92;
}
.nav-order {
    color: #e45c92;
    font-size: 13px;
    font-weight: 800;
}
/* =========================
   HERO
========================= */
.hero {
    min-height: 92vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 20px 70px;
    background:
        radial-gradient(
            circle at 15% 25%,
            #ffd8e8,
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 15%,
            #e6ddff,
            transparent 30%
        ),
        radial-gradient(
            circle at 50% 110%,
            #ffe6d7,
            transparent 35%
        ),
        #fff;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 820px;
}
.hero-icon {
    font-size: 58px;
    margin-bottom: 20px;
    animation:
        floating 3s ease-in-out infinite;
}
@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}
.eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #9a8c94;
}
.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(60px, 11vw, 110px);
    line-height: .9;
    letter-spacing: -6px;
    margin: 22px 0;
}
.hero h1 span {
    color: #e45c92;
}
.hero p {
    max-width: 650px;
    margin: auto;
    color: #756970;
    font-size: 17px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.btn-primary,
.btn-secondary {
    padding: 15px 23px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    transition: .25s;
}
.btn-primary {
    color: white;
    background: #e45c92;
    box-shadow:
        0 15px 35px rgba(228,92,146,.3);
}
.btn-secondary {
    color: #30262d;
    background: rgba(255,255,255,.8);
    border: 1px solid #eadfe5;
}
.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-4px);
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.8);
    pointer-events: none;
}
.orb-one {
    width: 520px;
    height: 520px;
    animation: rotate 35s linear infinite;
}
.orb-two {
    width: 350px;
    height: 350px;
    animation:
        rotate 24s linear infinite reverse;
}
@keyframes rotate {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}
/* =========================
   SECTION
========================= */
.section {
    max-width: 1120px;
    margin: auto;
    padding: 95px 18px;
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 28px;
}
.section-head h2 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    letter-spacing: -2px;
    margin-top: 8px;
}
.section-head p {
    max-width: 310px;
    color: #8b7d85;
    font-size: 13px;
    line-height: 1.7;
}
/* =========================
   FILTER
========================= */
.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.filter {
    border: 1px solid #eadfe5;
    background: white;
    color: #554950;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    transition: .2s;
}
.filter:hover {
    color: #e45c92;
    border-color: #e45c92;
}
.filter.active {
    background: #30262d;
    color: white;
    border-color: #30262d;
}
/* =========================
   GRID
========================= */
.template-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 18px;
}
.template-card {
    background: white;
    border: 1px solid #eee4e9;
    border-radius: 28px;
    padding: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 65px rgba(45,25,35,.06);
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity .7s,
        transform .7s,
        box-shadow .3s;
}
.template-card.show {
    opacity: 1;
    transform: translateY(0);
}
.template-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 30px 80px rgba(45,25,35,.13);
}
.template-card.hidden {
    display: none;
}
/* =========================
   PREVIEW
========================= */
.template-preview {
    height: 245px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.template-preview span {
    position: relative;
    z-index: 3;
    font-size: 72px;
    animation:
        floating 4s ease-in-out infinite;
}
.template-preview.ultah {
    background:
        radial-gradient(
            circle at 25% 20%,
            white,
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffd8e8,
            #fff
        );
}
.template-preview.valentine {
    background:
        radial-gradient(
            circle at 70% 25%,
            white,
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffd0d8,
            #ffede6
        );
}
.template-preview.kelulusan {
    background:
        radial-gradient(
            circle at 30% 25%,
            white,
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #d8f5ed,
            #e7f3ff
        );
}
.preview-glow {
    position: absolute;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,.5);
    border-radius: 50%;
    filter: blur(10px);
}
/* =========================
   CARD
========================= */
.card-content {
    padding: 5px 3px;
}
.card-category {
    margin-top: 13px;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    color: #a09199;
}
.card-content h3 {
    font-size: 20px;
    margin: 7px 0;
}
.card-content p {
    color: #8b7d85;
    font-size: 13px;
    line-height: 1.6;
}
.preview-link {
    display: inline-block;
    margin-top: 14px;
    color: #e45c92;
    font-size: 13px;
    font-weight: 800;
}
.preview-link span {
    display: inline-block;
    transition: .2s;
}
.preview-link:hover span {
    transform: translateX(5px);
}
/* =========================
   CUSTOM SECTION
========================= */
.custom-section {
    background: #241d22;
    color: white;
    padding: 90px 18px;
}
.custom-wrapper {
    max-width: 1080px;
    margin: auto;
    display: grid;
    grid-template-columns:
        1.1fr .9fr;
    gap: 45px;
    align-items: center;
}
.custom-text .eyebrow {
    color: #aaa0a6;
}
.custom-text h2 {
    font-family: "Playfair Display", serif;
    font-size: 50px;
    line-height: 1;
    letter-spacing: -2px;
    margin: 15px 0 20px;
}
.custom-text p {
    max-width: 540px;
    color: #bdb3b8;
    line-height: 1.8;
    font-size: 14px;
}
/* FEATURES */
.feature-grid {
    display: grid;
    grid-template-columns:
        repeat(2,1fr);
    gap: 10px;
}
.feature {
    padding: 21px;
    border-radius: 20px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.08);
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity .6s,
        transform .6s;
}
.feature.show {
    opacity: 1;
    transform: translateY(0);
}
.feature-icon {
    font-size: 25px;
    margin-bottom: 10px;
}
.feature strong {
    display: block;
    margin-bottom: 6px;
}
.feature small {
    color: #aaa0a6;
    line-height: 1.5;
}
/* =========================
   CONTACT
========================= */
.contact-section {
    max-width: 1120px;
    margin: auto;
    padding: 80px 18px;
}
.contact-card {
    padding: 35px;
    border-radius: 32px;
    background: white;
    border: 1px solid #eee4e9;
    box-shadow:
        0 20px 70px rgba(45,25,35,.06);
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity .7s,
        transform .7s;
}
.contact-card.show {
    opacity: 1;
    transform: translateY(0);
}
.contact-left {
    max-width: 600px;
}
.contact-left h2 {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    margin: 10px 0;
}
.contact-left p {
    color: #8b7d85;
    line-height: 1.7;
    font-size: 14px;
}
.contact-right {
    min-width: 250px;
}
.contact-number {
    color: #8b7d85;
    font-size: 12px;
    margin-bottom: 12px;
}
.contact-number strong {
    display: block;
    color: #30262d;
    font-size: 16px;
    margin-top: 4px;
}
.whatsapp-btn {
    display: block;
    text-align: center;
    padding: 14px 20px;
    background: #25d366;
    color: white;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    transition: .2s;
}
.whatsapp-btn:hover {
    transform: translateY(-3px);
}
/* =========================
   FOOTER
========================= */
footer {
    padding: 45px 20px;
    text-align: center;
    color: #9a8c94;
    font-size: 12px;
}
footer strong {
    color: #30262d;
    font-size: 15px;
    margin-right: 5px;
}
footer span {
    margin: 0 4px;
}
/* =========================
   MOBILE
========================= */
@media(max-width:850px) {
    .template-grid {
        grid-template-columns:
            repeat(2,1fr);
    }
    .custom-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-card {
        display: block;
    }
    .contact-right {
        margin-top: 25px;
    }
}
@media(max-width:600px) {
    .navbar {
        top: 10px;
        width: calc(100% - 20px);
    }
    .nav-menu {
        display: none;
    }
    .hero {
        min-height: 88vh;
        padding-top: 100px;
    }
    .hero h1 {
        font-size: 60px;
        letter-spacing: -4px;
    }
    .hero p {
        font-size: 15px;
    }
    .section {
        padding: 70px 15px;
    }
    .section-head {
        display: block;
    }
    .section-head h2 {
        font-size: 40px;
    }
    .section-head p {
        margin-top: 12px;
    }
    .template-grid {
        grid-template-columns: 1fr;
    }
    .template-preview {
        height: 250px;
    }
    .custom-section {
        padding: 70px 15px;
    }
    .custom-text h2 {
        font-size: 40px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .contact-section {
        padding: 60px 15px;
    }
    .contact-card {
        padding: 25px;
    }
    .contact-left h2 {
        font-size: 31px;
    }
}