/* Global Styles */
:root {
    --primary-color: #888888;
    /* Gray */
    --hover-color: #aaaaaa;
    --bg-dark: #111111;
    --bg-darker: #0a0a0a;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
}

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

/* Header */
header {
    background-color: var(--bg-darker);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: none;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1540497077202-7c8a3999166f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* Features/About */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--bg-darker);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #222;
    transition: border-color 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-gray);
}

/* Membership */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.price-card {
    background-color: var(--bg-darker);
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #222;
    position: relative;
    transition: transform 0.3s ease;
}

.price-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}

.price-tag {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-light);
    margin: 20px 0;
}

.price-tag span {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 400;
}

.benefits {
    margin: 30px 0;
    text-align: left;
}

.benefits li {
    margin-bottom: 15px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
}

.benefits li::before {
    content: '';
    display: none;
}

/* Footer */
footer {
    background-color: var(--bg-darker);
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 1px solid #222;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
    color: var(--text-gray);
    display: block;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #666;
}

/* Responsive */
/* Hamburger Button - hidden on desktop */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 100;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {

    .nav-links {
        gap: 10px;
    }

    .nav-links li a {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    /* Fix hero heading */
    .hero-content h1 {
        font-size: 40px;
    }

    /* Fix landing content wrapper for mobile - move card higher */
    .landing-content-wrapper {
        padding: 0px 16px 40px;
        min-height: auto;
    }

    /* Make promo card full width on mobile */
    .glass-card-gold {
        max-width: 100%;
        padding: 30px 20px;
    }

    /* Make register form card full width on mobile */
    .glass-card-gray {
        max-width: 100%;
        padding: 30px 20px;
        margin: 0;
    }

    /* Make package select visible on mobile */
    .glass-card-gray select,
    .glass-card-gray select option {
        font-size: 11px;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Dashboard Styles */
.dashboard-header {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.dashboard-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.dashboard-header p {
    color: var(--text-gray);
    font-size: 16px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.member-card {
    background: var(--bg-darker);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #444);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.info-item label {
    display: block;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item .value {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 500;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-active {
    background: rgba(68, 255, 68, 0.1);
    color: #4f4;
    border: 1px solid #4f4;
}

.status-inactive {
    background: rgba(255, 68, 68, 0.1);
    color: #f44;
    border: 1px solid #f44;
}

.qr-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    margin: 20px 0;
}

.dashboard-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-danger-outline {
    background: transparent;
    border: 1px solid #ff4444;
    color: #ff4444;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger-outline:hover {
    background: #ff4444;
    color: #fff;
}

/* Custom UI Matches for Landing & Register */
.landing-header {
    background: transparent !important;
    border: none !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.landing-background {
    position: relative;
}

/* Background image with grayscale ONLY on the image, not on content */
.landing-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    filter: grayscale(100%);
    z-index: 0;
}

/* Dark overlay on top of the image */
.landing-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.landing-content-wrapper {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
}

/* Ensure footer is above the background pseudo-elements */
.landing-footer {
    position: relative;
    z-index: 2;
}

/* Gold Glass Card */
.glass-card-gold {
    background: linear-gradient(90deg, #C19B3D 0%, #F7EF8A 38%, #D2AC47 75%, #EDC967 100%) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: left;
    color: #fff;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    font-family: 'Prompt', sans-serif;
}

.glass-card-gold h4 {
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.glass-card-gold h2 {
    font-size: 48px;
    font-weight: 800;
    font-style: italic;
    margin: 0;
    line-height: 1;
}

.glass-card-gold .subtitle {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 25px;
}

.glass-card-gold .price-wrap {
    margin: 25px 0;
}

.glass-card-gold .price-wrap p {
    margin: 0;
    font-size: 12px;
}

.glass-card-gold .price-badge {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin: 5px 0 15px 0;
}

.glass-card-gold .price-badge small {
    font-size: 20px;
    font-weight: 600;
}

.glass-card-gold .strikethrough {
    text-decoration: line-through;
    opacity: 0.65;
    font-size: 13px;
}

.btn-outline-white {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Titillium Web', sans-serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-white:hover {
    background: #fff;
    color: #000;
}

/* Gray Glass Card (Form) */
.glass-card-gray {
    background: rgba(180, 185, 190, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 45px 40px;
    max-width: 550px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.glass-card-gray h3 {
    color: #111;
    font-size: 24px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.glass-card-gray label {
    display: block;
    color: #333;
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: 600;
}

.glass-card-gray input,
.glass-card-gray select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(150, 155, 160, 0.5);
    border: 1px solid rgba(130, 135, 140, 0.8);
    color: #111;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    box-sizing: border-box;
}

.glass-card-gray input:focus,
.glass-card-gray select:focus {
    outline: none;
    border-color: #555;
    background: rgba(200, 205, 210, 0.8);
}

.glass-card-gray .btn-dark-solid {
    background: #555;
    color: #fff;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.glass-card-gray .btn-dark-solid:hover {
    background: #333;
}

/* Package Radio Option Cards */
.package-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.package-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(150, 155, 160, 0.5);
    border: 2px solid rgba(130, 135, 140, 0.8);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.package-option:has(input:checked) {
    border-color: #444;
    background: rgba(120, 125, 130, 0.8);
}

.package-option input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.package-option-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.package-name {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.package-detail {
    font-size: 12px;
    color: #333;
}