
/* ===================================================== */
/* ROOT CSS VARIABLES - SOFT LUXURY / EDITORIAL THEME */
/* ===================================================== */
:root {
    /* Backgrounds */
    --bg-main: #fefefe;
    --bg-footer: #f9f7f3;
    --bg-accent: #d4a574;
    --bg-dark: #2a2a2a;

    /* Base Colors */
    --white: #ffffff;
    --black: #000000;

    /* Primary (Elegant Dark Charcoal) */
    --primary: #2a2a2a;
    --primary-light: #444444;
    --primary-lighter: #666666;
    --primary-dark: #1c1c1c;

    /* Secondary (Warm Gold Accent) */
    --secondary: #d4a574;
    --secondary-light: #e2bf97;
    --secondary-lighter: #f0dbc3;
    --secondary-dark: #b8915f;

    /* Accent (Muted Warm Neutrals) */
    --accent-navy: #3b3b3b;
    --accent-navy-light: #555555;
    --accent-navy-dark: #1f1f1f;

    /* Neutrals */
    --light-gray: #f4f4f4;
    --medium-gray: #eeeeee;
    --dark-gray: #777777;

    /* Text */
    --text-primary: #2a2a2a;
    --text-secondary: #777777;
    --text-light: #999999;
    --text-on-primary: #ffffff;

    /* Borders */
    --border-light: #eeeeee;
    --border-accent: #e8e0d4;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xl: 80px;
    --space-lg: 60px;
    --space-md: 40px;
    --space-sm: 20px;
    --space-xs: 10px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 100%);
    --secondary-gradient: linear-gradient(135deg, #d4a574 0%, #e2bf97 100%);
    --accent-gradient: linear-gradient(135deg, #2a2a2a 0%, #444444 100%);

    /* Logo Gradient */
    --logo-gradient: linear-gradient(
        90deg,
        #2a2a2a 0%,
        #2a2a2a 55%,
        #d4a574 55%,
        #d4a574 100%
    );

    /* Glow Effects (Soft Luxury) */
    --primary-glow: 0 0 20px rgba(42, 42, 42, 0.35);
    --secondary-glow: 0 0 25px rgba(212, 165, 116, 0.45);
    --accent-glow: 0 0 18px rgba(0, 0, 0, 0.25);

    /* Shadows */
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 15px 40px rgba(0, 0, 0, 0.18);
}

/* Keyframes for animations */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes metallic-shift {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}
@keyframes shine {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Enhanced Button System using Brand Colors */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(44, 166, 164, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow:
        0 12px 30px rgba(44, 166, 164, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow:
        0 4px 15px rgba(44, 166, 164, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:focus {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(44, 166, 164, 0.2),
        0 6px 20px rgba(44, 166, 164, 0.3);
}

/* Secondary Button */
.btn-secondary {
    background: var(--secondary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(123, 192, 67, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s;
}

.btn-secondary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow:
        0 12px 30px rgba(123, 192, 67, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover::before {
    left: 100%;
}

/* Outline Button */
.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 10px 26px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.4s;
    z-index: -1;
}

.btn-outline-primary:hover {
    color: white;
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 166, 164, 0.25);
}

.btn-outline-primary:hover::before {
    left: 0;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 10px 26px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-gradient);
    transition: left 0.4s;
    z-index: -1;
}

.btn-outline-secondary:hover {
    color: white;
    border-color: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 192, 67, 0.25);
}

.btn-outline-secondary:hover::before {
    left: 0;
}

/* Accent/Dark Button */
.btn-accent {
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(31, 45, 61, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-accent:hover {
    background: var(--accent-navy-light);
    transform: translateY(-3px);
    box-shadow:
        0 12px 30px rgba(31, 45, 61, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Get Code Button - Enhanced */
.get-code-btn {
    width: 100%;
    padding: 14px 32px;
    background: var(--secondary-gradient);
    color: var(--text-primary);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 8px 25px rgba(67, 113, 192, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.get-code-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: translateX(-100%);
    animation: shine 3.5s ease-in-out infinite;
    pointer-events: none;
}

.get-code-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 14px 35px rgba(67, 161, 192, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}


/* Deal Button - Enhanced */
.deal-btn {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow:
        0 8px 25px rgba(42, 42, 42, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.deal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transform: translateX(-100%);
    animation: shine 4s ease-in-out infinite;
    pointer-events: none;
}

.deal-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 14px 35px rgba(42, 42, 42, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-ghost:hover {
    background: rgba(44, 166, 164, 0.05);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Icon Button */
.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    color: var(--text-secondary);
    border: none;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(44, 166, 164, 0.3);
}

/* Badge/Count Button */
.btn-badge {
    background: var(--secondary);
    color: white;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}

.btn-badge:hover {
    background: var(--secondary-dark);
    transform: scale(1.1);
}

/* Floating Action Button */
.btn-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-gradient);
    color: white;
    border: none;
    font-size: 1.5rem;
    box-shadow:
        0 6px 20px rgba(123, 192, 67, 0.4),
        0 0 30px rgba(123, 192, 67, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-fab:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow:
        0 10px 30px rgba(123, 192, 67, 0.6),
        0 0 40px rgba(123, 192, 67, 0.4);
}

/* Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: button-spin 0.8s linear infinite;
}

@keyframes button-spin {
    to { transform: rotate(360deg); }
}

/* Sizes */
.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 10px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.2rem;
    border-radius: 14px;
}

.btn-xl {
    padding: 20px 50px;
    font-size: 1.4rem;
    border-radius: 16px;
    font-weight: 900;
}

/* Full Width */
.btn-block {
    display: block;
    width: 100%;
}

/* Button Groups */
.btn-group {
    display: inline-flex;
    gap: 10px;
}

.btn-group .btn {
    margin: 0;
}

/* Disabled State */
.btn:disabled,
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn:disabled:hover,
.btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary,
    .btn-accent,
    .get-code-btn,
    .deal-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 14px 30px;
        font-size: 1.1rem;
    }

    .btn-xl {
        padding: 16px 35px;
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    .btn-primary,
    .btn-secondary,
    .btn-accent,
    .get-code-btn,
    .deal-btn {
        background: #f0f0f0 !important;
        color: #000 !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}
