/* --- ENHANCED DESIGN SYSTEM: DARK FINTECH + CYBER --- */
:root {
    --bg-deep: #0b0f1a;
    --bg-surface: #161c2d;
    --accent-primary: #3cbef2;
    /* Vibrant Cyan */
    --accent-secondary: #4f46e5;
    /* Indigo */
    --accent-glow: rgba(60, 190, 242, 0.4);
    --text-light: #f1f5f9;
    --text-dim: #94a3b8;
    --border-light: 1px solid rgba(255, 255, 255, 0.08);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --gradient-btn: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- CANVAS BACKGROUND --- */
#bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* --- SECURE TRANSITION OVERLAY --- */
#secure-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

#secure-transition.active {
    opacity: 1;
    visibility: visible;
}

.transition-content {
    text-align: center;
    max-width: 400px;
}

.loader-ring {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(60, 190, 242, 0.1);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(60, 190, 242, 0.3);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#transition-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 10px;
    color: #fff;
}

.status-msg {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-primary);
    height: 20px;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- NAVIGATION --- */
header {
    background: rgba(11, 15, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transform: translateX(-50%);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-primary);
    background: rgba(60, 190, 242, 0.08);
}

.nav-links a i {
    transition: transform 0.3s;
}

.nav-links a:hover i,
.nav-links a.active i {
    transform: scale(1.2) rotate(5deg);
}

/* --- PREMIUM BUTTONS --- */
.btn-primary {
    background: linear-gradient(135deg, #3cbef2 0%, #6366f1 50%, #8b5cf6 100%);
    color: #fff;
    padding: 16px 36px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px -4px rgba(60, 190, 242, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    cursor: pointer;
    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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px -4px rgba(60, 190, 242, 0.6), 0 0 0 1px rgba(60, 190, 242, 0.3);
    border-color: rgba(60, 190, 242, 0.5);
}

.btn-primary i {
    font-size: 1.1em;
    transition: transform 0.3s;
}

.btn-primary:hover i {
    transform: translateX(4px) rotate(5deg);
}

.btn-outline {
    background: rgba(22, 28, 45, 0.6);
    border: 2px solid rgba(60, 190, 242, 0.3);
    color: var(--text-light);
    padding: 16px 36px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(60, 190, 242, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-outline:hover::after {
    width: 300px;
    height: 300px;
}

.btn-outline:hover {
    background: rgba(60, 190, 242, 0.15);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(60, 190, 242, 0.4);
}

.btn-outline i {
    transition: transform 0.3s;
}

.btn-outline:hover i {
    transform: scale(1.2) rotate(-10deg);
}

.btn-copy {
    background: linear-gradient(135deg, rgba(60, 190, 242, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    border: 1.5px solid rgba(60, 190, 242, 0.4);
    color: var(--accent-primary);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.btn-copy::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1.5px;
    background: linear-gradient(135deg, #3cbef2, #6366f1);
    -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;
}

.btn-copy:hover::before {
    opacity: 1;
}

.btn-copy:hover {
    background: linear-gradient(135deg, rgba(60, 190, 242, 0.25) 0%, rgba(99, 102, 241, 0.25) 100%);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(60, 190, 242, 0.3);
}

.btn-copy i {
    transition: transform 0.3s;
}

.btn-copy:hover i {
    transform: scale(1.3) rotate(15deg);
}

/* --- HERO SECTION --- */
.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* --- MIRROR COMPONENTS --- */
.mirror-card {
    background: var(--bg-surface);
    border: var(--border-light);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-premium);
    margin-bottom: 24px;
}

.mirror-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: var(--border-light);
}

.mirror-row:last-child {
    border-bottom: none;
}

.mirror-url {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--accent-primary);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

/* --- CONTENT SECTIONS --- */
.content-section {
    padding: 80px 0;
}

.seo-block {
    margin-bottom: 48px;
}

.seo-block h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--text-light);
}

.seo-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.seo-block p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.keyword-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.kw-card {
    background: var(--bg-surface);
    border: var(--border-light);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}

.kw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(60, 190, 242, 0.3);
    border-color: rgba(60, 190, 242, 0.4);
}

.kw-card h4 {
    color: var(--accent-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.kw-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- UTILITIES --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(60, 190, 242, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(60, 190, 242, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- FOOTER --- */
footer {
    padding: 80px 0 40px;
    background: #060910;
    margin-top: 100px;
    border-top: var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

footer h4 {
    color: #fff;
    margin-bottom: 24px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 12px;
}

footer a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: var(--accent-primary);
}

.seo-cloud,
.seo-cloud p,
.footer-keywords {
    color: #000 !important;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .mirror-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}