:root {
    --primary: #F03A47;
    --primary-soft: rgba(240, 58, 71, 0.15);
    --primary-glow: rgba(240, 58, 71, 0.4);
    --bg-deep: #05070a;
    --bg-dark: #11141a;
    --text-main: #FFFFFF;
    --text-muted: #D1D4D9;
    /* Lighter for better contrast */
    --text-dim: #9EA3AE;
    /* For secondary info */
    --glass: rgba(255, 255, 255, 0.05);
    /* Slightly more opaque */
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-blur: blur(24px);
}

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

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

body {
    background: radial-gradient(circle at 50% -20%, #1a1e26 0%, var(--bg-deep) 100%);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Accents */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-glow);
    filter: blur(120px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.blob-1 {
    top: -100px;
    right: -100px;
}

.blob-2 {
    bottom: -200px;
    left: -100px;
}

/* Navigation */
.navbar {
    background: rgba(5, 7, 10, 0.95);
    /* More opaque */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: white !important;
    /* Force white */
}

.navbar-nav .nav-link {
    color: white !important;
}

/* Typography Overhaul */
h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn-confy {
    padding: 14px 36px;
    border-radius: 14px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.btn-confy-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px var(--primary-soft);
}

.btn-confy-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px var(--primary-glow);
    color: white;
}

.btn-confy-glass {
    background: var(--glass);
    color: white;
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.btn-confy-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Glass Cards */
.glass-card {
    background: rgba(17, 20, 26, 0.6);
    /* Darker base for better text pop */
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 3.5rem;
    /* More breath space */
    border-radius: 32px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-glow);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--primary-soft);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    box-shadow: inset 0 0 15px var(--primary-soft);
}

/* Hero Image/Logo */
.hero-logo-box {
    position: relative;
    padding: 2rem;
}

.hero-logo-box img {
    max-width: 220px;
    filter: drop-shadow(0 0 30px var(--primary-glow));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Readability */
footer {
    border-top: 1px solid var(--glass-border);
    background: var(--bg-deep);
}

footer a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary);
}