/* ========================================
   SKILL SWAP - MODERN WEBSITE STYLES
   3D Animations | Dark Theme | Glassmorphism
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --gold-dark: #B8960C;
    --dark: #0A0A0A;
    --dark-light: #141414;
    --dark-lighter: #1E1E1E;
    --white: #FFFFFF;
    --white-80: rgba(255, 255, 255, 0.8);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-05: rgba(255, 255, 255, 0.05);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    --gradient-hero: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    
    /* Shadows */
    --shadow-gold: 0 0 40px rgba(212, 175, 55, 0.3);
    --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.5);
    
    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1280px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Selection */
::selection {
    background: var(--gold);
    color: var(--dark);
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.1;
    transition: transform 0.3s ease-out;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--white-10);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    animation: pulse-gold 2s infinite;
}

.logo-icon svg {
    width: 32px;
    height: 32px;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--white-60);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-medium);
}

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

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-fast);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 40px;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 50px;
    padding: 10px 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.9rem;
    color: var(--white-80);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white-60);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--gold);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white-60);
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--white-10);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white-40);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white-40);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--white-05);
    color: var(--white);
    border: 1px solid var(--white-10);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white-10);
    border-color: var(--white-20);
}

.btn-icon {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ========================================
   APP SHOWCASE SECTION
   ======================================== */
.app-showcase {
    padding: var(--section-padding) 40px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.phone-showcase {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: var(--dark-lighter);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 0 0 1px var(--white-10),
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(212, 175, 55, 0.1);
    position: relative;
    transform-style: preserve-3d;
    transition: transform var(--transition-medium);
}

.phone-frame:hover {
    transform: rotateY(-5deg) rotateX(5deg) scale(1.02);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: var(--dark);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--dark);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.phone-frame:hover .screen-image {
    transform: scale(1.05);
}

.phone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: 40px;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--white-10);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: -40px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    left: -60px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    right: -20px;
    animation-delay: 4s;
}

.card-icon {
    font-size: 1.5rem;
}

.card-text strong {
    display: block;
    color: var(--white);
    font-weight: 600;
}

.card-text span {
    font-size: 0.85rem;
    color: var(--white-60);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}

.feature-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-info p {
    color: var(--white-60);
    line-height: 1.7;
}

/* ========================================
   FEATURE SECTIONS
   ======================================== */
.feature-section {
    padding: var(--section-padding) 40px;
    position: relative;
}

.feature-section.dark {
    background: var(--dark-light);
}

.feature-section.gradient-bg {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-lighter) 50%, var(--dark) 100%);
    position: relative;
}

.feature-section.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.feature-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-container.reverse {
    direction: rtl;
}

.feature-container.reverse > * {
    direction: ltr;
}

.feature-visual {
    position: relative;
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite;
}

.feature-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gold-text {
    color: var(--gold);
}

.feature-desc {
    color: var(--white-60);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.feature-list-check {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-list-check li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white-80);
}

.check {
    width: 24px;
    height: 24px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--dark);
}

.wallet-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wallet-card {
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all var(--transition-medium);
}

.wallet-card:hover {
    background: var(--white-10);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.wallet-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.wallet-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.wallet-card p {
    font-size: 0.85rem;
    color: var(--white-60);
}

.trust-badges {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
}

.badge-item {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--white-10);
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.badge-icon {
    color: var(--gold);
}

.trust-stats {
    display: flex;
    gap: 40px;
}

.trust-stat {
    text-align: center;
}

.trust-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.trust-label {
    font-size: 0.9rem;
    color: var(--white-60);
}

/* ========================================
   FEATURES GRID SECTION
   ======================================== */
.features-grid-section {
    padding: var(--section-padding) 40px;
}

.features-masonry {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.masonry-card {
    background: var(--dark-lighter);
    border: 1px solid var(--white-10);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.masonry-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.masonry-card.large {
    grid-column: span 2;
}

.masonry-card.large:last-child:nth-child(odd) {
    grid-column: span 1;
}

.card-icon-large {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.masonry-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.masonry-card p {
    color: var(--white-60);
    line-height: 1.7;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.masonry-card:hover .card-glow {
    opacity: 1;
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */
.download-section {
    padding: var(--section-padding) 40px;
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.download-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.download-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.download-subtitle {
    color: var(--white-60);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.download-apps {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    color: var(--dark);
    padding: 16px 28px;
    border-radius: 16px;
    text-decoration: none;
    transition: all var(--transition-medium);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.store-icon {
    width: 32px;
    height: 32px;
}

.store-icon svg {
    width: 100%;
    height: 100%;
}

.store-text {
    text-align: left;
}

.store-small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
}

.store-large {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 16px;
    padding: 12px;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    background: var(--dark-lighter);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-40);
    font-size: 0.75rem;
}

.qr-text {
    color: var(--white-60);
    font-size: 0.9rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-light);
    padding: 80px 40px 40px;
    border-top: 1px solid var(--white-10);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--white-60);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--white-60);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social {
    width: 40px;
    height: 40px;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.social:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--white-10);
    font-size: 0.9rem;
    color: var(--white-40);
}

.made-with {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

@keyframes pulse-gold {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0.4)); }
    50% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8)); }
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .showcase-container,
    .feature-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .phone-showcase {
        order: -1;
    }
    
    .features-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .masonry-card.large {
        grid-column: span 2;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 40px;
        gap: 24px;
        border-bottom: 1px solid var(--white-10);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .features-masonry {
        grid-template-columns: 1fr;
    }
    
    .masonry-card.large {
        grid-column: span 1;
    }
    
    .wallet-features {
        grid-template-columns: 1fr;
    }
    
    .feature-list-check {
        grid-template-columns: 1fr;
    }
    
    .trust-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .trust-badges {
        flex-direction: column;
        bottom: -60px;
    }
    
    .floating-card {
        display: none;
    }
    
    .download-apps {
        flex-direction: column;
        align-items: center;
    }
    
    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 100px 20px;
    }
    
    .phone-frame {
        width: 260px;
        height: 520px;
    }
    
    section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ========================================
   LEGAL PAGES (Terms & Privacy)
   ======================================== */
.legal-page {
    min-height: 100vh;
    padding: 120px 40px 60px;
    background: var(--dark);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.back-link:hover {
    transform: translateX(-5px);
    opacity: 0.8;
}

.legal-header {
    margin-bottom: 40px;
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.last-updated {
    color: var(--white-60);
    font-size: 0.95rem;
}

.legal-content {
    color: var(--white-80);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--white-10);
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.legal-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.legal-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.2rem;
}

/* ========================================
   OLD STYLE.CSS COMPATIBILITY
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Simple navbar for legal pages */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar .nav-links a {
    color: var(--white-60);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.navbar .nav-links a:hover {
    color: var(--gold);
}

/* Hide custom cursor on mobile */
@media (pointer: coarse) {
    .cursor,
    .cursor-follower {
        display: none;
    }
}
