/* --- RESETS & DESIGN SYSTEM --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glow Effects */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- HEADER & NAVIGATION --- */
header {
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

.logo span {
    color: #c5a059; /* Signature IOPn Gold */
}

.connect-btn {
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.5);
    color: #c5a059;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.connect-btn:hover {
    background: #c5a059;
    color: #050505;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: -40px;
}

.badge {
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: #c5a059;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    max-width: 800px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, #A2A2A2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    will-change: transform;
}

.hero p {
    color: #8E8E93;
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* --- FRAMER CARDS --- */
.framer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1100px;
    padding: 0 40px;
    margin-bottom: 120px;
}

.frame-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 35px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border 0.3s ease;
}

/* Top line light highlight effect on hover */
.frame-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c5a059, transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.frame-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.3);
}

.frame-card:hover::before {
    transform: translateX(100%);
}

.frame-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
}

.frame-card p {
    color: #8E8E93;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- STICKY PREMIUM BOTTOM BAR --- */
.bottom-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 30px;
    border-radius: 30px;
    display: flex;
    gap: 30px;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.bottom-bar a {
    color: #8E8E93;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 20px;
}

.bottom-bar a:hover, .bottom-bar a.active {
    color: #c5a059;
    background: rgba(197, 160, 89, 0.08);
}

/* --- ANIMATIONS --- */
@keyframes slideUp {
    to {
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.3rem; }
    .framer-container { padding: 0 20px; }
    .bottom-bar {
        width: 90%;
        justify-content: space-around;
        gap: 10px;
        padding: 12px 15px;
    }
    .bottom-bar a { font-size: 0.8rem; padding: 6px 8px; }
}