:root {
    /* Color Palette */
    --color-ruby: #9B111E;
    --color-ruby-dark: #6C0B14;
    --color-gold: #D4AF37;
    --color-gold-light: #F3E5AB;
    --color-ivory: #FFFFF0;
    --color-cream: #FFFDD0;
    --color-teal: #008080;
    --color-teal-electric: #00E5FF;
    --color-text-dark: #2C2C2C;
    --color-text-light: #FDFDFD;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-ivory);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--color-ruby);
}

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

.grid {
    display: grid;
    gap: 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: transparent;
}
.header.scrolled {
    background-color: rgba(255, 255, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(45deg, var(--color-ruby), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition-smooth);
}
.header:not(.scrolled) .nav-link {
    color: var(--color-text-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link:hover {
    color: var(--color-ruby);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-ruby);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-image: url('../assets/images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(155, 17, 30, 0.7), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--color-gold-light);
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-ruby-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.btn-primary:hover {
    background-color: var(--color-ruby);
    color: var(--color-gold-light);
    box-shadow: 0 6px 20px rgba(155, 17, 30, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-ruby);
    color: var(--color-ruby);
}
.btn-outline:hover {
    background-color: var(--color-ruby);
    color: var(--color-ivory);
}

/* Ripple Effect */
.ripple .ripple-span {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}
@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Sections Common */
section {
    padding: 6rem 0;
}
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
}

/* Cards (Services & Pricing) */
.card {
    position: relative;
    background-color: var(--color-cream);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    z-index: 1;
}

.card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    transform: translate(-50%, -50%);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--color-teal-electric);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.15);
}

/* Services Grid */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-ruby), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-ivory);
    transition: var(--transition-smooth);
}
.card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-electric));
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}
.card-link {
    font-weight: 600;
    color: var(--color-ruby);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}
.card:hover .card-link {
    color: var(--color-teal-electric);
}

/* Pricing Grid */
.pricing {
    background-color: var(--color-ruby-dark);
    position: relative;
    color: var(--color-ivory);
}
.pricing::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 50%);
}
.pricing .section-title {
    color: var(--color-gold-light);
}
.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-ivory);
}
.glassmorphism h3 {
    color: var(--color-gold);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 1px solid var(--color-gold);
    background: rgba(255, 255, 255, 0.1);
}
.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}
.badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--color-gold);
    color: var(--color-ruby-dark);
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 1.5rem 0;
    color: var(--color-ivory);
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}
.features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}
.features i {
    color: var(--color-gold);
}
.features i.inactive {
    color: rgba(255, 255, 255, 0.3);
}

.btn-buy {
    width: 100%;
}
.pricing-card:not(.featured) .btn-outline {
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.pricing-card:not(.featured) .btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-ruby-dark);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 4rem 0 0;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-brand h3 {
    color: var(--color-gold);
    margin-bottom: 1rem;
}
.footer-contact h4 {
    color: var(--color-ivory);
    margin-bottom: 1rem;
}
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}
.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #111;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-ivory);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .header.scrolled .nav-menu {
        background: rgba(255, 255, 240, 0.95);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-link {
        color: var(--color-text-dark) !important;
        text-shadow: none !important;
    }
    .mobile-toggle {
        display: block;
    }
}
