:root {
    --color-bg-base: #0B0E11;
    --color-bg-surface: #141920;
    --color-primary: #D35400;
    --color-primary-hover: #E67E22;
    --color-text-main: #EAECEF;
    --color-text-muted: #8B949E;
    --color-accent: #27AE60;
    --color-red: #E74C3C;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition-smooth: all 0.3s 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-bg-base);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

a {
    text-decoration: none;
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    font-family: var(--font-heading);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: #FFFFFF;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-text-muted);
    color: var(--color-text-main);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(11, 14, 17, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo .dim {
    color: var(--color-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: url('../images/hero_bg.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 14, 17, 0.4) 0%, rgba(11, 14, 17, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #FFF 0%, #AAA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-image-mockup img {
    max-width: 320px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* --- Features --- */
.features-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--color-text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
}

.glass:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.glass.highlight {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(231, 76, 60, 0.0) 100%);
    border-color: rgba(231, 76, 60, 0.2);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.icon-wrapper.alert-red {
    color: var(--color-red);
    background: rgba(231, 76, 60, 0.1);
}

.glass h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.glass p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- Gear Section --- */
.gear-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--color-bg-base) 0%, var(--color-bg-surface) 100%);
    overflow: hidden;
}

.gear-banner {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.gear-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.6) contrast(1.1);
    transition: transform 1.5s ease;
}

.gear-banner:hover .gear-banner-img {
    transform: scale(1.08);
}

.gear-banner-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2.5rem;
    background: rgba(10, 10, 10, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 80%;
}

.gear-banner-overlay h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.8rem;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.gear-banner-overlay p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin: 0 auto;
    line-height: 1.6;
}

.gear-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.left-align {
    text-align: left !important;
}

.gear-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 850px) {
    .gear-grid-2col {
        grid-template-columns: 1fr;
    }
}

.gear-mini-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gear-mini-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.6s;
    z-index: 1;
}

.gear-mini-card:hover::before {
    left: 200%;
}

.gear-mini-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: 0 15px 30px rgba(211, 84, 0, 0.15), 0 0 20px rgba(211, 84, 0, 0.1);
    background: rgba(40, 40, 40, 0.8);
}

.mini-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 8px;
    background: rgba(211, 84, 0, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.mini-product-img {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
}

.mini-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.gear-price {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #4CAF50; /* A more vibrant, clickable green */
    margin-right: 0.75rem;
}

.gear-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    padding: 0.4rem 0.8rem;
    background: rgba(211, 84, 0, 0.15);
    color: var(--color-primary);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(211, 84, 0, 0.3);
    transition: all 0.3s ease;
}

.gear-mini-card:hover .gear-link {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(211, 84, 0, 0.4);
}

.mini-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.15rem;
}

.mini-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.affiliate-disclosure {
    margin-top: 1rem;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .gear-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gear-artifact {
        order: 2;
    }
}

/* --- Newsletter --- */
.newsletter-cta {
    padding: 4rem 0 6rem 0;
}

.glass-cta {
    background: linear-gradient(135deg, rgba(211, 84, 0, 0.1) 0%, rgba(211, 84, 0, 0) 100%);
    border: 1px solid rgba(211, 84, 0, 0.2);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
}

.glass-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.glass-cta p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    color: #FFF;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-smooth);
}

.newsletter-form input:focus {
    border-color: var(--color-primary);
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-muted);
}

.footer-logo img {
    width: 30px;
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-disclaimer {
    width: 100%;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-disclaimer p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.5;
    line-height: 1.6;
}

.footer-links a:hover {
    color: #FFF;
}

/* --- Animations --- */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.animate-fade {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right {
    transform: translateX(-50px);
}

.slide-left {
    transform: translateX(50px);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 900px) {
    .gear-container {
        grid-template-columns: 1fr;
    }

    .gear-content {
        order: -1;
        text-align: center;
    }

    .gear-list {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .cta-group {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Floating Button --- */
.coffee-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #F1E6D2;
    border: 2px solid #5D4037;
    color: #5D4037;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.coffee-float:hover {
    transform: translateY(-5px);
    background: #FFFFFF;
    border-color: #3E2723;
    color: #3E2723;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}