/* ============================================
   MIRAGIFT ENTERPRISE - Professional Styles
   White (#FFFFFF) + Royal Gold (#D4AF37) + Black (#000000)
   ============================================ */

/* ============================================
   IMPORTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --white: #FFFFFF;
    --off-white: #F7F5F0;
    --black: #000000;
    --dark: #111111;
    --gray-900: #1A1A1A;
    --gray-700: #333333;
    --gray-500: #666666;
    --gray-300: #B0B0B0;
    --gray-100: #E8E4D8;
    
    --gold: #D4AF37;
    --gold-light: #E8C84A;
    --gold-dark: #B8960F;
    --gold-subtle: rgba(212, 175, 55, 0.08);
    --gold-glow: rgba(212, 175, 55, 0.15);
    --gold-gradient: linear-gradient(135deg, #D4AF37, #E8C84A);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --section-padding: 80px 0;
    --container-max: 1200px;
}

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

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

body {
    font-family: var(--font-primary);
    background: var(--white);
    color: var(--black);
    line-height: 1.7;
    padding-top: 76px;
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-dark);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--black);
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
}

h3 {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
}

h4 {
    font-size: clamp(1.1rem, 1.4vw, 1.25rem);
}

p {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.gold-text {
    color: var(--gold) !important;
}

.gold-bg {
    background: var(--gold) !important;
}

.gold-border {
    border-color: var(--gold) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-gray {
    color: var(--gray-500) !important;
}

.bg-off-white {
    background: var(--off-white) !important;
}

.bg-black {
    background: var(--black) !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

.btn-gold-outline {
    display: inline-block;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-gold-outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
}

.btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--gold);
    border: 2px solid var(--white);
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-white-outline:hover {
    background: var(--white);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

/* ============================================
   NAVIGATION - PREMIUM GLASS GOLD
   ============================================ */
.navbar-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--gold);
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 40px rgba(212, 175, 55, 0.06);
}

.navbar-main.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.navbar-main .navbar {
    padding: 0.6rem 0;
}

.navbar-main .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--black);
    letter-spacing: -0.5px;
}

.navbar-main .navbar-brand span {
    color: var(--gold);
}

.navbar-main .nav-link {
    color: var(--gray-500) !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 6px;
}

.navbar-main .nav-link i {
    margin-right: 6px;
    font-size: 0.8rem;
    color: var(--gold);
}

.navbar-main .nav-link:hover {
    color: var(--black) !important;
    background: var(--gold-subtle);
}

.navbar-main .nav-link.active {
    color: var(--gold) !important;
    background: var(--gold-subtle);
}

.navbar-main .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.navbar-main .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.navbar-main .dropdown-item {
    color: var(--gray-500);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.navbar-main .dropdown-item i {
    margin-right: 8px;
    color: var(--gold);
    width: 20px;
    text-align: center;
}

.navbar-main .dropdown-item:hover {
    background: var(--gold-subtle);
    color: var(--gold);
}

.navbar-main .navbar-toggler {
    border: 1px solid var(--gray-100);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
}

.navbar-main .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-main .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 992px) {
    body {
        padding-top: 68px;
    }
    .navbar-main .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 0.5rem;
        border: 1px solid var(--gray-100);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    }
    .navbar-main .nav-link.active::after {
        display: none;
    }
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: var(--section-padding);
}

.section-label {
    display: inline-block;
    background: var(--gold-subtle);
    color: var(--gold);
    padding: 0.2rem 1.2rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
    margin: 1rem 0 1.5rem;
}

.section-divider.center {
    margin: 1rem auto 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--white);
    padding: 80px 0 40px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.06), transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .lead {
    font-size: 1.2rem;
    color: var(--gray-500);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero .hero-badge {
    display: inline-block;
    background: var(--gold-subtle);
    color: var(--gold);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.hero .hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-100);
}

.hero .hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1;
}

.hero .hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.hero .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero .hero-visual .orb {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.12), transparent 70%);
    animation: floatOrb 6s ease-in-out infinite;
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 60px 0 30px;
    }
    .hero .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .hero .hero-visual .orb {
        width: 250px;
        height: 250px;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero .hero-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .hero .hero-stats .stat-number {
        font-size: 2rem;
    }
}

/* ============================================
   CARDS
   ============================================ */
.card-premium {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-premium:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.06);
}

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

.card-premium .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--gold-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.card-premium:hover .card-icon {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.05);
}

.card-premium h3 {
    margin-bottom: 0.5rem;
}

.card-premium p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Platform Cards */
.platform-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.platform-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.06);
}

.platform-card .platform-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
    margin: 0 auto 1rem;
    transition: all 0.4s ease;
}

.platform-card:hover .platform-icon {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.05) rotate(-3deg);
}

.platform-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.platform-card .platform-sub {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* ============================================
   STATS
   ============================================ */
.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    display: block;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 1rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* ============================================
   CTA GOLD
   ============================================ */
.cta-gold {
    background: var(--gold);
    padding: 80px 0;
    text-align: center;
}

.cta-gold h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cta-gold p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--white);
    padding: 60px 0 30px;
    border-top: 2px solid var(--gold);
}

.footer .footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--black);
}

.footer .footer-brand span {
    color: var(--gold);
}

.footer .footer-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
    max-width: 280px;
    margin-top: 0.25rem;
}

.footer h5 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.4rem;
}

.footer ul li a {
    color: var(--gray-500);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer .social-links a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gray-100);
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer .footer-bottom {
    border-top: 1px solid var(--gray-100);
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer .footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

@media (max-width: 768px) {
    .footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 576px) {
    :root {
        --section-padding: 50px 0;
    }
    .btn-gold,
    .btn-gold-outline,
    .btn-white,
    .btn-white-outline {
        padding: 0.5rem 1.5rem;
        font-size: 0.8rem;
    }
    .card-premium {
        padding: 1.5rem;
    }
    .platform-card {
        padding: 1.5rem;
    }
    .platform-card .platform-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}