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

body {
    font-family: 'Clear Sans Light', -apple-system, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #0d2b3e 50%, #0a1628 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

section {
    min-height: 100vh;
}

footer {
    opacity: 0.8;
    padding: 1em 0;
    text-align: center;
    font-size: 0.9rem;
    line-height: 2;
}

a {
    text-decoration: none;
    color: #fff;
}

a.link {
    border-bottom: 1px dotted #ffffff55;
}

.header-font {
    font-family: 'Roboto Condensed', sans-serif;
}

/* Animated background particles */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: linear-gradient(45deg, #00d4aa, #00a896);
    border-radius: 2px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) scale(1);
        opacity: 0;
    }
}

/* Orderbook animation bars */
.orderbook-viz {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10vh;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
}

.order-bar {
    position: absolute;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to top, #00d4aa, transparent);
    animation: orderExecution 3s infinite ease-in-out;
}

@keyframes orderExecution {
    0%, 100% {
        height: 20px;
        opacity: 0.3;
    }
    50% {
        height: 150px;
        opacity: 1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Header */
header {
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 5rem;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ffffff, #00d4aa, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.tagline {
    font-size: 1.2rem;
    color: #00d4aa;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 300;
}

/* Hero section */
.hero {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.hero-text {
    font-size: 1.6rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.hero-text .heart {
    color: #ff6b6b;
    font-size: 1.4rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.4);
    }
}

.highlight {
    color: #00d4aa;
    font-weight: 500;
}

/* Features section */
.features {
    padding: 1em;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: linear-gradient(135deg, rgba(13, 43, 62, 0.6), rgba(0, 212, 170, 0.2));
    padding: 2em 3em;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: default;
    clip-path: polygon(97% 0, 100% 50%, 97% 100%, 0% 100%, 3% 50%, 0% 0%);
    box-shadow: 0 0 6px #ffffffaa;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00d4aa, transparent, #00a896);
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 0.5;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 212, 170, 0.2);
}

.feature-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.feature-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}

.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    background-image: url(img/hero-bg1.jpg);
    background-size: 140% auto;
    background-position: center center;
    background-repeat: no-repeat;
    transition: background-size 2s ease-out;
    @starting-style {
        background-size: 160% auto;
    }
}

.intro img {
    width: 80%;
    max-height: 70vh;
    transition: all 1s ease-out;
    transition-delay: 1s;
    /*filter: drop-shadow(0 0 4px #ffffff11) drop-shadow(0 0 1px #00000033);*/

    @starting-style {
        transform: scale(1.8);
        opacity: 0;
    }
}

.intro .moto {
    font-size: 5vmin;
    color: #ffffff;
    text-align: center;
    margin-top: 1em;
    opacity: 0.8;
    transition: all 1s ease-out;
    transition-delay: 2s;

    @starting-style {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (orientation: portrait) {
    .intro {
        background-size: auto 100%;
        @starting-style {
            background-size: auto 120%;
        }
    }
}

@keyframes candleMove {
    0%, 100% {
        transform: translateY(0) scaleY(1);
    }
    50% {
        transform: translateY(-20px) scaleY(1.2);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }
}