:root {
    --gold-primary: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
    --gold-solid: #D4AF37;
    --navy-primary: #0A1628;
    --navy-secondary: #1A2332;
    --charcoal: #2C3E50;
    --off-white: #FAFAFA;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-medium: #6C757D;
    --error-red: #DC3545;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--off-white);
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 1000;
    animation: slideDown 0.8s ease-out;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.logo:hover .logo-glow {
    opacity: 1;
    animation: pulse 2s infinite;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
    transition: filter 0.3s ease;
}

.logo:hover .logo-image {
    filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.5));
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gold-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
    line-height: 1;
    position: relative;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--navy-primary);
    letter-spacing: 0.2em;
    margin-top: -0.25rem;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.nav-indicator {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px #00ff88;
}

.nav-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2) saturate(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 22, 40, 0.8) 0%, 
        rgba(26, 35, 50, 0.6) 50%, 
        rgba(212, 175, 55, 0.1) 100%);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: -5s;
}

.floating-element:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.floating-element:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: -15s;
}

.chart-container {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 150px;
    z-index: 2;
    opacity: 0.3;
}

.trading-chart {
    width: 100%;
    height: 100%;
}

.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-in-out 1s forwards;
}

.chart-fill {
    opacity: 0;
    animation: fadeIn 2s ease-in-out 2s forwards;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.title-emphasis {
    background: var(--gold-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.5s;
    position: relative;
}

.title-emphasis::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-primary);
    transform: scaleX(0);
    animation: scaleX 1s ease-out 1.5s forwards;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.8vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.highlight {
    color: var(--gold-solid);
    font-weight: 600;
    position: relative;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gold-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Form Styles */
.waitlist-form {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.input-group {
    display: flex;
    max-width: 550px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
}

.input-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-group:focus-within::before {
    opacity: 1;
}

.input-group:focus-within {
    border-color: var(--gold-solid);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.input-icon {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.input-group:focus-within .input-icon {
    color: var(--gold-solid);
}

input[type="email"] {
    flex: 1;
    padding: 1.5rem 1rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
    color: var(--white);
    font-family: inherit;
}

input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.cta-button {
    padding: 1.5rem 2.5rem;
    background: var(--gold-primary);
    color: var(--white);
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-shine {
    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.6s ease;
}

.cta-button:hover .button-shine {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
}

.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.error-message.show {
    opacity: 1;
}

.success-state {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--gold-solid);
    max-width: 450px;
    margin: 0 auto;
    animation: fadeInScale 0.5s ease-out;
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease-out;
}

.success-state h3 {
    color: var(--navy-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.success-state p {
    color: var(--charcoal);
    font-size: 1rem;
}

/* Features Section */
.features-section {
    padding: 8rem 2rem;
    background: var(--white);
    position: relative;
}

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

.features-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--navy-primary);
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--gray-light);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 22, 40, 0.1);
}

.feature-icon {
    color: var(--gold-solid);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    color: var(--navy-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--charcoal);
    line-height: 1.6;
    font-size: 1rem;
}

/* Final CTA Section */
.final-cta {
    padding: 8rem 2rem;
    background: var(--navy-primary);
    color: var(--white);
    text-align: center;
}

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

.final-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.final-form .input-group {
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.final-form .input-group:focus-within {
    border-color: var(--gold-solid);
}

.final-form input[type="email"] {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.final-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background: var(--navy-secondary);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

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

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

.social-links a {
    color: var(--white);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes fadeInScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

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

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 0.6;
    }
}

@keyframes scaleX {
    to {
        transform: scaleX(1);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -20px, 0);
    }
    70% {
        transform: translate3d(0, -10px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    }
}

/* Scroll Animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .nav-menu {
        display: none;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-image {
        height: 32px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .hero-container {
        padding: 1rem;
    }

    .chart-container {
        display: none;
    }

    .trust-indicators {
        gap: 2rem;
    }

    .trust-number {
        font-size: 1.5rem;
    }

    .input-group {
        flex-direction: column;
        border-radius: 12px;
        max-width: 90%;
    }

    .input-icon {
        display: none;
    }

    .cta-button {
        border-radius: 0 0 12px 12px;
        padding: 1.25rem 2rem;
    }

    input[type="email"] {
        border-radius: 12px 12px 0 0;
        padding: 1.25rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        padding: 0.4rem 1rem;
    }

    .badge-text {
        font-size: 0.7rem;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-item {
        flex-direction: row;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        margin: 0 0.5rem;
    }
}

/* High-end visual effects */
.hero-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}