/* HyPay Page - Modern Dynamic Design */

/* CSS Variables */
:root {
    --primary-cyan: #00C2D8;
    --primary-pink: #FF2E88;
    --black: #000000;
    --white: #FFFFFF;
    --dark-bg: #0F0F15;
    --soft-gray: #F5F5F5;
    --gradient-primary: linear-gradient(135deg, #00C2D8 0%, #FF2E88 100%);
    --gradient-reverse: linear-gradient(135deg, #FF2E88 0%, #00C2D8 100%);
    --gradient-vertical: linear-gradient(180deg, #00C2D8 0%, #FF2E88 100%);
    --HyPay-gold: #FFB800;
    --HyPay-gradient: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; overflow-x: hidden; color: var(--black); background-color: var(--white); }
html { scroll-behavior: smooth; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== */
/* Navbar               */
/* ==================== */
.navbar {
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(15, 15, 21, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 80px;
    padding: 0.5rem 0;
    margin-right: 2rem;
    position: relative;
    z-index: 10;
}

.navbar.scrolled .navbar-brand { height: 70px; }

.navbar-logo {
    height: 70px;
    width: auto;
    max-width: 320px;
    min-width: auto;
    object-fit: contain;
    object-position: left center;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3)) brightness(1.5) contrast(1.8) saturate(1.3);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    will-change: transform;
    position: relative;
    z-index: 2;
}

.navbar.scrolled .navbar-logo {
    height: 65px;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4)) brightness(1.6) contrast(2) saturate(1.4);
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar.scrolled .navbar-brand::before { opacity: 1; }

.navbar-toggler { border: none; padding: 0.5rem; position: relative; z-index: 10; }
.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    font-size: 0.85rem;
    margin: 0 0.8rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link.active { color: var(--primary-cyan) !important; }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.btn-cta-nav {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: 0.65rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(0, 194, 216, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-cta-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-reverse);
    transition: left 0.3s ease;
}

.btn-cta-nav:hover::before { left: 0; }
.btn-cta-nav span { position: relative; z-index: 1; }

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 194, 216, 0.3);
    color: var(--white);
    text-decoration: none;
}

.btn-login-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 229, 255, 0.3);
    color: var(--white);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-left: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-login-nav:hover::before {
    left: 0;
}

.btn-login-nav span,
.btn-login-nav i {
    position: relative;
    z-index: 1;
}

.btn-login-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.3);
    border-color: transparent;
    color: var(--white);
    text-decoration: none;
}

/* ==================== */
/* Hero Section         */
/* ==================== */
.hypay-hero {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-bg);
    padding-top: 120px;
    padding-bottom: 3rem;
}

.hypay-hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(circle at 25% 35%, rgba(255, 184, 0, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(0, 194, 216, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 46, 136, 0.06) 0%, transparent 70%);
    z-index: 1;
    animation: heroGradient 15s ease-in-out infinite;
}

@keyframes heroGradient {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.02); }
    66% { transform: translate(-15px, 10px) scale(0.98); }
}

/* Floating Icons */
.hero-floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-float-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.08;
    color: var(--white);
    animation: iconFloat 12s ease-in-out infinite;
}

.hero-float-1 { top: 15%; left: 8%; font-size: 3rem; animation-delay: 0s; color: var(--HyPay-gold); opacity: 0.15; }
.hero-float-2 { top: 25%; right: 12%; font-size: 2.5rem; animation-delay: 2s; color: var(--primary-pink); opacity: 0.1; }
.hero-float-3 { bottom: 30%; left: 15%; font-size: 2.2rem; animation-delay: 4s; color: var(--primary-cyan); opacity: 0.1; }
.hero-float-4 { bottom: 20%; right: 8%; font-size: 3rem; animation-delay: 6s; color: var(--HyPay-gold); opacity: 0.12; }
.hero-float-5 { top: 55%; left: 50%; font-size: 1.8rem; animation-delay: 3s; opacity: 0.06; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-25px) rotate(2deg); }
}

/* Particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0;
    animation: particleRise 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; background: var(--HyPay-gold); }
.particle:nth-child(2) { left: 30%; animation-delay: 1.5s; background: var(--primary-cyan); }
.particle:nth-child(3) { left: 50%; animation-delay: 3s; background: var(--primary-pink); }
.particle:nth-child(4) { left: 70%; animation-delay: 4.5s; background: var(--HyPay-gold); }
.particle:nth-child(5) { left: 85%; animation-delay: 2s; background: var(--primary-cyan); }
.particle:nth-child(6) { left: 20%; animation-delay: 5.5s; background: var(--primary-pink); }

@keyframes particleRise {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* Hero Content */
.hypay-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hypay-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 184, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--HyPay-gold);
    margin-bottom: 2rem;
    animation: badgeFloat 3s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(255, 184, 0, 0.15);
}

.hypay-hero-badge i {
    font-size: 1rem;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hypay-hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

.hypay-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Hero Conversion Rates */
.hero-conversion-rates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.conversion-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.4rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.conversion-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.conversion-badge .conversion-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 194, 216, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-cyan);
}

.conversion-badge.HyPay .conversion-icon {
    background: rgba(255, 184, 0, 0.15);
    color: var(--HyPay-gold);
}

.conversion-badge.cash .conversion-icon {
    background: rgba(255, 46, 136, 0.15);
    color: var(--primary-pink);
}

.conversion-info {
    display: flex;
    flex-direction: column;
}

.conversion-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.conversion-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.conversion-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.25);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.25; transform: translateX(0); }
    50% { opacity: 0.6; transform: translateX(4px); }
}

/* ==================== */
/* Section Common       */
/* ==================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 194, 216, 0.08);
    border: 1px solid rgba(0, 194, 216, 0.15);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-cyan);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.section-badge.light i {
    color: var(--HyPay-gold);
}

.section-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.section-heading.light { color: var(--white); }

.section-desc {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.55);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-desc.light { color: rgba(255, 255, 255, 0.6); }

/* ==================== */
/* How It Works         */
/* ==================== */
.how-it-works-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--white) 0%, #FAFAFA 100%);
}

.steps-wrapper {
    position: relative;
}

.steps-line {
    display: none;
}

.step-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.step-card:hover::before { transform: scaleX(1); }

.step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 194, 216, 0.2);
    box-shadow: 0 20px 60px rgba(0, 194, 216, 0.12);
}

.step-card.featured {
    border-color: rgba(255, 184, 0, 0.2);
    background: linear-gradient(180deg, rgba(255, 184, 0, 0.03) 0%, var(--white) 100%);
}

.step-card.featured::before {
    background: var(--HyPay-gradient);
    transform: scaleX(1);
}

.step-card.featured:hover {
    border-color: rgba(255, 184, 0, 0.3);
    box-shadow: 0 20px 60px rgba(255, 184, 0, 0.15);
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.06;
    color: var(--black);
    pointer-events: none;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 194, 216, 0.3);
    transition: all 0.4s ease;
}

.step-card.featured .step-icon {
    background: var(--HyPay-gradient);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.3);
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.step-desc {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.step-detail { margin-top: auto; }

.step-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: rgba(0, 194, 216, 0.08);
    border: 1px solid rgba(0, 194, 216, 0.15);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-cyan);
}

.step-tag.highlight {
    background: rgba(255, 184, 0, 0.1);
    border-color: rgba(255, 184, 0, 0.2);
    color: #D49B00;
}

/* ==================== */
/* Calculator Section   */
/* ==================== */
.calculator-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: var(--dark-bg);
}

.calculator-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(circle at 20% 40%, rgba(255, 184, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(0, 194, 216, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.calc-info {
    position: relative;
    z-index: 1;
}

.calc-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.calc-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.calc-formula-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.formula-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.formula-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.formula-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 184, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--HyPay-gold);
    flex-shrink: 0;
}

.formula-text {
    display: flex;
    flex-direction: column;
}

.formula-text strong {
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 700;
}

.formula-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Calculator Card */
.calc-card {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.calc-card:hover {
    border-color: rgba(255, 184, 0, 0.15);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.calc-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.calc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--HyPay-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.3);
}

.calc-card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.calc-input-group {
    margin-bottom: 2rem;
}

.calc-input-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.3rem;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.calc-input-wrapper:focus-within {
    border-color: var(--HyPay-gold);
    background: rgba(255, 184, 0, 0.06);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.1);
}

.calc-input-wrapper i {
    font-size: 1.2rem;
    color: var(--HyPay-gold);
}

.calc-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    outline: none;
    min-width: 0;
}

.calc-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
    font-size: 0.95rem;
}

/* Remove spinner from number input */
.calc-input-wrapper input[type="number"]::-webkit-outer-spin-button,
.calc-input-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-input-wrapper input[type="number"] {
    -moz-appearance: textfield;
}

.input-suffix {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Results */
.calc-results {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.calc-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
}

.result-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.result-icon.HyPay {
    background: rgba(255, 184, 0, 0.12);
    color: var(--HyPay-gold);
}

.result-icon.cash {
    background: rgba(0, 194, 216, 0.12);
    color: var(--primary-cyan);
}

.result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    transition: all 0.3s ease;
}

.result-unit {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.calc-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.3rem 0;
}

/* Quick Buttons */
.calc-quick-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: rgba(255, 184, 0, 0.1);
    border-color: rgba(255, 184, 0, 0.3);
    color: var(--HyPay-gold);
    transform: translateY(-2px);
}

.quick-btn.active {
    background: rgba(255, 184, 0, 0.15);
    border-color: var(--HyPay-gold);
    color: var(--HyPay-gold);
}

/* ==================== */
/* Earning Section      */
/* ==================== */
.earning-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FAFAFA 0%, var(--white) 50%, #FAFAFA 100%);
}

.earning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.earning-card {
    position: relative;
    padding: 2.2rem 1.8rem;
    background: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.04);
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.earning-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 194, 216, 0.08), transparent 70%);
    transition: all 0.5s ease;
    pointer-events: none;
}

.earning-card:hover .earning-card-glow {
    background: radial-gradient(circle, rgba(0, 194, 216, 0.15), transparent 70%);
    transform: scale(1.5);
}

.earning-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.earning-card:hover::before { transform: scaleX(1); }

.earning-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 194, 216, 0.15);
    box-shadow: 0 20px 50px rgba(0, 194, 216, 0.1);
}

.earning-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 194, 216, 0.25);
    transition: all 0.4s ease;
}

.earning-card:hover .earning-icon {
    transform: scale(1.1) rotate(5deg);
}

.earning-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    font-weight: 900;
    opacity: 0.05;
    color: var(--black);
    line-height: 1;
    pointer-events: none;
}

.earning-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.6rem;
}

.earning-card > p {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.earning-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.earning-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.82rem;
    color: rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.earning-list li i {
    color: var(--primary-cyan);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.earning-card:hover .earning-list li {
    transform: translateX(4px);
}

/* ==================== */
/* Rewards Section      */
/* ==================== */
.rewards-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: var(--dark-bg);
}

.rewards-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 184, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 46, 136, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.reward-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.reward-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.reward-card:hover::before { opacity: 0.06; }

.reward-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 194, 216, 0.15);
}

.reward-card > * { position: relative; z-index: 1; }

.reward-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin: 0 auto 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 194, 216, 0.3);
    transition: all 0.4s ease;
}

.reward-card:hover .reward-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.reward-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.reward-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}

.reward-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.7rem;
    background: rgba(255, 184, 0, 0.15);
    border: 1px solid rgba(255, 184, 0, 0.25);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--HyPay-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== */
/* Benefits Section     */
/* ==================== */
.benefits-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 194, 216, 0.15);
    box-shadow: 0 15px 45px rgba(0, 194, 216, 0.1);
}

.benefit-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 194, 216, 0.1), rgba(255, 46, 136, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1rem;
    transition: all 0.4s ease;
}

.benefit-icon i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-card:hover .benefit-icon {
    background: var(--gradient-primary);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 194, 216, 0.3);
}

.benefit-card:hover .benefit-icon i {
    background: none;
    -webkit-text-fill-color: var(--white);
    color: var(--white);
}

.benefit-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.6;
    margin: 0;
}

/* ==================== */
/* CTA Section          */
/* ==================== */
/* ==================== */
/* Footer               */
/* ==================== */
.footer-modern {
    background: #0B0B0E;
    color: #EDEDED;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00E5FF, #FF2E88, transparent);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand { max-width: 400px; }

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.footer-logo:hover { transform: translateY(-2px); }

.footer-logo-img {
    height: 100px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.footer-logo-img:hover { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); }

.footer-tagline {
    font-size: 1rem;
    line-height: 1.7;
    color: #9AA0A6;
    margin: 0;
}

.footer-nav-title {
    font-size: 1rem;
    font-weight: 700;
    color: #EDEDED;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-nav-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li { margin-bottom: 0.8rem; }

.footer-nav-link {
    color: #9AA0A6;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-nav-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #00E5FF;
}

.footer-nav-link:hover {
    color: #EDEDED;
    padding-left: 20px;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
    text-decoration: none;
}

.footer-nav-link:hover::before { opacity: 1; left: 0; }

.footer-social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #9AA0A6;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-social-link:hover {
    transform: translateY(-5px);
    color: #EDEDED;
    text-decoration: none;
}

.footer-social-link[data-platform="tiktok"]:hover {
    background: linear-gradient(135deg, #00E5FF, #FF2E88);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
}

.footer-bottom { padding-top: 0; }

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 2rem;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: #9AA0A6;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-legal-link {
    color: #9AA0A6;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00E5FF;
    transition: width 0.3s ease;
}

.footer-legal-link:hover {
    color: #EDEDED;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
    text-decoration: none;
}

.footer-legal-link:hover::after { width: 100%; }
.footer-legal-separator { color: #9AA0A6; font-size: 0.9rem; }

/* ==================== */
/* Responsive           */
/* ==================== */
@media (max-width: 992px) {
    .navbar-nav {
        background: rgba(15, 15, 21, 0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .nav-link {
        margin: 0.5rem 0;
        padding: 0.8rem 1rem;
        border-radius: 8px;
    }

    .nav-link:hover { background: rgba(255, 255, 255, 0.05); }

    .btn-cta-nav {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .earning-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rewards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar { padding: 1rem 0; }
    .navbar.scrolled { padding: 0.7rem 0; }

    .navbar-logo {
        height: 60px;
        max-width: 280px;
        min-width: 200px;
    }

    .navbar.scrolled .navbar-logo { height: 55px; }

    .hypay-hero {
        min-height: 75vh;
        padding-top: 100px;
    }

    .hypay-hero-title { font-size: 2.2rem; }

    .hero-conversion-rates {
        gap: 0.5rem;
    }

    .conversion-badge {
        padding: 0.6rem 1rem;
        gap: 0.5rem;
    }

    .conversion-badge .conversion-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .conversion-value { font-size: 1.1rem; }
    .conversion-arrow { font-size: 1.2rem; }

    .how-it-works-section,
    .calculator-section,
    .earning-section,
    .rewards-section,
    .benefits-section,
    .hypay-cta-section {
        padding: 4rem 0;
    }

    .earning-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .rewards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .calc-card {
        padding: 1.8rem;
    }

    .calc-formula-cards {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand { max-width: 100%; }
    .footer-logo-img { height: 45px; }
    .footer-nav-title { font-size: 0.95rem; margin-bottom: 1rem; }
    .footer-social-icons { gap: 0.75rem; }
    .footer-social-link { width: 45px; height: 45px; font-size: 1.2rem; }

    .footer-copyright {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-legal { justify-content: center; }
}

@media (max-width: 576px) {
    .hypay-hero {
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 2rem;
    }

    .hypay-hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }

    .hypay-hero-title { font-size: 1.8rem; }

    .hero-conversion-rates {
        flex-direction: column;
        gap: 0.4rem;
    }

    .conversion-arrow {
        transform: rotate(90deg);
    }

    .conversion-badge {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .step-card { padding: 2rem 1.5rem; }
    .step-icon { width: 60px; height: 60px; font-size: 1.5rem; }

    .calc-card { padding: 1.5rem; border-radius: 20px; }

    .calc-quick-buttons {
        justify-content: center;
    }

    .quick-btn { padding: 0.4rem 0.8rem; font-size: 0.75rem; }

    .result-value { font-size: 1.5rem; }

    .earning-card { padding: 1.8rem 1.5rem; }

    .cta-title { font-size: 1.5rem; }

    .footer-modern { padding: 2.5rem 0 1.5rem; }
    .footer-logo-img { height: 40px; }
    .footer-tagline { font-size: 0.9rem; }
    .footer-social-link { width: 40px; height: 40px; font-size: 1.1rem; }
}
