/* =========================================
   Global
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

.font-serif {
    font-family: "Playfair Display", serif;
}

/* =========================================
   Animations
========================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes floatReverse {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(12px) rotate(-3deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(200, 155, 60, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(200, 155, 60, 0);
    }
}

@keyframes heartBeat {
    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }
}

@keyframes pulse-online {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

/* =========================================
   Animation Classes
========================================= */

.animate-fadeInUp {
    animation: fadeInUp 0.7s ease forwards;
    opacity: 0;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.animate-slideDown {
    animation: slideDown 0.5s ease forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: floatReverse 7s ease-in-out infinite;
}

.animate-shimmer {
    animation: shimmer 3s linear infinite;
    background-size: 200% 100%;
}

.animate-pulse-glow {
    animation: pulseGlow 2s infinite;
}

.animate-heart {
    animation: heartBeat 1.5s ease-in-out infinite;
}

/* =========================================
   Gradients
========================================= */

.hero-gradient {
    background: linear-gradient(
        135deg,
        rgba(141, 19, 41, 0.88) 0%,
        rgba(47, 47, 47, 0.75) 100%
    );
}

.gold-gradient {
    background: linear-gradient(135deg, #c89b3c 0%, #e8c86c 50%, #c89b3c 100%);
}

.maroon-gradient {
    background: linear-gradient(135deg, #8d1329 0%, #b5193a 100%);
}

.gold-gradient-text {
    background: linear-gradient(90deg, #c89b3c, #e8c86c, #c89b3c);

    background-size: 200% auto;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    animation: shimmer 4s linear infinite;
}

/* =========================================
   Buttons
========================================= */

.btn-primary,
.btn-premium {
    background: linear-gradient(135deg, #8d1329 0%, #b5193a 100%);

    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-premium:hover {
    background: linear-gradient(135deg, #b5193a 0%, #d4254f 100%);

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(141, 19, 41, 0.35);
}

.btn-gold {
    background: linear-gradient(135deg, #c89b3c 0%, #e8c86c 100%);

    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #e8c86c 0%, #f0d68a 100%);

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(200, 155, 60, 0.35);
}

/* =========================================
   Cards
========================================= */

.card-hover,
.testimonial-card,
.plan-card {
    transition: all 0.4s ease;
}

.card-hover:hover,
.plan-card:hover {
    transform: translateY(-10px);

    box-shadow: 0 20px 40px rgba(141, 19, 41, 0.15);
}

.testimonial-card:hover {
    transform: scale(1.02);
}

.plan-popular {
    border: 2px solid #c89b3c;
}

/* =========================================
   Section Reveal
========================================= */

.section-reveal {
    opacity: 0;
    transform: translateY(40px);

    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Navigation
========================================= */

.nav-link {
    position: relative;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -2px;

    width: 0;
    height: 2px;

    background: #c89b3c;

    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* =========================================
   Mobile Menu
========================================= */

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* =========================================
   Inputs
========================================= */

.search-input {
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #c89b3c;

    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.15);
}

select {
    appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238d1329' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* =========================================
   Utility
========================================= */

.online-dot {
    width: 10px;
    height: 10px;

    background: #22c55e;

    border-radius: 50%;

    display: inline-block;

    animation: pulse-online 1.5s infinite;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    background: linear-gradient(135deg, #c89b3c, #e8c86c);

    color: #fff;

    font-size: 10px;

    padding: 2px 8px;

    border-radius: 12px;

    font-weight: 600;
}

/* =========================================
   Timeline
========================================= */

.timeline-dot::before {
    content: "";

    position: absolute;

    left: -28px;
    top: 8px;

    width: 16px;
    height: 16px;

    background: #c89b3c;

    border-radius: 50%;

    border: 4px solid #faf7f2;

    box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.3);
}

.step-line {
    position: relative;
}

.step-line::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 100%;

    width: 100%;
    height: 2px;

    background: linear-gradient(90deg, #c89b3c, #8d1329);
}

/* =========================================
   Blog
========================================= */

.blog-img {
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

/* =========================================
   Patterns
========================================= */

.hero-pattern,
.pattern-overlay {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c89b3c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* =========================================
   Scrollbar
========================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf7f2;
}

::-webkit-scrollbar-thumb {
    background: #8d1329;
    border-radius: 4px;
}
