* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    position: fixed;
    width: 100%;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background: #f8faf9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3748;
    -webkit-font-smoothing: antialiased;
}

/* ========== CONTAINER ========== */
.container {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========== HANGING BRAND LOGO ========== */
.hanging-brand {
    position: fixed;
    top: 0;
    left: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    animation: brandSwing 6s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes brandSwing {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

.hanging-rope {
    width: 1.5px;
    height: 40px;
    background: linear-gradient(to bottom, #cbd5e0, #a0aec0);
    border-radius: 1px;
}

.hanging-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e2e8f0;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hanging-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(74, 124, 89, 0.15);
    border-color: #4a7c59;
}

.hanging-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
    .hanging-brand {
        animation: none;
    }

    .hanging-circle {
        transition: none;
    }
}

/* ========== BACKGROUND LEAVES ========== */
.leaf {
    position: absolute;
    border-radius: 0 100% 100% 0 / 0 50% 50% 0;
    opacity: 0.08;
    pointer-events: none;
    will-change: transform;
}

.leaf--1 {
    width: 140px;
    height: 80px;
    background: #4a7c59;
    top: -20px;
    right: -30px;
    animation: floatA 8s ease-in-out infinite;
}

.leaf--2 {
    width: 100px;
    height: 60px;
    background: #6b9e78;
    bottom: 5%;
    left: -25px;
    animation: floatB 10s ease-in-out infinite reverse;
}

.leaf--3 {
    width: 80px;
    height: 45px;
    background: #5b8e68;
    bottom: -15px;
    right: 30px;
    animation: floatC 7s ease-in-out infinite 2s;
}

@keyframes floatA {

    0%,
    100% {
        transform: rotate(120deg) translateY(0);
    }

    50% {
        transform: rotate(120deg) translateY(-18px);
    }
}

@keyframes floatB {

    0%,
    100% {
        transform: rotate(-30deg) translateY(0);
    }

    50% {
        transform: rotate(-30deg) translateY(-18px);
    }
}

@keyframes floatC {

    0%,
    100% {
        transform: rotate(200deg) translateY(0);
    }

    50% {
        transform: rotate(200deg) translateY(-18px);
    }
}

/* ========== CARD ========== */
.card {
    background: transparent;
    border-radius: 24px;
    padding: 48px 36px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeUp 0.6s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SVG ICON ========== */
.icon-wrapper {
    margin-bottom: 24px;
}

.icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
}

.icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* SVG sub-elements: GPU-composited transforms only */
.pot {
    animation: bob 3s ease-in-out infinite;
}

.stem {
    animation: sway 4s ease-in-out infinite;
    transform-origin: 60px 85px;
}

.leaf-left {
    animation: swayL 4s ease-in-out infinite;
    transform-origin: 60px 65px;
}

.leaf-right {
    animation: swayR 4s ease-in-out infinite 0.5s;
    transform-origin: 60px 55px;
}

.leaf-top {
    animation: swayT 3.5s ease-in-out infinite 1s;
    transform-origin: 60px 50px;
}

.dot-1,
.dot-2,
.dot-3 {
    animation: pulse 2s ease-in-out infinite;
}

.dot-2 {
    animation-delay: 0.4s;
}

.dot-3 {
    animation-delay: 0.8s;
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes sway {

    0%,
    100% {
        transform: rotate(-1deg);
    }

    50% {
        transform: rotate(1.5deg);
    }
}

@keyframes swayL {

    0%,
    100% {
        transform: rotate(-1deg);
    }

    50% {
        transform: rotate(2deg);
    }
}

@keyframes swayR {

    0%,
    100% {
        transform: rotate(1deg);
    }

    50% {
        transform: rotate(-2deg);
    }
}

@keyframes swayT {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(2deg) scale(1.05);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* ========== TEXT ========== */
.title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #4a7c59, #2d5a3b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #2d5a3b;
    margin-bottom: 4px;
    animation: fadeUp 0.6s ease-out 0.1s both;
}

.subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    animation: fadeUp 0.6s ease-out 0.2s both;
}

.desc {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 32px;
    animation: fadeUp 0.6s ease-out 0.3s both;
}

/* ========== BUTTON ========== */
.btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #4a7c59, #2d5a3b);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeUp 0.6s ease-out 0.4s both;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 124, 89, 0.25);
}

.btn:active {
    transform: translateY(0);
}

/* ========== LINKS ========== */
.links {
    margin-top: 28px;
    display: flex;
    gap: 24px;
    justify-content: center;
    animation: fadeUp 0.6s ease-out 0.5s both;
}

.links a {
    color: #4a7c59;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #4a7c59;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s;
}

.links a:hover {
    color: #2d5a3b;
}

.links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
    .card {
        padding: 36px 24px 32px;
    }

    .title {
        font-size: 56px;
    }

    .subtitle {
        font-size: 18px;
    }

    .icon {
        width: 100px;
        height: 100px;
    }

    .leaf--1,
    .leaf--2,
    .leaf--3 {
        animation: none;
    }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    .leaf {
        animation: none;
    }

    .card,
    .title,
    .subtitle,
    .desc,
    .btn,
    .links {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .pot,
    .stem,
    .leaf-left,
    .leaf-right,
    .leaf-top,
    .dot-1,
    .dot-2,
    .dot-3 {
        animation: none;
    }

    .btn {
        transition: none;
    }

    .links a::after {
        transition: none;
    }
}