/* TrigonLabs Landing Page - Futuristic Design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* Dark Base */
    --bg-primary: #0A0E14;
    --bg-secondary: #141920;
    --bg-tertiary: #1A1F2E;
    
    /* Neon Accents */
    --neon-blue: #00D4FF;
    --neon-purple: #B026FF;
    --neon-cyan: #00FFE5;
    --neon-pink: #FF006E;
    
    /* Brand Colors */
    --trigon-teal: #84A9A6;
    --trigon-accent: #84A9A6;
    --trigon-primary-bg: #242B2E;
    --trigon-primary-icon: #FFFFFF;
    --trigon-typography: #E0E6E6;
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D1;
    --text-muted: #6B7A8A;
    
    /* Glassmorphism */
    --glass-bg: rgba(20, 25, 32, 0.6);
    --glass-border: rgba(132, 169, 166, 0.2);
    --glass-glow: rgba(0, 212, 255, 0.1);
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(176, 38, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 229, 0.05) 0%, transparent 50%),
        var(--bg-primary);
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 
        0 8px 32px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 40px rgba(0, 212, 255, 0.1);
    transform: translateY(-4px);
}

/* Neon Glow Effects */
.neon-glow {
    text-shadow: 
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 30px currentColor;
}

.neon-border {
    position: relative;
}

.neon-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--neon-cyan));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neon-border:hover::before {
    opacity: 1;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::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 ease;
}

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

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    background: transparent;
    border: 2px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 14, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

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

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
}

/* 3D Visual Placeholder */
.visual-3d {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at center, rgba(0, 212, 255, 0.2) 0%, transparent 70%),
        linear-gradient(135deg, rgba(176, 38, 255, 0.1) 0%, rgba(0, 255, 229, 0.1) 100%);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.visual-3d::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 212, 255, 0.03) 2px,
            rgba(0, 212, 255, 0.03) 4px
        );
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Crypto Ticker */
.crypto-ticker {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    background: rgba(10, 14, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
    z-index: 10;
}

.ticker-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticker-label {
    color: #ff4444;
    animation: pulse 2s ease-in-out infinite;
}

.ticker-title {
    color: var(--neon-cyan);
}

.ticker-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.crypto-symbol {
    font-weight: 700;
    color: var(--text-primary);
    min-width: 50px;
}

.crypto-price {
    font-weight: 600;
    color: var(--neon-cyan);
    min-width: 80px;
}

.crypto-change {
    font-weight: 600;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.crypto-change.positive {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.crypto-change.negative {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Chart Container */
.chart-container {
    position: absolute;
    bottom: 80px;
    left: 20px;
    right: 20px;
    height: 180px;
    z-index: 5;
}

.chart-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.chart-line {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.chart-path {
    animation: chartDraw 3s ease-in-out infinite;
}

.chart-line-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: chartLineDraw 3s ease-in-out infinite;
}

@keyframes chartDraw {
    0% { opacity: 0.3; transform: translateY(10px); }
    50% { opacity: 0.8; transform: translateY(0); }
    100% { opacity: 0.3; transform: translateY(10px); }
}

@keyframes chartLineDraw {
    0% { stroke-dashoffset: 1000; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 1000; }
}

.chart-indicators {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
}

.indicator {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.indicator.buy {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.4);
}

.indicator.sell {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.4);
}

/* Floating Crypto Symbols */
.crypto-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
}

.floating-symbol {
    position: absolute;
    font-size: 24px;
    color: rgba(0, 212, 255, 0.4);
    animation: floatSymbol 8s ease-in-out infinite;
}

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

.floating-symbol:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
    font-size: 28px;
}

.floating-symbol:nth-child(3) {
    top: 40%;
    left: 50%;
    animation-delay: 3s;
    font-size: 20px;
}

.floating-symbol:nth-child(4) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4.5s;
    color: rgba(176, 38, 255, 0.4);
}

.floating-symbol:nth-child(5) {
    top: 70%;
    right: 30%;
    animation-delay: 6s;
    color: rgba(0, 255, 229, 0.4);
}

@keyframes floatSymbol {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-40px) translateX(-10px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) translateX(10px) rotate(270deg);
        opacity: 0.6;
    }
}

/* Signal Badge */
.signal-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
}

.signal-pulse {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: signalPulse 2s ease-in-out infinite;
}

@keyframes signalPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
        transform: scale(1.2);
    }
}

/* Section Styling */
.section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-title h2 {
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.trust-card {
    padding: 40px;
    text-align: center;
}

.trust-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--neon-cyan);
}

.trust-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    padding: 40px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.step-card h3 {
    margin-top: 20px;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    padding: 40px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(176, 38, 255, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* VIP Section */
.vip-section {
    background: 
        radial-gradient(circle at center, rgba(176, 38, 255, 0.1) 0%, transparent 70%),
        var(--bg-secondary);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    margin: 120px 0;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.vip-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.vip-content {
    position: relative;
    z-index: 1;
}

.vip-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-section p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.pricing-card {
    padding: 40px;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--neon-cyan);
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.3),
        inset 0 0 40px rgba(0, 212, 255, 0.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: var(--bg-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    margin: 24px 0;
    background: linear-gradient(135deg, var(--text-primary), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-features {
    list-style: none;
    margin: 32px 0;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: var(--neon-cyan);
    font-weight: 700;
    margin-right: 12px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 80px 40px 40px;
    margin-top: 120px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
    color: var(--neon-cyan);
}

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

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Responsive Crypto Elements */
@media (max-width: 1024px) {
    .crypto-ticker {
        padding: 12px;
    }
    
    .ticker-items {
        gap: 12px;
    }
    
    .ticker-item {
        font-size: 12px;
    }
    
    .crypto-price {
        min-width: 70px;
    }
    
    .chart-container {
        height: 150px;
    }
    
    .floating-symbol {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .crypto-ticker {
        top: 10px;
        left: 10px;
        right: 10px;
        padding: 10px;
    }
    
    .ticker-items {
        flex-direction: column;
        gap: 8px;
    }
    
    .ticker-item {
        font-size: 11px;
        justify-content: space-between;
    }
    
    .chart-container {
        bottom: 60px;
        left: 10px;
        right: 10px;
        height: 120px;
    }
    
    .signal-badge {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .floating-symbol {
        font-size: 16px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 20px;
    }
    
    .navbar-content {
        padding: 0 20px;
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 16px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 12px;
        width: 100%;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .pricing-grid,
    .features-grid,
    .trust-grid,
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

