:root {
    --uk-blue: #012169;       /* Official Union Jack Blue */
    --uk-red: #C8102E;        /* Official Union Jack Red */
    --uk-white: #FFFFFF;
    --royal-blue: #000F2B;    /* Darker Background */
    --accent-blue: #4169E1;   /* Royal Blue Accent */
    --glass-bg: rgba(1, 33, 105, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    /* Solid background color for performance */
    background-color: var(--royal-blue); 
    color: var(--uk-white);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    /* ESSENTIAL for smooth iOS momentum scrolling */
    -webkit-overflow-scrolling: touch;   
}

/* Optimized Fixed Background (Smoother Scroll) */
body::before {
    content: "";
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(200, 16, 46, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(1, 33, 105, 0.3) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.01em;
}

/* Glassmorphism Header */
.header-glass {
    background: rgba(1, 15, 43, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Navigation Links */
.nav-link {
    color: #a0aec0;
    transition: all 0.3s ease;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--uk-white);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--uk-red);
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Marquee - FIXED & SMOOTH */
.marquee-container {
    width: 100%;
    background: var(--uk-blue);
    border-bottom: 2px solid var(--uk-red);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 50;
}

.marquee {
    display: flex;
    width: fit-content; /* Ensure container fits duplicate content */
    transform: translate3d(0, 0, 0); /* Hardware Acceleration */
}

.marquee-content {
    display: inline-block;
    padding: 8px 0;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* Moves -100% of its own width */
    animation: marquee-scroll 40s linear infinite; 
    will-change: transform;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* UK Panel (Cards) */
.uk-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Main Action Button (Union Jack Red) */
.btn-uk {
    background: linear-gradient(135deg, #E60000 0%, #990000 100%);
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-uk:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.6);
    background: linear-gradient(135deg, #ff1a1a 0%, #cc0000 100%);
}

/* Pricing Card Specifics */
.price-card {
    background: rgba(1, 33, 105, 0.3);
    border: 1px solid rgba(65, 105, 225, 0.3);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.price-card:hover {
    transform: scale(1.03) translateY(-5px);
    border-color: var(--uk-red);
    background: rgba(1, 33, 105, 0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(200,16,46,0.2);
}
.price-card.highlight {
    border: 2px solid var(--uk-red);
    background: linear-gradient(160deg, rgba(200,16,46,0.1), rgba(1,33,105,0.4));
    box-shadow: 0 0 30px rgba(200,16,46,0.15);
}

/* Feature Boxes */
.feature-box {
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.feature-box:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--uk-red);
}
.icon-container {
    background: var(--uk-blue);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    border: 2px solid var(--uk-red);
    box-shadow: 0 0 15px rgba(1,33,105,0.5);
    transition: transform 0.3s;
}
.feature-box:hover .icon-container {
    transform: rotate(10deg) scale(1.1);
}

/* FAQ Cards */
.faq-card {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--uk-blue);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    transition: all 0.3s;
}
.faq-card:hover {
    background: rgba(0, 0, 0, 0.4);
    border-left-color: var(--uk-red);
    transform: translateX(5px);
}

/* Mobile Bottom Bar Buttons */
.mobile-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--uk-blue);
    border: 1px solid var(--uk-red);
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    z-index: 100;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: rgba(10, 16, 32, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--uk-blue);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    display: none;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

/* Music Pulse */
.music-playing {
    animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(200, 16, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--royal-blue); }
::-webkit-scrollbar-thumb { background: var(--uk-blue); border-radius: 5px; border: 1px solid var(--uk-red); }