* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 50%, #e8e8e8 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body.loading * {
    animation-play-state: paused !important;
}

/* Background image on right side */
.background-image-right {
    position: fixed;
    right: 1%;
    top: 0;
    width: 70%;
    height: 105%;
    background-image: url('images/ai.png');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    filter: contrast(1.1) brightness(1.05);
}

/* Bottom left corner image */
.bottom-left-image {
    position: fixed;
    bottom: -13%;
    left: 4%;
    width: 500px;
    height: 500px;
    background-image: url('images/execute.png');
    background-size: contain;
    background-position: bottom left;
    background-repeat: no-repeat;
    opacity: 0.8;
    pointer-events: none;
    z-index: 2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 60px 40px;
    position: relative;
    z-index: 10;
}

/* Navigation */
.nav-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

/* Logo */
.logo {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
    margin-right: auto;
    opacity: 0;
    animation: fadeInDown 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.1s;
}

.defi-logo {
    width: 100%;
    height: 100%;
}

.defi-logo svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(40, 68, 52, 0.4));
}

.defi-logo svg circle,
.defi-logo svg line,
.defi-logo svg polygon {
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Nav CTA Button */
.nav-cta-btn {
    padding: 12px 28px;
    background: transparent;
    color: #284434;
    right: -6%;
    border: 3px solid #284434;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(40, 68, 52, 0.3);
    opacity: 0;
    animation: fadeInRight 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, buttonPulse 2s ease-in-out infinite;
    animation-delay: 0.3s, 1.3s;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: visible;
}

.nav-cta-btn::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(90deg, #284434, transparent, transparent, transparent);
    border-radius: 50px;
    z-index: -1;
    animation: borderRotate 2s linear infinite;
}

.nav-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #284434 0%, #356b4a 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.nav-cta-btn:hover::before {
    opacity: 1;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 68, 52, 0.5);
    border-radius: 50px;
    color: white;
    border-color: #284434;
}

.nav-cta-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-cta-btn:hover .arrow {
    transform: translateX(4px);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(40, 68, 52, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(40, 68, 52, 0.6);
    }
}

/* Hero Content */
.hero-content {
    max-width: 700px;
    margin-top: -20px;
}

.main-heading {
    font-size: 84px;
    font-weight: 700;
    color: #0d5d2e;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.2s;
    text-shadow: 0 2px 4px rgba(13, 93, 46, 0.1);
}

.subheading-container {
    margin-bottom: 150px;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.4s;
}

.subheading {
    font-size: 28px;
    color: #0d5d2e;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: 400;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* CTA Section */
.cta-section {
    position: fixed;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 2px solid transparent;
    background-clip: padding-box;
    opacity: 0;
    animation: fadeInScale 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, borderGlow 3s ease-in-out infinite;
    animation-delay: 0.8s, 1.6s;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(76, 217, 100, 0.5), 
        rgba(76, 217, 100, 0.1), 
        rgba(76, 217, 100, 0.5));
    border-radius: 25px;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 23px;
    z-index: -1;
}

/* Center image */
.center-image {
    position: relative;
    width: 100%;
    max-width: 380px;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 1s;
    overflow: visible;
}

.center-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Animated Border Wrapper */
.animated-border-wrapper {
    position: relative;
    display: inline-block;
    padding: 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(40, 68, 52, 0.1), rgba(40, 68, 52, 0.05));
    box-shadow: 
        0 0 0 1px rgba(40, 68, 52, 0.1),
        0 10px 40px rgba(40, 68, 52, 0.2);
}

.animated-border-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 24px;
    background: linear-gradient(45deg, 
        #284434, #356b4a, #4cd964, #284434, #356b4a);
    background-size: 300% 100%;
    z-index: -1;
    animation: borderGradientMove 4s linear infinite;
    opacity: 0.6;
}

.animated-border-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(40, 68, 52, 0.3), rgba(76, 217, 100, 0.3));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Border Circles - Orbiting dots */
.border-circle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #284434;
    border-radius: 50%;
    box-shadow: 
        0 0 10px #284434,
        0 0 20px rgba(40, 68, 52, 0.5),
        0 0 30px rgba(76, 217, 100, 0.3);
    z-index: 5;
}

.border-circle.top {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    animation: orbitTop 4s linear infinite;
}

.border-circle.right {
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    animation: orbitRight 4s linear infinite;
    animation-delay: 1s;
}

.border-circle.bottom {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    animation: orbitBottom 4s linear infinite;
    animation-delay: 2s;
}

.border-circle.left {
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    animation: orbitLeft 4s linear infinite;
    animation-delay: 3s;
}

@keyframes borderGradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

@keyframes orbitTop {
    0% {
        transform: translateX(-50%) translateX(-60px);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateX(60px);
        opacity: 0;
    }
}

@keyframes orbitRight {
    0% {
        transform: translateY(-50%) translateY(-60px);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) translateY(60px);
        opacity: 0;
    }
}

@keyframes orbitBottom {
    0% {
        transform: translateX(-50%) translateX(60px);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateX(-60px);
        opacity: 0;
    }
}

@keyframes orbitLeft {
    0% {
        transform: translateY(-50%) translateY(60px);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) translateY(-60px);
        opacity: 0;
    }
}

/* Pulse effect on border circles */
.border-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(76, 217, 100, 0.4);
    animation: circlePulse 2s ease-out infinite;
}

@keyframes circlePulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.cta-buttons {
    position: absolute;
    top: 20.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
    max-width: 380px;
    justify-content: center;
    z-index: 10;
    overflow: visible;
}

.cta-buttons-second {
    top: calc(20.5% + 120px);
}

.cta-buttons-third {
    top: calc(20.5% + 232px);
}

.btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.btn[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 102%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(40, 68, 52, 0.95);
    color: #fff;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 10000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: tooltipFadeIn 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
}

.btn[data-tooltip]:hover::after {
    content: '';
    position: absolute;
    bottom: calc(102% - 8px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(40, 68, 52, 0.95);
    z-index: 10000;
    pointer-events: none;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.btn-primary {
    background: #284434;
    color: rgb(181, 223, 196);
    flex: 1;
}

.btn-secondary {
    background: #284434;
    color: rgb(181, 223, 196);
}

.btn .icon {
    font-size: 22px;
}

.icon-circle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff5722;
    border-radius: 50%;
}

.icon-circle img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.btn-label {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.9;
}

.btn-title {
    font-size: 16px;
    font-weight: 600;
}

/* Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float linear infinite;
    will-change: transform, opacity;
}

/* Large decorative circles */
.large-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(76, 217, 100, 0.4), rgba(76, 217, 100, 0.05));
    border: 2px solid rgba(76, 217, 100, 0.3);
    pointer-events: none;
    will-change: transform, opacity;
}

.large-circle.left {
    width: 200px;
    height: 200px;
    top: 80px;
    left: 50px;
    opacity: 0;
    animation: fadeInScale 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.3s, pulse 4s ease-in-out infinite 1.5s;
}

.large-circle.right {
    width: 150px;
    height: 150px;
    top: 100px;
    right: 100px;
    opacity: 0;
    animation: fadeInScale 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.5s, pulse 5s ease-in-out infinite 1.8s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0.5);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 30px rgba(76, 217, 100, 0.3);
    }
    50% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 50px rgba(76, 217, 100, 0.6);
    }
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

    .main-heading {
        font-size: 42px;
    }

    .subheading {
        font-size: 18px;
    }

    .cta-section {
        padding: 25px 20px;
        bottom: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        max-width: 90%;
        gap: 12px;
    }

    .center-image {
        max-width: 280px;
    }
    
    .btn {
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
        font-size: 12px;
    }

    .large-circle.left {
        width: 120px;
        height: 120px;
        left: 20px;
    }

    .large-circle.right {
        width: 100px;
        height: 100px;
        right: 20px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 2px #284434;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid #284434;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    color: #284434;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(40, 68, 52, 0.1);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 42px;
    font-weight: 700;
    color: #284434;
    margin-bottom: 10px;
    text-align: center;
}

.modal-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #284434;
    margin-bottom: 30px;
    text-align: center;
}

.modal-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.modal-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: 16px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    animation: slideInLeft 0.5s ease forwards;
    opacity: 0;
}

.modal-step:nth-child(1) { animation-delay: 0.1s; }
.modal-step:nth-child(2) { animation-delay: 0.2s; }
.modal-step:nth-child(3) { animation-delay: 0.3s; }
.modal-step:nth-child(4) { animation-delay: 0.4s; }

.modal-step:hover {
    border-color: #284434;
    box-shadow: 0 8px 20px rgba(40, 68, 52, 0.2);
    transform: translateX(5px);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #284434, #284434);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #284434;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.modal-cta {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #284434, #284434);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px #284434;
    position: relative;
}

.modal-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(40, 68, 52, 0.4);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Encryption Section */
.encryption-section {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    margin-top: 0;
}

.encryption-section.active {
    max-height: 600px;
    opacity: 1;
    margin-top: 30px;
}

.encryption-info {
    background: linear-gradient(135deg, rgba(40, 68, 52, 0.1), rgba(40, 68, 52, 0.05));
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 2px solid rgba(40, 68, 52, 0.2);
    animation: flowIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.encryption-section.active .encryption-info {
    animation-delay: 0.2s;
}

.encryption-title {
    font-size: 24px;
    font-weight: 600;
    color: #284434;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.encryption-text {
    font-size: 16px;
    color: #284434;
    line-height: 1.6;
    opacity: 0.9;
}

.recovery-input-section {
    animation: flowIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.encryption-section.active .recovery-input-section {
    animation-delay: 0.4s;
}

.recovery-input {
    width: 100%;
    padding: 18px;
    border: 2px solid #284434;
    border-radius: 16px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    resize: vertical;
    min-height: 120px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background: white;
    color: #284434;
}

.recovery-input:focus {
    outline: none;
    border-color: #284434;
    box-shadow: 0 0 0 3px rgba(40, 68, 52, 0.1), 0 4px 12px rgba(40, 68, 52, 0.15);
}

.recovery-input::placeholder {
    color: rgba(40, 68, 52, 0.5);
}

.connect-btn {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #284434, #284434);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(40, 68, 52, 0.3);
    position: relative;
}

.connect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(40, 68, 52, 0.4);
}

@keyframes flowIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 100000;
    max-width: 400px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #284434, #356b4a);
    color: white;
    border: 2px solid #284434;
}

.notification-error {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: white;
    border: 2px solid #a93226;
}

.notification-info {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    border: 2px solid #1a252f;
}

.connect-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.recovery-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* Crypto Solving Animation */
.crypto-solving-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.crypto-solving-animation.active {
    opacity: 1;
}

.crypto-animation-content {
    text-align: center;
    padding: 40px;
    max-width: 500px;
}

/* Blockchain Nodes Animation */
.blockchain-nodes {
    position: relative;
    height: 150px;
    margin-bottom: 30px;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #284434;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(40, 68, 52, 0.5);
    animation: nodePulse 2s ease-in-out infinite;
}

.node-1 {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    animation-delay: 0s;
}

.node-2 {
    top: 20%;
    left: 30%;
    animation-delay: 0.2s;
}

.node-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0.4s;
    width: 24px;
    height: 24px;
}

.node-4 {
    top: 20%;
    right: 30%;
    animation-delay: 0.6s;
}

.node-5 {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    animation-delay: 0.8s;
}

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #284434, transparent);
    animation: lineFlow 2s ease-in-out infinite;
}

.line-1 {
    top: 50%;
    left: 12%;
    width: 18%;
    transform: rotate(-20deg);
    animation-delay: 0.1s;
}

.line-2 {
    top: 35%;
    left: 32%;
    width: 15%;
    transform: rotate(20deg);
    animation-delay: 0.3s;
}

.line-3 {
    top: 35%;
    right: 32%;
    width: 15%;
    transform: rotate(-20deg);
    animation-delay: 0.5s;
}

.line-4 {
    top: 50%;
    right: 12%;
    width: 18%;
    transform: rotate(20deg);
    animation-delay: 0.7s;
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(40, 68, 52, 0.5);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 30px rgba(40, 68, 52, 0.8);
    }
}

@keyframes lineFlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Solving Text Styles */
.solving-text {
    margin-top: 20px;
}

.solving-label {
    font-size: 20px;
    font-weight: 600;
    color: #284434;
    margin-bottom: 15px;
}

.solving-progress {
    width: 100%;
    height: 8px;
    background: rgba(40, 68, 52, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #284434, #356b4a, #284434);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progressFlow 2s ease-in-out infinite;
}

@keyframes progressFlow {
    0% {
        width: 0%;
        background-position: 0% 50%;
    }
    50% {
        width: 70%;
        background-position: 100% 50%;
    }
    100% {
        width: 95%;
        background-position: 200% 50%;
    }
}

.solving-steps {
    text-align: left;
    margin-top: 20px;
}

.step {
    font-size: 14px;
    color: #284434;
    padding: 8px 0;
    opacity: 0;
    animation: stepFadeIn 0.5s ease forwards;
}

.step:nth-child(1) {
    animation-delay: 0.5s;
}

.step:nth-child(2) {
    animation-delay: 1.5s;
}

.step:nth-child(3) {
    animation-delay: 2.5s;
}

.step:nth-child(4) {
    animation-delay: 3.5s;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

