﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4aa;
    --primary-dark: #00b795;
    --secondary-color: #1de9b6;
    --accent-color: #64ffda;
    --success-color: #00e676;
    --background-color: #0a0a0b;
    --background-dark: #1c1c1e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-light: #ffffff;
    --border-color: #2c2c2e;
    --card-background: #1e1e1e;
    --surface-color: #141416;
    --surface-elevated: #1c1d20;
    --neumorph-shadow: rgba(0, 0, 0, 0.65);
    --neumorph-highlight: rgba(255, 255, 255, 0.08);
    --neumorph-border: rgba(255, 255, 255, 0.04);
    --focus-ring: 0 0 0 3px rgba(0, 212, 170, 0.35);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow: 0 4px 20px rgba(0, 212, 170, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 212, 170, 0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: radial-gradient(circle at 20% 20%, rgba(100, 255, 218, 0.06), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(0, 212, 170, 0.05), transparent 45%),
        linear-gradient(145deg, #090a0c 0%, #0e1014 40%, #090a0c 100%);
    background-color: var(--background-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll-triggered animation presets */
[data-animate] {
    --animate-duration: 0.9s;
    --animate-delay: 0;
    opacity: 0;
    transform: translate3d(0, 48px, 0);
    transition:
        transform var(--animate-duration) cubic-bezier(0.22, 1, 0.36, 1),
        opacity var(--animate-duration) ease;
    transition-delay: calc(var(--animate-delay, 0) * 1s);
    will-change: transform, opacity, filter;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

[data-animate="fade-right"] {
    transform: translate3d(-56px, 0, 0);
}

[data-animate="fade-left"] {
    transform: translate3d(56px, 0, 0);
}

[data-animate="fade-up"] {
    transform: translate3d(0, 56px, 0);
}

[data-animate="scale-in"] {
    transform: scale(0.85);
}

[data-animate="scale-in"].animate-in {
    transform: scale(1);
}

[data-animate="float-in"] {
    transform: translate3d(0, 80px, 0) scale(0.88);
    filter: blur(10px);
}

[data-animate="float-in"].animate-in {
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
        filter: none !important;
    }

    .scroll-progress {
        transition: none !important;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Header */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 18px rgba(0, 212, 170, 0.35);
    opacity: 0;
    transition: transform 0.25s ease-out, opacity 0.35s ease;
    z-index: 1100;
    pointer-events: none;
}

body.menu-open .scroll-progress {
    opacity: 0 !important;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo {
    height: 36px;
    width: 36px;
    margin-right: 12px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

.brand-text {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(
        135deg,
        var(--background-color) 0%,
        var(--background-dark) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(0, 212, 170, 0.15) 0%,
        transparent 70%
    );
    animation: float 20s ease-in-out infinite;
}

@keyframes heroTitleSweep {
    0% {
        transform: translateX(-160%) skewX(-16deg);
        opacity: 0;
    }
    8% {
        opacity: 0.9;
    }
    14% {
        transform: translateX(160%) skewX(-16deg);
        opacity: 0;
    }
    100% {
        transform: translateX(160%) skewX(-16deg);
        opacity: 0;
    }
}

@keyframes heroTitleGlow {
    0% {
        background-position: 100% 50%;
    }
    12% {
        background-position: 0% 50%;
    }
    22%,
    100% {
        background-position: 100% 50%;
    }
}

@keyframes heroTitlePulse {
    0%,
    20% {
        opacity: 0.55;
        transform: translateY(16px) scale(0.94);
    }
    26% {
        opacity: 0.78;
        transform: translateY(12px) scale(1.04);
    }
    100% {
        opacity: 0.55;
        transform: translateY(16px) scale(0.94);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-title::before,
    .hero-title::after {
        animation: none !important;
    }

    .hero-title::before {
        opacity: 0.25;
        transform: translateX(-40%) skewX(-12deg);
    }

    .hero-title::after {
        opacity: 0.35;
        transform: translateY(12px) scale(1);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.25rem 0.85rem;
    background: linear-gradient(120deg, #00ffd1 0%, #3a7bff 32%, #a259ff 60%, #ff6bd6 82%, var(--accent-color) 100%);
    background-size: 320% 320%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleGlow 9s ease-in-out infinite;
    filter: drop-shadow(0 20px 34px rgba(0, 212, 170, 0.3));
    text-shadow: 0 0 36px rgba(0, 212, 170, 0.45);
    overflow: visible;
    isolation: isolate;
    will-change: background-position, filter;
}

.hero-title::before {
    content: '';
    position: absolute;
    inset: -22px -32px;
    background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, 0.95) 45%, rgba(148, 91, 255, 0.55) 65%, transparent 85%);
    clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
    transform: translateX(-160%) skewX(-16deg);
    opacity: 0;
    filter: blur(8px);
    mix-blend-mode: lighten;
    pointer-events: none;
    animation: heroTitleSweep 9s linear infinite;
    z-index: 1;
}

.hero-title::after {
    content: '';
    position: absolute;
    inset: -12px;
    background: inherit;
    border-radius: 28px;
    filter: blur(32px);
    opacity: 0.55;
    transform: translateY(18px) scale(0.95);
    z-index: -1;
    animation: heroTitlePulse 18s ease-in-out infinite;
}

.hero-subtitle {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-extra {
    display: flex;
    justify-content: center;
}

.hero-image {
    text-align: center;
    position: relative;
    z-index: 2;
}

.wallet-mockup {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow-lg));
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: calc(var(--border-radius) + 6px);
    color: var(--text-primary);
    background: linear-gradient(145deg, var(--surface-elevated), var(--surface-color));
    border: 1px solid var(--neumorph-border);
    --btn-shadow-rest: -10px -10px 20px rgba(255, 255, 255, 0.05), 12px 12px 24px rgba(0, 0, 0, 0.65);
    --btn-shadow-hover: -6px -6px 14px rgba(255, 255, 255, 0.07), 14px 14px 28px rgba(0, 0, 0, 0.7);
    --btn-shadow-focus: -6px -6px 14px rgba(255, 255, 255, 0.07), 14px 14px 28px rgba(0, 0, 0, 0.7), var(--focus-ring);
    --btn-shadow-active: -4px -4px 10px rgba(255, 255, 255, 0.05), 10px 10px 18px rgba(0, 0, 0, 0.65);
    box-shadow: var(--btn-shadow-rest);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        background 0.35s ease;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    overflow: hidden;
}

.btn.disabled,
.btn[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.55;
    filter: grayscale(55%);
    box-shadow: none;
}

.btn.disabled:hover,
.btn.disabled:focus-visible,
.btn[aria-disabled="true"]:hover,
.btn[aria-disabled="true"]:focus-visible {
    transform: none;
    box-shadow: none;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--btn-shadow-hover);
    border-color: rgba(100, 255, 218, 0.25);
}

.btn:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--btn-shadow-focus);
    border-color: rgba(100, 255, 218, 0.35);
}

.btn:hover::before,
.btn:focus-visible::before {
    opacity: 0.4;
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: var(--btn-shadow-active);
}

.btn-primary {
    color: #041610;
    background: linear-gradient(145deg, rgba(0, 240, 190, 0.92), rgba(0, 185, 145, 0.98));
    border-color: rgba(0, 240, 190, 0.45);
    --btn-shadow-rest: -12px -12px 22px rgba(0, 255, 210, 0.18), 14px 14px 26px rgba(0, 0, 0, 0.55);
    --btn-shadow-hover: -10px -10px 20px rgba(0, 255, 210, 0.2), 18px 18px 32px rgba(0, 0, 0, 0.65);
    --btn-shadow-focus: -10px -10px 20px rgba(0, 255, 210, 0.2), 18px 18px 32px rgba(0, 0, 0, 0.65), var(--focus-ring);
    --btn-shadow-active: -6px -6px 12px rgba(0, 255, 210, 0.16), 12px 12px 22px rgba(0, 0, 0, 0.6);
}

.btn-primary::before {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    opacity: 0.18;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    color: #02120b;
    background: linear-gradient(145deg, rgba(0, 255, 210, 0.98), rgba(0, 190, 150, 1));
    border-color: rgba(100, 255, 218, 0.6);
}

.btn-secondary {
    color: var(--accent-color);
    background: linear-gradient(145deg, var(--surface-elevated), var(--surface-color));
    border-color: rgba(100, 255, 218, 0.25);
    --btn-shadow-rest: -10px -10px 18px rgba(255, 255, 255, 0.05), 12px 12px 22px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(100, 255, 218, 0.08);
    --btn-shadow-hover: -8px -8px 16px rgba(255, 255, 255, 0.06), 16px 16px 26px rgba(0, 0, 0, 0.68), inset 0 0 0 1px rgba(100, 255, 218, 0.12);
    --btn-shadow-focus: -8px -8px 16px rgba(255, 255, 255, 0.06), 16px 16px 26px rgba(0, 0, 0, 0.68), inset 0 0 0 1px rgba(100, 255, 218, 0.12), var(--focus-ring);
    --btn-shadow-active: -5px -5px 12px rgba(255, 255, 255, 0.05), 12px 12px 20px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(100, 255, 218, 0.1);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    color: #0c1613;
    background: linear-gradient(145deg, rgba(100, 255, 218, 0.25), rgba(100, 255, 218, 0.35));
    border-color: rgba(100, 255, 218, 0.45);
}

.btn-outline {
    color: var(--accent-color);
    background: var(--surface-color);
    border-color: rgba(100, 255, 218, 0.35);
    --btn-shadow-rest: inset -6px -6px 12px rgba(255, 255, 255, 0.05), inset 6px 6px 12px rgba(0, 0, 0, 0.6);
    --btn-shadow-hover: -6px -6px 12px rgba(255, 255, 255, 0.06), 10px 10px 20px rgba(0, 0, 0, 0.6);
    --btn-shadow-focus: -6px -6px 12px rgba(255, 255, 255, 0.06), 10px 10px 20px rgba(0, 0, 0, 0.6), var(--focus-ring);
    --btn-shadow-active: inset -4px -4px 8px rgba(255, 255, 255, 0.05), inset 4px 4px 8px rgba(0, 0, 0, 0.55);
}

.btn-outline:hover {
    color: #041610;
    background: linear-gradient(145deg, rgba(100, 255, 218, 0.18), rgba(100, 255, 218, 0.3));
    border-color: rgba(100, 255, 218, 0.5);
}

.btn-outline:focus-visible {
    color: #041610;
    background: linear-gradient(145deg, rgba(100, 255, 218, 0.18), rgba(100, 255, 218, 0.3));
    border-color: rgba(100, 255, 218, 0.55);
}

/* Sections */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--neumorph-border);
    box-shadow:
        -18px -18px 32px rgba(255, 255, 255, 0.04),
        18px 18px 36px rgba(0, 0, 0, 0.7);
    text-align: center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
    overflow: hidden;
}
.feature-card::before,
.earn-card::before,
.dapp-card::before,
.security-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.feature-card:hover::before,
.feature-card:focus-within::before,
.earn-card:hover::before,
.earn-card:focus-within::before,
.dapp-card:hover::before,
.dapp-card:focus-within::before,
.security-card:hover::before,
.security-card:focus-within::before {
    opacity: 0.35;
}

.feature-card,
.earn-card,
.dapp-card,
.security-card {
    outline: none;
}


.feature-card:hover,
.feature-card:focus-within {
    transform: translateY(-10px);
    box-shadow:
        -12px -12px 24px rgba(255, 255, 255, 0.05),
        22px 22px 40px rgba(0, 0, 0, 0.75);
    border-color: rgba(100, 255, 218, 0.25);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--surface-elevated), var(--surface-color));
    border-radius: 24px;
    border: 1px solid var(--neumorph-border);
    color: var(--accent-color);
    font-size: 2rem;
    box-shadow:
        inset -6px -6px 12px rgba(255, 255, 255, 0.08),
        inset 6px 6px 12px rgba(0, 0, 0, 0.55),
        0 18px 26px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.feature-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Earn Section */
.earn {
    padding: 80px 0;
    background: var(--background-color);
}

.earn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.earn-card {
    position: relative;
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--neumorph-border);
    box-shadow:
        -16px -16px 28px rgba(255, 255, 255, 0.04),
        16px 16px 32px rgba(0, 0, 0, 0.65);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
    overflow: hidden;
}

.earn-card:hover,
.earn-card:focus-within {
    transform: translateY(-8px);
    box-shadow:
        -10px -10px 20px rgba(255, 255, 255, 0.05),
        20px 20px 36px rgba(0, 0, 0, 0.72);
    border-color: rgba(100, 255, 218, 0.2);
}

.earn-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, var(--surface-elevated), var(--surface-color));
    border-radius: 18px;
    border: 1px solid var(--neumorph-border);
    color: var(--secondary-color);
    font-size: 1.5rem;
    box-shadow:
        inset -5px -5px 10px rgba(255, 255, 255, 0.08),
        inset 5px 5px 10px rgba(0, 0, 0, 0.55),
        0 16px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.earn-title {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.earn-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* DApps Section */
.dapps {
    padding: 80px 0;
    background: var(--background-dark);
}

.dapps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.dapp-card {
    position: relative;
    display: block;
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--neumorph-border);
    box-shadow:
        -18px -18px 32px rgba(255, 255, 255, 0.04),
        18px 18px 36px rgba(0, 0, 0, 0.7);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
    overflow: hidden;
}

.dapp-card:hover,
.dapp-card:focus-within {
    transform: translateY(-10px);
    box-shadow:
        -12px -12px 24px rgba(255, 255, 255, 0.05),
        22px 22px 40px rgba(0, 0, 0, 0.75);
    border-color: rgba(100, 255, 218, 0.25);
}

.dapp-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--surface-elevated), var(--surface-color));
    border-radius: 24px;
    border: 1px solid var(--neumorph-border);
    overflow: hidden;
    box-shadow:
        inset -5px -5px 10px rgba(255, 255, 255, 0.08),
        inset 5px 5px 10px rgba(0, 0, 0, 0.55),
        0 16px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.dapp-icon img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.dapp-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.dapp-description {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Security Section */
.security {
    padding: 80px 0;
    background: var(--background-color);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.security-card {
    position: relative;
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--neumorph-border);
    box-shadow:
        -18px -18px 32px rgba(255, 255, 255, 0.04),
        18px 18px 36px rgba(0, 0, 0, 0.7);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
    overflow: hidden;
}

.security-card:hover,
.security-card:focus-within {
    transform: translateY(-10px);
    box-shadow:
        -12px -12px 24px rgba(255, 255, 255, 0.05),
        22px 22px 40px rgba(0, 0, 0, 0.75);
    border-color: rgba(100, 255, 218, 0.25);
}

.security-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--surface-elevated), var(--surface-color));
    border-radius: 24px;
    border: 1px solid var(--neumorph-border);
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow:
        inset -6px -6px 12px rgba(255, 255, 255, 0.08),
        inset 6px 6px 12px rgba(0, 0, 0, 0.55),
        0 18px 26px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}
.feature-card:hover .feature-icon,
.feature-card:focus-within .feature-icon,
.earn-card:hover .earn-icon,
.earn-card:focus-within .earn-icon,
.dapp-card:hover .dapp-icon,
.dapp-card:focus-within .dapp-icon,
.security-card:hover .security-icon,
.security-card:focus-within .security-icon {
    transform: translateY(-6px);
    box-shadow:
        inset -4px -4px 8px rgba(255, 255, 255, 0.12),
        inset 4px 4px 8px rgba(0, 0, 0, 0.5),
        0 20px 32px rgba(0, 0, 0, 0.55);
}


.security-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.security-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.security-downloads {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--background-color);
    color: var(--text-light);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 32px;
    width: 32px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--border-color);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 11, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .container {
        padding: 0 15px;
    }

    .features-grid,
    .earn-grid,
    .dapps-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .features,
    .earn,
    .dapps,
    .security {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card,
    .dapp-card,
    .security-card {
        padding: 1.5rem;
    }

    .earn-card {
        padding: 1.25rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .security-downloads {
        display: none !important;
    }

    .hero {
        padding: 20px 0;
    }

    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}














