/* ========================================
   TATANKA TRADING - PROFESSIONAL REDESIGN
   ======================================== */

/* RESET & CSS VARIABLES */
:root {
    --bg-dark: #0a0d13;
    --bg-card: #12161f;
    --bg-elevated: #1a1f2e;
    --text-main: #e1e4eb;
    --text-muted: #6b7280;
    --text-subtle: #4b5563;
    --accent-teal: #10b981;
    --accent-teal-glow: rgba(16, 185, 129, 0.3);
    --accent-purple: #a855f7;
    --accent-purple-glow: rgba(168, 85, 247, 0.3);
    --accent-gold: #f59e0b;
    --accent-gold-glow: rgba(245, 158, 11, 0.3);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --gradient-teal: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    font-family: var(--font-display);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animated Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-teal);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: -5s;
    animation-duration: 20s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: -15s;
    animation-duration: 22s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: -8s;
    animation-duration: 28s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.2;
    }

    90% {
        opacity: 0;
    }

    100% {
        transform: translateY(-100vh) scale(1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-title.centered {
    text-align: center;
    margin-bottom: 3rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.logo-container {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.brand-logo {
    height: 160px;
    width: auto;
    filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.2));
    transition: all 0.5s var(--ease-out-expo);
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.brand-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 60px rgba(245, 158, 11, 0.4));
}

.hero-title {
    font-size: 4rem;
    line-height: 1.05;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.title-line {
    display: block;
    animation: slideUp 0.8s var(--ease-out-expo) backwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.1s;
}

.title-line.accent {
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: fadeIn 1s var(--ease-out-expo) 0.3s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Deliverables Grid */
.deliverables {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    animation: fadeIn 1s var(--ease-out-expo) 0.4s backwards;
}

.deliverable-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s var(--ease-out-expo);
}

.deliverable-item:hover {
    border-color: var(--accent-teal);
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-2px);
}

.deliverable-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-teal);
    border-radius: 50%;
    font-size: 1rem;
    color: white;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-teal);
    color: #ffffff;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: all 0.3s var(--ease-out-expo);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s var(--ease-out-expo) 0.5s backwards;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px var(--accent-teal-glow);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    transition: transform 0.3s var(--ease-spring);
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* Hero Image */
.hero-image-wrapper {
    margin-top: 60px;
    position: relative;
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(135deg, var(--border-color) 0%, rgba(16, 185, 129, 0.2) 100%);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s var(--ease-out-expo) 0.6s backwards;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 0%, var(--accent-teal) 50%, transparent 100%);
    -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;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-image-wrapper:hover::after {
    opacity: 1;
}

.chart-zoom-link {
    display: block;
    cursor: zoom-in;
    transition: transform 0.5s var(--ease-out-expo);
    outline: none;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-card);
}

.chart-zoom-link:hover {
    transform: scale(1.01);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--accent-teal);
    filter: blur(120px);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* ========================================
   VIDEO SECTION
   ======================================== */
.video-section {
    padding: 80px 0 100px;
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

/* ========================================
   PHILOSOPHY SECTION
   ======================================== */
.philosophy-section {
    padding: 100px 0;
    position: relative;
}

.philosophy-panel {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

.philosophy-accent {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-teal);
    border-radius: 0 0 4px 4px;
}

.philosophy-panel .section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.philosophy-panel .section-body {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.02) 50%, transparent 100%);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(30px);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-teal);
    background: var(--bg-dark);
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--accent-teal);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 16px;
    font-size: 1.75rem;
    color: var(--accent-teal);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-connector {
    color: var(--text-subtle);
    font-size: 1.5rem;
}

@media (max-width: 900px) {
    .step-connector {
        display: none;
    }
}

/* ========================================
   FEATURES SECTION WITH TABS
   ======================================== */
.features-section {
    padding: 80px 0 120px;
}

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.tab-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-main);
}

.tab-btn.active {
    background: var(--gradient-teal);
    border-color: transparent;
    color: white;
}

.tab-btn i {
    font-size: 1.1rem;
}

.tab-content {
    display: none;
    animation: tabFade 0.4s var(--ease-out-expo);
}

.tab-content.active {
    display: block;
}

@keyframes tabFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.feature-card {
    flex: 0 1 340px;
    max-width: 400px;
    background: var(--bg-card);
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}

.accent-teal::before {
    background: var(--gradient-teal);
}

.accent-purple::before {
    background: linear-gradient(90deg, var(--accent-purple), #7c3aed);
}

.accent-gold::before {
    background: var(--gradient-gold);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.accent-teal .icon-wrapper {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-teal);
}

.accent-purple .icon-wrapper {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
}

.accent-gold .icon-wrapper {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-gold);
}

.feature-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #fff;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ========================================
   FAQ ACCORDION SECTION
   ======================================== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-card);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item.open {
    border-color: var(--accent-teal);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-teal);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform 0.3s var(--ease-spring);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-teal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-box {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 80px 48px;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: var(--accent-teal);
    filter: blur(150px);
    opacity: 0.1;
    pointer-events: none;
}

.cta-title {
    font-size: 2.75rem;
    margin-bottom: 16px;
    position: relative;
}

.cta-box .cta-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    position: relative;
}

.secondary-cta {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.cta-subtext {
    font-size: 0.85rem;
    color: var(--text-subtle);
    margin-top: 16px;
    font-family: var(--font-mono);
    position: relative;
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    text-align: center;
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-dark);
}

.footer-content {
    margin-bottom: 40px;
}

.footer-support {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-support a {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-support a:hover {
    color: #34d399;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.footer-link i {
    font-size: 1.2rem;
}

.risk-disclosure {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    line-height: 1.7;
    color: var(--text-subtle);
}

.risk-disclosure strong {
    color: var(--text-muted);
}

.copyright {
    margin-top: 24px;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-subtle);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .deliverables {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .deliverable-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .feature-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .brand-logo {
        height: 120px;
    }

    .philosophy-panel {
        padding: 40px 24px;
    }

    .philosophy-panel .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-box {
        padding: 48px 24px;
    }

    .feature-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-card {
        max-width: 100%;
    }
}

/* Staggered animations for cards */
.feature-card:nth-child(1) {
    transition-delay: 0.05s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.15s;
}

.feature-card:nth-child(4) {
    transition-delay: 0.2s;
}

.step-card:nth-child(1) {
    transition-delay: 0.1s;
}

.step-card:nth-child(3) {
    transition-delay: 0.2s;
}

.step-card:nth-child(5) {
    transition-delay: 0.3s;
}

.faq-item:nth-child(1) {
    transition-delay: 0.05s;
}

.faq-item:nth-child(2) {
    transition-delay: 0.1s;
}

.faq-item:nth-child(3) {
    transition-delay: 0.15s;
}

.faq-item:nth-child(4) {
    transition-delay: 0.2s;
}

.faq-item:nth-child(5) {
    transition-delay: 0.25s;
}

.faq-item:nth-child(6) {
    transition-delay: 0.3s;
}