:root {
    /* Cow & Crypto Premium Theme */
    --bg-dark: #09090b;
    --bg-panel: #18181b;
    --cow-white: #ffffff;
    --cow-black: #000000;
    --gold-primary: #fbbf24;
    --gold-secondary: #f59e0b;
    --gold-glow: rgba(251, 191, 36, 0.25);
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    /* Abstract subtle cow pattern background */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(251, 191, 36, 0.05) 0%, transparent 40%),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIiBvcGFjaXR5PSIwLjAyIjA+PHBhdGggZD0iTTE1MCw1MCBDMjAwLDgwIDI1MCwzMCAzMDAsMTAwIEMzNTAsMTcwIDI4MCwyNTAgMjIwLDIwMCBDMTYwLDE1MCAxMDAsMjAwIDUwLDE1MCBDMCwxMDAgMTAwLDIwIDE1MCw1MCIgZmlsbD0id2hpdGUiLz48L3N2Zz0=');
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--cow-white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    color: var(--cow-white);
    background: var(--gold-primary);
    color: var(--cow-black);
    padding: 6px;
    border-radius: 8px;
    font-size: 1.5rem;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.btn-primary {
    background: var(--cow-white);
    color: var(--cow-black);
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--cow-white);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
    background: transparent;
    color: var(--cow-white);
}

.btn-secondary {
    background: rgba(251, 191, 36, 0.1);
    color: var(--gold-primary);
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 191, 36, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(251, 191, 36, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(100px);
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 50px;
    color: var(--gold-primary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 30px;
    animation: fadeDown 0.8s ease-out;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: var(--cow-white);
    animation: fadeUp 1s ease-out;
}

.hero h1 span {
    color: var(--gold-primary);
    font-style: italic;
    padding-right: 8px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeUp 1.2s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeUp 1.4s ease-out;
}

/* Features */
.features {
    padding: 6rem 5%;
    background: var(--bg-panel);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Add a milk splash decorative element */
.features::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PHBhdGggZD0iTTAgMTAwIEMgMjAgMCwgNTAgMCwgMTAwIDEwMCBaIiBmaWxsPSJ3aGl0ZSIvPjwvc3ZnPg==');
    background-size: 50px 100%;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--cow-white);
    transition: height 0.4s ease;
    z-index: 0;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.card:hover::before {
    height: 100%;
}

.card:hover * {
    z-index: 1;
    position: relative;
}

.card:hover h3,
.card:hover p {
    color: var(--cow-black);
}

.card:hover .icon {
    background: var(--cow-black);
    color: var(--cow-white);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: var(--cow-white);
    transition: all 0.4s ease;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--cow-white);
    font-weight: 700;
    transition: color 0.4s ease;
}

.card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    transition: color 0.4s ease;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-dark);
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cow-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--gold-primary);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    nav {
        padding: 1.5rem 5%;
    }
}