/* ═══════════════════════════════════════════════════════════════════
   TALNET - Official Website Styles
   Modern Dark Theme with Gradient Accents
   ═══════════════════════════════════════════════════════════════════ */

/* CSS Variables */
:root {
    --color-bg: #0a0e17;
    --color-bg-secondary: #111827;
    --color-bg-card: #1a1f2e;
    --color-bg-card-hover: #232938;

    --color-primary: #00d4aa;
    --color-primary-light: #00ffcc;
    --color-secondary: #0096ff;
    --color-accent: #7c3aed;

    --color-text: #e5e7eb;
    --color-text-dim: #9ca3af;
    --color-text-darker: #6b7280;

    --color-border: #2d3748;
    --color-border-light: #374151;

    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-hero: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 50%, #0a0e17 100%);

    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 55, 72, 0.5);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--color-primary);
    font-size: 1.8rem;
}

.logo-text {
    color: var(--color-text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--color-text-dim);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: 0.3s;
}

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 170, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(0, 150, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-dim);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

/* Blockchain Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blockchain-animation {
    position: relative;
    width: 300px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.t-letter {
    font-size: 5rem;
    font-weight: 900;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.4);
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    transform-origin: center;
}

.t-letter:nth-child(1) {
    animation-delay: 0s;
}

.t-letter:nth-child(2) {
    animation-delay: 0.1s;
}

.t-letter:nth-child(3) {
    animation-delay: 0.2s;
}

.t-letter:nth-child(4) {
    animation-delay: 0.3s;
}

.t-letter:nth-child(5) {
    animation-delay: 0.4s;
}

.t-letter:nth-child(6) {
    animation-delay: 0.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION COMMON STYLES
   ═══════════════════════════════════════════════════════════════════ */

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-dim);
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════════════ */

.features {
    background: var(--color-bg-secondary);
}

/* Download Cards Enhanced */
.download-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    background: radial-gradient(circle at top right, rgba(0, 212, 170, 0.1), var(--color-bg-card));
    position: relative;
    z-index: 2;
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #000;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.feature-list-check {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    padding: 0 10px;
}

.feature-list-check li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

.note-text {
    font-size: 0.8rem;
    color: #ff4757;
    margin-top: 10px;
    font-style: italic;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #000;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-dim);
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════════
   HOW IT WORKS SECTION
   ═══════════════════════════════════════════════════════════════════ */

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 24px;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--color-text-dim);
}

.step-connector {
    width: 80px;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════════
   DOWNLOAD SECTION
   ═══════════════════════════════════════════════════════════════════ */

.download {
    background: var(--color-bg-secondary);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.download-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.download-card p {
    color: var(--color-text-dim);
    margin-bottom: 24px;
}

.download-card .btn {
    width: 100%;
    margin-bottom: 12px;
}

.download-card .version {
    font-size: 0.85rem;
    color: var(--color-text-darker);
}

/* ═══════════════════════════════════════════════════════════════════
   ROADMAP SECTION
   ═══════════════════════════════════════════════════════════════════ */

.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 6px;
    width: 20px;
    height: 20px;
    background: var(--color-bg);
    border: 3px solid var(--color-border);
    border-radius: 50%;
}

.timeline-item.completed .timeline-marker {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.timeline-item.active .timeline-marker {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--color-text-dim);
}

/* ═══════════════════════════════════════════════════════════════════
   COMMUNITY SECTION
   ═══════════════════════════════════════════════════════════════════ */

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.social-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.social-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.social-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.social-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.social-card p {
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */

.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--color-text-dim);
    margin-top: 16px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--color-text);
}

.footer-column a {
    display: block;
    color: var(--color-text-dim);
    padding: 6px 0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-darker);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px 0;
        border-bottom: 1px solid rgba(45, 55, 72, 0.5);
        border-top: 1px solid rgba(45, 55, 72, 0.5);
        text-align: center;
        z-index: 1001;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-links li {
        margin: 15px 0;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1002;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid,
    .download-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-links {
        grid-template-columns: 1fr 1fr;
    }

    .steps {
        flex-direction: column;
    }

    .step-connector {
        width: 2px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}