@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #0d0e12;
    --nav-bg: #0d0e12;
    --card-bg: #1a1b1f;
    --card-border: rgba(255, 255, 255, 0.07);
    --accent-orange: #f7a600;
    --accent-orange-hover: #ffb11a;
    --text-primary: #ffffff;
    --text-secondary: #8c919c;
    --success-green: #10833a;
    --danger-red: #f6465d;
    --input-bg: #1a1b1f;
    --input-border: rgba(255, 255, 255, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography */
h1 {
    font-size: 3.25rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.subtitle {
    font-size: 1.15rem;
    color: #eaecef;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.subtitle span {
    color: var(--accent-orange);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 64px;
    background-color: #0d0e12;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: #adb1b8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.15s ease;
}

.main-nav a:hover {
    color: var(--accent-orange);
}

.main-nav svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.mnt-link {
    display: flex;
    align-items: center;
    gap: 0.2rem !important;
}

.mnt-link svg {
    width: 16px;
    height: 16px;
    opacity: 1;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--input-bg);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 0.4rem 1rem;
    margin-right: 1.5rem;
}

.search-bar input {
    background: transparent;
    border: none;
    color: #ffffff;
    outline: none;
    font-size: 0.85rem;
    width: 120px;
    padding-left: 0.5rem;
}

.search-bar input::placeholder {
    color: #8c919c;
}

.search-bar .search-icon {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

.login-btn {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 1.5rem;
    opacity: 0.85;
    transition: opacity 0.15s;
}

.login-btn:hover {
    opacity: 1;
}

.signup-btn {
    background-color: var(--accent-orange);
    color: #121214;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 1rem;
}

.icon-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    cursor: pointer;
    color: var(--text-primary);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: #0d0e12;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
}

.hero-section>.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
    width: 100%;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

/* Background Pattern matching the screenshot */
.bg-pattern {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100% + 100px);
    background-image: url('../background_img.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    /* Ensure wide text like heading doesn't wrap unnecessarily */
    z-index: 1;
}

.signup-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.email-input {
    flex: 1;
    background-color: #1a1b1f;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 30px;
    padding: 1rem 1.5rem;
    color: #ffffff;
    outline: none;
    font-size: 0.95rem;
}

.email-input::placeholder {
    color: #8c919c;
}

.primary-btn {
    background-color: var(--accent-orange);
    color: #121214;
    border: none;
    border-radius: 24px;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    margin-right: 0.25rem;
}

.social-login {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #adb1b8;
}

.social-icons {
    display: flex;
    gap: 1.25rem;
}

.social-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.download-app {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    cursor: pointer;
}

/* Cards Grid */
/* Cards Grid */
.cards-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: repeat(3, 200px);
    grid-template-rows: repeat(2, 190px);
    gap: 22px;
    justify-content: center;
    align-content: center;
    z-index: 1;
}

/* Card */
.crypto-card {
    background: linear-gradient(145deg, #14151a, #0f1014);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.04),
        0 10px 30px rgba(0, 0, 0, 0.6);
}

.crypto-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(145deg, #1a1c22, #121317);
}

/* Coin icon */
.coin-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

.btc-icon {
    background: #f7931a;
    color: #fff;
}

.eth-icon {
    background: #fff;
    color: #111;
}

.bsb-icon {
    background: #f3ba2f;
    color: #fff;
}

.aave-icon {
    background: #2ebac6;
    color: #fff;
}

.hype-icon {
    background: #00e676;
    color: #fff;
}

.sol-icon {
    background: #000;
    color: #fff;
}

.xrp-icon {
    background: #fff;
    color: #111;
}

/* Text styles */
.symbol {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 6px;
}

.price {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.change {
    font-size: 14px;
    font-weight: 500;
}

.change.positive {
    color: var(--success-green);
}

.change.negative {
    color: var(--danger-red);
}



/* Floating Sidebar */
.floating-sidebar {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #1e1e24;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    align-items: center;
}

.sidebar-divider {
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.sidebar-item {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s, background 0.2s;
}

.sidebar-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-section {
        padding-top: 4rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .cards-grid {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   Footer Styles
========================================= */
.footer {
    background-color: #0d0e12;
    padding: 60px 0 0 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

/* Brand & Social Column */
.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: block;
    margin-bottom: 30px;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 32px);
    gap: 12px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

/* Specific Social Backgrounds */
.facebook-bg {
    background-color: #3b5998;
}

.x-bg {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.insta-bg {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.youtube-bg {
    background-color: #ff0000;
}

.linkedin-bg {
    background-color: #007bb5;
}

.telegram-bg {
    background-color: #0088cc;
}

.tiktok-bg {
    background-color: #010101;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reddit-bg {
    background-color: #ff4500;
}

.discord-bg {
    background-color: #7289da;
}

.abstract-bg {
    background-color: #111111;
}

/* Navigation Columns */
.footer-col {
    flex: 1;
    min-width: 150px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col ul li a {
    color: #adb1b8;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #212226;
    padding: 20px 2rem;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 0.85rem;
    color: #8c929c;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #f7a600;
}

/* =========================================
   Responsive Footer Adjustments
========================================= */

@media (max-width: 900px) {
    .footer-container {
        gap: 2rem;
    }

    .footer-col {
        min-width: calc(50% - 1rem);
        /* 2 columns on tablet */
    }

    .footer-brand {
        min-width: 100%;
        /* Brand logo takes full width on top */
        margin-bottom: 2rem;
    }

    .footer-col h3 {
        font-size: 1rem;
    }

    .footer-col ul li a {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        /* Stack everything on mobile */
    }

    .footer-col {
        min-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}