/* ======================================
   Terminal Finance - Exact Replica CSS
   Based on extracted values from terminal.fi
   ====================================== */

/* Fonts - Import correct fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&display=swap');

/* CSS Custom Properties - Exact values from terminal.fi */
:root {
    /* Colors - Exact from terminal.fi */
    --color-primary: #0c0c0c;
    --color-secondary: #ffffff;
    --color-highlight: #FF6200;
    --color-text-muted: #b6b6b6;
    --color-box: #111111;
    --color-box-border: #1a1a1a;
    --color-button-arrow: #e1e1e1;

    /* Typography - Exact from terminal.fi */
    --font-heading: 'texGyreHeros', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'DM Mono', 'JetBrains Mono', monospace;

    /* Sizes */
    --navbar-height: 64px;
    --hero-title-size: 80px;
    --hero-title-line-height: 96px;
    --button-height: 48px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-heading);
    background-color: var(--color-primary);
    color: var(--color-secondary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ======================================
   Navigation Bar - Exact terminal.fi style
   ====================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background-color: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
    padding: 0 20px;
}

@media (min-width: 768px) {
    .navbar-container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .navbar-container {
        padding: 0 48px;
    }
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 48px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--color-secondary);
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-slash {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 18px;
    color: var(--color-highlight);
}

.logo-text {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0px;
    color: var(--color-highlight);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
}

.nav-link::before {
    content: '/';
    color: var(--color-text-muted);
}

.nav-link:hover {
    color: var(--color-secondary);
}

.nav-badge {
    background-color: var(--color-highlight);
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    letter-spacing: 0.5px;
}

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chevron {
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background-color: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 160px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    color: var(--color-secondary);
    background-color: rgba(255, 255, 255, 0.03);
}

.navbar-right {
    display: none;
    align-items: center;
    gap: 24px;
}

@media (min-width: 1024px) {
    .navbar-right {
        display: flex;
    }
}

.tvl-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 14px;
}

.tvl-label {
    color: var(--color-text-muted);
}

.tvl-value {
    color: var(--color-highlight);
    font-weight: 500;
}

.connect-wallet-btn {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 16px;
    background-color: rgba(255, 98, 0, 0.1);
    color: var(--color-highlight);
    border: 1px solid rgba(255, 98, 0, 0.3);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.connect-wallet-btn svg {
    width: 14px;
    height: 14px;
}

.connect-wallet-btn:hover {
    background-color: rgba(255, 98, 0, 0.2);
    border-color: var(--color-highlight);
}

.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    color: var(--color-secondary);
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 1000;
    display: none;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--color-secondary);
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.mobile-nav-link {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--color-muted);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: var(--color-highlight);
}

.mobile-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 14px 24px;
    background: var(--color-highlight);
    color: #000;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
}

@media (min-width: 1024px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* ======================================
   Hero Section - Exact terminal.fi layout
   ====================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--navbar-height) + 20px) 20px 40px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: var(--navbar-height) 24px 0;
        height: 100vh;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: var(--navbar-height) 48px 0;
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    position: relative;
    gap: 0;
}

@media (min-width: 768px) {
    .hero-container {
        height: 100%;
    }
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Möbius Strip Graphic - Position exactly like terminal.fi */
.hero-graphic {
    display: none;
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 50%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 768px) {
    .hero-graphic {
        display: block;
        opacity: 0.3;
    }
}

@media (min-width: 1024px) {
    .hero-graphic {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        opacity: 1;
        z-index: 1;
        padding-left: 3%;
    }
}

/* Globe Container */
.globe-container {
    width: 140%;
    height: 140%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .globe-container {
        width: 100%;
        height: 100%;
    }
}

.cobe-canvas {
    width: 100% !important;
    height: auto !important;
    display: block;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.incubated-by {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .incubated-by {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .incubated-by {
        font-size: 16px;
    }
}

.ethena-logo {
    height: 24px;
    width: auto;
}

@media (min-width: 1024px) {
    .ethena-logo {
        height: 26px;
    }
}

/* Hero Title - Exact terminal.fi sizing: 80px, line-height 96px */
.hero-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 52px;
        margin-bottom: 28px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 64px;
        line-height: 1.2;
        margin-bottom: 32px;
    }
}

/* CTA Button - Exact terminal.fi style: 48px height, gray arrow + dark text */
.cta-button {
    display: inline-flex;
    align-items: stretch;
    cursor: pointer;
    transition: transform var(--transition-fast);
    height: 40px;
}

@media (min-width: 768px) {
    .cta-button {
        height: 44px;
    }
}

.cta-button:hover {
    transform: translateX(4px);
}

.cta-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-button-arrow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

@media (min-width: 768px) {
    .cta-icon {
        width: 44px;
        height: 44px;
    }
}

.cta-icon svg {
    color: var(--color-primary);
    width: 16px;
    height: 16px;
}

@media (min-width: 768px) {
    .cta-icon svg {
        width: 18px;
        height: 18px;
    }
}

.cta-button:hover .cta-icon {
    background-color: var(--color-highlight);
}

.cta-text {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .cta-text {
        height: 44px;
        padding: 0 20px;
        font-size: 13px;
    }
}

/* Audit Section */
.audit-section {
    margin-top: 28px;
}

@media (min-width: 768px) {
    .audit-section {
        margin-top: 36px;
    }
}

@media (min-width: 1024px) {
    .audit-section {
        margin-top: 40px;
    }
}

.audit-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text-muted);
    line-height: 1.4;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .audit-label {
        font-size: 11px;
        margin-bottom: 14px;
    }
}

.audit-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .audit-logos {
        gap: 28px;
    }
}

.audit-logo {
    height: auto;
    opacity: 0.85;
}

.audit-logo.chain-security {
    width: 140px;
}

@media (min-width: 768px) {
    .audit-logo.chain-security {
        width: 170px;
    }
}

.audit-logo.bail-security {
    width: 70px;
}

@media (min-width: 768px) {
    .audit-logo.bail-security {
        width: 82px;
    }
}

/* ======================================
   Features Section
   ====================================== */
.features {
    background-color: var(--color-primary);
    padding: 100px 24px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    .features {
        padding: 120px 48px;
    }
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-highlight);
    letter-spacing: 1px;
}

.features-title-block {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

@media (min-width: 1024px) {
    .features-title-block {
        margin-top: 48px;
        gap: 36px;
    }
}

.features-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-secondary);
}

@media (min-width: 768px) {
    .features-title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .features-title {
        font-size: 56px;
    }
}

.features-description {
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .features-description {
        font-size: 20px;
    }
}

/* Features Grid */
.features-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-top: 80px;
    }
}

.feature-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-box);
    border: 1px solid var(--color-box-border);
}

.feature-icon-container {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 98, 0, 0.06) 0%, rgba(255, 98, 0, 0.02) 100%);
    position: relative;
}

/* Grid overlay pattern */
.feature-icon-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

@media (min-width: 768px) {
    .feature-icon-container {
        height: 240px;
    }
}

@media (min-width: 1024px) {
    .feature-icon-container {
        height: 300px;
    }
}

.feature-icon {
    width: 56px;
    height: 56px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .feature-icon {
        width: 72px;
        height: 72px;
    }
}

.feature-content {
    width: 100%;
    min-height: 140px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid var(--color-box-border);
}

@media (min-width: 1024px) {
    .feature-content {
        min-height: 180px;
        padding: 32px;
    }
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-secondary);
    text-align: left;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .feature-title {
        font-size: 28px;
    }
}

.feature-line {
    width: 50%;
    border-bottom: 1px dashed var(--color-box-border);
    margin-top: 20px;
}

/* ======================================
   Features Section - New Design
   ====================================== */
.features-section {
    background-color: var(--color-primary);
    padding: 100px 24px;
}

@media (min-width: 1024px) {
    .features-section {
        padding: 120px 48px;
    }
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--color-highlight);
    margin-bottom: 24px;
}

.features-heading {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 400;
    color: var(--color-secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.features-subheading {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* New Feature Card */
.feature-card-new {
    background: rgba(25, 20, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.feature-card-new:hover {
    border-color: rgba(255, 98, 0, 0.3);
    background: rgba(40, 30, 20, 0.6);
    transform: translateY(-4px);
}

/* Icon Box with Orange Border */
.feature-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 98, 0, 0.5);
    border-radius: 6px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card-new:hover .feature-icon-box {
    border-color: var(--color-highlight);
    box-shadow: 0 0 16px rgba(255, 98, 0, 0.2);
}

.feature-icon-box svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-highlight);
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Card Title */
.feature-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

/* Card Description */
.feature-card-desc {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ======================================
   Partnerships Section
   ====================================== */
.partnerships {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    background-color: var(--color-primary);
    overflow: hidden;
}

/* Grid perspective background */
.partnerships::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/partnerships-bg-lg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .partnerships {
        padding: 120px 48px;
    }
}

.partnerships-blur {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(12, 12, 12, 0.95) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .partnerships-blur {
        width: 1000px;
        height: 700px;
    }
}

.partnerships-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.partnerships-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partnerships-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 98, 0, 0.12);
    border: 1px solid rgba(255, 98, 0, 0.2);
}

.partnerships-icon img {
    width: 36px;
    height: auto;
}

.partnerships-title {
    margin-top: 36px;
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-secondary);
}

@media (min-width: 1024px) {
    .partnerships-title {
        margin-top: 44px;
        font-size: 64px;
    }
}

.partnerships-description {
    margin-top: 24px;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    max-width: 420px;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .partnerships-description {
        margin-top: 32px;
        font-size: 20px;
    }
}

.partnerships .cta-button {
    margin-top: 36px;
}

@media (min-width: 1024px) {
    .partnerships .cta-button {
        margin-top: 44px;
    }
}

/* ======================================
   Footer - Compact Design
   ====================================== */
.footer-compact {
    background-color: var(--color-primary);
    border-top: 1px solid var(--color-border);
    padding: 24px 32px;
}

.footer-compact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(200px, 1fr) auto minmax(100px, auto);
    align-items: center;
    gap: 32px;
}

.footer-compact-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-compact-logo {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.footer-compact-logo .logo-slash {
    color: var(--color-highlight);
    margin-right: 2px;
}

.footer-compact-logo .logo-text {
    color: var(--color-text);
}

.footer-compact-copyright {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-text-dim);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.footer-compact-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 24px);
    flex-wrap: nowrap;
}

.footer-compact-links a {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-text-dim);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.footer-compact-links a:hover {
    color: var(--color-highlight);
}

.footer-compact-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.footer-compact-social a {
    color: var(--color-text-dim);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.footer-compact-social a:hover {
    color: var(--color-highlight);
}

/* Tablet responsive */
@media (max-width: 1024px) {
    .footer-compact {
        padding: 20px 24px;
    }

    .footer-compact-container {
        grid-template-columns: auto 1fr auto;
        gap: 24px;
    }

    .footer-compact-left {
        gap: 12px;
    }

    .footer-compact-copyright {
        font-size: 10px;
    }

    .footer-compact-links {
        gap: clamp(8px, 1.5vw, 16px);
    }

    .footer-compact-links a {
        font-size: 10px;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .footer-compact {
        padding: 18px 20px;
    }

    .footer-compact-container {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .footer-compact-left {
        flex-direction: column;
        gap: 8px;
        justify-content: center;
    }

    .footer-compact-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-compact-social {
        justify-content: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .footer-compact {
        padding: 16px;
    }

    .footer-compact-container {
        gap: 12px;
    }

    .footer-compact-left {
        gap: 6px;
    }

    .footer-compact-logo {
        font-size: 14px;
    }

    .footer-compact-copyright {
        font-size: 9px;
    }

    .footer-compact-links a {
        font-size: 9px;
    }

    .footer-compact-social a svg {
        width: 16px;
        height: 16px;
    }
}

/* ======================================
   Scrollbar Styling
   ====================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-box-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/* ======================================
   Selection
   ====================================== */
::selection {
    background-color: var(--color-highlight);
    color: var(--color-primary);
}

/* ======================================
   Fincept-specific Additions
   ====================================== */

/* Hero Subtitle */
.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    max-width: 600px;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 28px;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }
}

/* Platform Badges */
.platform-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-muted);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .platform-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
}

.platform-badge:hover {
    border-color: var(--color-highlight);
    color: var(--color-highlight);
}

/* Feature Emoji */
.feature-emoji {
    font-size: 48px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .feature-emoji {
        font-size: 64px;
    }
}

/* Feature Description */
.feature-desc {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-top: 12px;
}

@media (min-width: 1024px) {
    .feature-desc {
        font-size: 16px;
    }
}

/* Pricing Section - New Design */
.pricing-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
    background-color: var(--color-primary);
}

@media (min-width: 1024px) {
    .pricing-section {
        padding: 120px 48px;
    }
}

/* Large Pricing Card */
.pricing-card-large {
    width: 100%;
    max-width: 800px;
    padding: 60px 40px;
    background: linear-gradient(180deg,
            rgba(60, 30, 15, 0.6) 0%,
            rgba(40, 20, 10, 0.4) 100%);
    border: 1px solid rgba(255, 98, 0, 0.6);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Orange Badge */
.pricing-badge-orange {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--color-highlight);
    color: #000;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    border-radius: 2px;
    margin-bottom: 32px;
}

/* Price Amount */
.pricing-amount-hero {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 16px;
}

.price-dollar {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-secondary);
}

.price-zero {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-secondary);
    line-height: 1;
}

.price-period {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-left: 4px;
}

/* Subtitle */
.pricing-subtitle {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

/* Features Grid */
.pricing-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .pricing-features-grid {
        grid-template-columns: repeat(4, auto);
        gap: 16px 32px;
    }
}

.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--color-secondary);
}

.pricing-feature-item .check-icon {
    width: 18px;
    height: 18px;
    stroke: #4ade80;
    flex-shrink: 0;
}

/* Orange Download Button */
.download-btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background-color: var(--color-highlight);
    color: #000;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.download-btn-orange:hover {
    background-color: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 98, 0, 0.3);
}

.download-btn-orange svg {
    stroke: #000;
}

.pricing-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Pricing Icon Box */
.pricing-icon-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 98, 0, 0.9) 0%, rgba(255, 130, 50, 0.9) 100%);
    border-radius: 8px;
    margin-bottom: 20px;
}

.pricing-icon-box svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

/* Pricing Headline */
.pricing-headline {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    color: var(--color-secondary);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .pricing-headline {
        font-size: 48px;
    }
}

/* Minimal Pricing Card */
.pricing-card-minimal {
    width: 100%;
    max-width: 700px;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.3) 0%, rgba(100, 50, 20, 0.2) 100%);
    border: 1px solid rgba(139, 69, 19, 0.4);
    border-radius: 4px;
    margin-top: 20px;
}

.pricing-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-highlight);
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.pricing-amount-large {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 400;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.pricing-features-inline {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Pricing Cards Container */
.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
    width: 100%;
    max-width: 900px;
}

@media (min-width: 768px) {
    .pricing-cards {
        flex-direction: row;
        gap: 20px;
    }
}

/* Pricing Tier - Enhanced Aesthetics */
.pricing-tier {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 32px;
    background: linear-gradient(135deg,
            rgba(80, 40, 20, 0.4) 0%,
            rgba(60, 30, 15, 0.3) 50%,
            rgba(40, 20, 10, 0.2) 100%);
    border: 1px solid rgba(255, 140, 60, 0.25);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Subtle inner glow */
.pricing-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 140, 60, 0.5) 50%,
            transparent 100%);
}

.pricing-tier:hover {
    border-color: rgba(255, 140, 60, 0.5);
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 98, 0, 0.1);
}

.pricing-tier.featured {
    background: linear-gradient(135deg,
            rgba(100, 50, 25, 0.5) 0%,
            rgba(80, 40, 20, 0.4) 50%,
            rgba(60, 30, 15, 0.3) 100%);
    border-color: rgba(255, 140, 60, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 98, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tier-name {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-highlight);
    letter-spacing: 0.2em;
    text-shadow: 0 0 20px rgba(255, 98, 0, 0.5);
}

.tier-price {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 300;
    color: var(--color-secondary);
    letter-spacing: -0.02em;
    line-height: 1;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

.tier-features {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.8;
    max-width: 500px;
}

/* Enhanced partnerships icon for pricing */
.pricing .partnerships-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 98, 0, 0.9) 0%, rgba(255, 130, 50, 0.8) 100%);
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow:
        0 8px 24px rgba(255, 98, 0, 0.3),
        0 0 40px rgba(255, 98, 0, 0.15);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        box-shadow:
            0 8px 24px rgba(255, 98, 0, 0.3),
            0 0 40px rgba(255, 98, 0, 0.15);
    }

    50% {
        box-shadow:
            0 8px 32px rgba(255, 98, 0, 0.4),
            0 0 60px rgba(255, 98, 0, 0.25);
    }
}

.pricing .partnerships-icon .section-svg-icon {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

.pricing .partnerships-title {
    font-size: 42px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .pricing .partnerships-title {
        font-size: 52px;
    }
}

/* Features Grid - 6 cards layout for Fincept */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ======================================
   Newsletter Section
   ====================================== */
.newsletter {
    background-color: var(--color-box);
    padding: 80px 24px;
    border-top: 1px solid var(--color-box-border);
    border-bottom: 1px solid var(--color-box-border);
}

@media (min-width: 1024px) {
    .newsletter {
        padding: 100px 48px;
    }
}

.newsletter-container {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

@media (min-width: 1024px) {
    .newsletter-title {
        font-size: 44px;
    }
}

.newsletter-description {
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

@media (min-width: 1024px) {
    .newsletter-description {
        font-size: 18px;
    }
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 500px;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
        gap: 0;
    }
}

.newsletter-form input[type="email"] {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 14px 20px;
    background-color: var(--color-primary);
    border: 1px solid var(--color-box-border);
    color: var(--color-secondary);
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--color-text-muted);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--color-highlight);
}

.newsletter-btn {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    padding: 14px 24px;
    background-color: var(--color-highlight);
    color: var(--color-primary);
    border: 1px solid var(--color-highlight);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.newsletter-btn:hover {
    background-color: transparent;
    color: var(--color-highlight);
}

.newsletter-btn svg {
    width: 14px;
    height: 14px;
}

/* ======================================
   Professional SVG Icons
   ====================================== */

/* Feature Card SVG Icons */
.feature-svg-icon {
    width: 48px;
    height: 48px;
    stroke: var(--color-highlight);
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .feature-svg-icon {
        width: 64px;
        height: 64px;
    }
}

/* Section Header SVG Icons (Pricing, Contact) */
.section-svg-icon {
    width: 32px;
    height: 32px;
    stroke: var(--color-highlight);
}

/* Hero Badge Icon */
.hero-badge-icon {
    width: 16px;
    height: 16px;
    stroke: var(--color-highlight);
    flex-shrink: 0;
}

/* TVL Display Icon */
.tvl-icon {
    width: 16px;
    height: 16px;
    stroke: var(--color-highlight);
    flex-shrink: 0;
}

/* ======================================
   Legal Pages (Privacy, Terms, Refund, Shipping)
   ====================================== */
.legal-section {
    padding: calc(var(--navbar-height) + 60px) 24px 80px;
    min-height: 100vh;
}

@media (min-width: 1024px) {
    .legal-section {
        padding: calc(var(--navbar-height) + 80px) 48px 100px;
    }
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 400;
    color: var(--color-secondary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.legal-updated {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--color-text-muted);
}

.legal-content {
    background-color: var(--color-box);
    border: 1px solid var(--color-box-border);
    padding: 32px;
}

@media (min-width: 768px) {
    .legal-content {
        padding: 48px;
    }
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block:last-child {
    margin-bottom: 0;
}

.legal-block h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-highlight);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-box-border);
}

.legal-block h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-secondary);
    margin: 20px 0 12px;
}

.legal-block p {
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.legal-block ul,
.legal-block ol {
    padding-left: 24px;
    margin: 12px 0;
}

.legal-block li {
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.legal-block li strong {
    color: var(--color-secondary);
}

.legal-block a {
    color: var(--color-highlight);
    text-decoration: underline;
    transition: opacity var(--transition-fast);
}

.legal-block a:hover {
    opacity: 0.8;
}

.legal-highlight {
    background-color: rgba(255, 98, 0, 0.1);
    border-left: 3px solid var(--color-highlight);
    padding: 16px 20px;
    margin: 20px 0;
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-secondary);
}

.legal-warning {
    background-color: rgba(255, 98, 0, 0.15);
    border: 1px solid var(--color-highlight);
    padding: 20px;
    margin: 20px 0;
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-secondary);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: var(--font-mono);
    font-size: 13px;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--color-box-border);
}

.legal-table th {
    background-color: rgba(255, 98, 0, 0.1);
    color: var(--color-highlight);
    font-weight: 500;
}

.legal-table td {
    color: var(--color-text-muted);
}

.legal-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* ======================================
   Footer Disclaimer Section
   ====================================== */
.footer-disclaimer-section {
    padding: 50px 24px;
    background: var(--color-primary);
    border-top: 1px solid rgba(255, 61, 0, 0.2);
    margin-bottom: 0;
}

.footer-disclaimer-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-disclaimer-text {
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
}

.footer-disclaimer-text strong {
    color: var(--color-highlight);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .footer-disclaimer-section {
        padding: 40px 20px;
    }

    .footer-disclaimer-text {
        font-size: 10px;
    }
}
