/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
    overflow-x: hidden;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Utilities */
.text-indigo {
    color: #818cf8;
}

.text-green {
    color: #34d399;
}

.text-red {
    color: #f87171;
}

.text-white {
    color: #fff;
}

.gradient-text {
    background: linear-gradient(to right, #818cf8, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-1 {
    background: linear-gradient(to right, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grad-2 {
    background: linear-gradient(to right, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grad-3 {
    background: linear-gradient(to right, #f472b6, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background blobs */
.fixed-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(60px);
}

.blob-purple {
    top: 0;
    left: -1rem;
    width: 18rem;
    height: 18rem;
    background: #a855f7;
    opacity: 0.2;
    animation: blob 7s infinite;
}

.blob-indigo {
    top: 0;
    right: -1rem;
    width: 18rem;
    height: 18rem;
    background: #6366f1;
    opacity: 0.2;
    animation: blob 7s infinite 2s;
}

.blob-pink {
    bottom: -2rem;
    left: 5rem;
    width: 18rem;
    height: 18rem;
    background: #ec4899;
    opacity: 0.2;
    animation: blob 7s infinite 4s;
}

.blob-purple-app {
    top: 5rem;
    left: -1rem;
    width: 24rem;
    height: 24rem;
    background: #a855f7;
    opacity: 0.1;
    animation: blob 7s infinite;
}

.blob-indigo-app {
    top: 10rem;
    right: -1rem;
    width: 24rem;
    height: 24rem;
    background: #6366f1;
    opacity: 0.1;
    animation: blob 7s infinite 2s;
}

.blob-pink-app {
    bottom: -2rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    background: #ec4899;
    opacity: 0.1;
    animation: blob 7s infinite 4s;
}

@keyframes blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism */
.glass-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 80rem;
    margin: 0 auto;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    padding: 0.5rem;
    background: linear-gradient(135deg, #6366f1, #9333ea);
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    display: flex;
}

.logo-icon-sm {
    padding: 0.5rem;
    background: linear-gradient(135deg, #6366f1, #9333ea);
    border-radius: 0.75rem;
    display: flex;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.logo-sub {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
}

.btn-launch {
    padding: 0.625rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.btn-launch:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Hero */
.hero {
    position: relative;
    z-index: 10;
    padding: 5rem 1.5rem 8rem;
    max-width: 80rem;
    margin: 0 auto;
}

.hero-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
}

.badge svg {
    color: #818cf8;
}

.badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #a5b4fc;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 42rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(to right, #4f46e5, #9333ea);
    border: none;
    border-radius: 1rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
    transition: all 0.2s;
}

.btn-primary:hover {
    background: linear-gradient(to right, #6366f1, #a855f7);
    transform: scale(1.05);
}

.btn-primary svg {
    transition: transform 0.2s;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 4rem;
    max-width: 48rem;
    width: 100%;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Sections */
.section {
    position: relative;
    z-index: 10;
    padding: 5rem 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: #94a3b8;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    transition: all 0.3s;
    cursor: default;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.feature-card:nth-child(1):hover {
    border-color: rgba(99, 102, 241, 0.5);
}

.feature-card:nth-child(2):hover {
    border-color: rgba(168, 85, 247, 0.5);
}

.feature-card:nth-child(3):hover {
    border-color: rgba(236, 72, 153, 0.5);
}

.feature-card:nth-child(4):hover {
    border-color: rgba(99, 102, 241, 0.5);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.bg-grad-1 {
    background: linear-gradient(135deg, #6366f1, #9333ea);
}

.bg-grad-2 {
    background: linear-gradient(135deg, #9333ea, #ec4899);
}

.bg-grad-3 {
    background: linear-gradient(135deg, #ec4899, #ef4444);
}

.bg-grad-4 {
    background: linear-gradient(135deg, #6366f1, #3b82f6);
}

.feature-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.step-num {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

.step p {
    color: #94a3b8;
}

.step-line {
    display: none;
}

@media (min-width: 768px) {
    .step-line {
        display: block;
        position: absolute;
        top: 2rem;
        left: 100%;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, #6366f1, transparent);
    }
}

/* CTA */
.cta-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4f46e5, #9333ea, #ec4899);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
}

.cta-glow {
    position: absolute;
    width: 16rem;
    height: 16rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(48px);
}

.cta-glow-tr {
    top: 0;
    right: 0;
}

.cta-glow-bl {
    bottom: 0;
    left: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-content h3 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
}

.cta-content p {
    font-size: 1.125rem;
    color: #c7d2fe;
    max-width: 42rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: #4f46e5;
    border: none;
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.btn-cta:hover {
    background: #f1f5f9;
    transform: scale(1.05);
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand {
    font-weight: 700;
}

.footer-sub {
    font-size: 12px;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* ===== APP PAGE ===== */
.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.app-header-actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s;
    display: flex;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.icon-btn-red:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.app-main {
    position: relative;
    z-index: 10;
    padding: 2rem 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Form */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label,
.form-group-sm label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
    text-transform: uppercase;
    font-weight: 700;
}

.input-wrap {
    position: relative;
}

.bin-input {
    width: 100%;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    padding-right: 3rem;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: white;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.bin-input::placeholder {
    letter-spacing: normal;
    color: #475569;
}

.bin-input:focus {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.settings-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .settings-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.form-group-sm {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    width: 100%;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: white;
    outline: none;
    appearance: none;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s;
}

.select-wrap select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.select-arrow {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.sm-input {
    width: 100%;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: white;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.sm-input::placeholder {
    color: #475569;
}

.sm-input:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Generate Button */
.btn-generate {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to right, #4f46e5, #9333ea);
    border: none;
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
}

.btn-generate:hover {
    background: linear-gradient(to right, #6366f1, #a855f7);
}

.btn-generate:active {
    transform: scale(0.98);
}

/* Validation Toggle */
.validation-toggle {
    padding-top: 0.5rem;
}

.validation-toggle>label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

.toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.25rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.75rem;
}

.toggle-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    color: #94a3b8;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
}

.toggle-btn:hover {
    color: white;
}

.toggle-btn.active {
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#btnBasic.active {
    background: linear-gradient(to right, #4f46e5, #9333ea);
}

#btnAi.active {
    background: linear-gradient(to right, #059669, #0d9488);
}

.mode-desc {
    font-size: 10px;
    color: #64748b;
    margin-top: 0.5rem;
    text-align: center;
}

/* BIN Info */
.bin-info {
    margin-bottom: 1.25rem;
    animation: fadeIn 0.3s ease;
}

.bin-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(to right, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.bin-flag {
    font-size: 2rem;
}

.bin-details {
    flex: 1;
    min-width: 0;
}

.bin-bank {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bin-type-badge {
    font-size: 10px;
    padding: 0.125rem 0.5rem;
    background: rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    border-radius: 0.25rem;
    text-transform: uppercase;
    font-weight: 700;
}

.bin-meta {
    font-size: 12px;
    color: #94a3b8;
    text-transform: capitalize;
}

/* Results */
.results-section {
    animation: fadeIn 0.5s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stats-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
}

.stats-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #cbd5e1;
}

.stat-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    display: inline-block;
}

.stat-dot.green {
    background: #10b981;
}

.stat-dot.red {
    background: #ef4444;
}

.btn-validate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    background: #059669;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
    transition: all 0.2s;
    font-family: inherit;
}

.btn-validate:hover {
    transform: scale(1.05);
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem;
}

.results-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-copy-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-copy-all:hover {
    background: rgba(99, 102, 241, 0.2);
}

/* Card Items */
.cards-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-item {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    border-radius: 1rem;
    border-left: 4px solid;
    cursor: pointer;
    transition: all 0.2s;
}

.card-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.card-item.valid {
    border-left-color: #10b981;
}

.card-item.valid:hover {
    border-left-color: #34d399;
}

.card-item.invalid {
    border-left-color: #ef4444;
}

.card-item.invalid:hover {
    border-left-color: #f87171;
}

.card-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 0.75rem;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-status.valid-status {
    color: #34d399;
}

.card-status.invalid-status {
    color: #f87171;
}

.card-brand {
    color: #818cf8;
}

.copy-icon {
    opacity: 0;
    transition: opacity 0.2s;
    color: #64748b;
}

.card-item:hover .copy-icon {
    opacity: 1;
}

/* App Footer */
.app-footer {
    padding-top: 2rem;
    padding-bottom: 1rem;
    text-align: center;
    opacity: 0.6;
}

.app-footer p {
    font-size: 12px;
    color: #94a3b8;
}

.footer-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: #64748b;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #10b981, #14b8a6);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 100;
    animation: fadeIn 0.3s ease;
}

/* AI Validation */
.ai-processing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem;
}

.ai-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top-color: #818cf8;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.ai-proc-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #e2e8f0;
}

.ai-proc-sub {
    font-size: 0.875rem;
    color: #64748b;
}

.ai-analysis {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-analysis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.625rem;
}

.ai-analysis-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-risk-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 0.3rem;
    letter-spacing: 0.03em;
}

.ai-confidence {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.ai-notes {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.ai-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #94a3b8;
}

.ai-note-dot {
    flex-shrink: 0;
    font-size: 0.5rem;
    margin-top: 0.35rem;
}

.ai-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.ai-check {
    font-size: 10px;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

.ai-check.pass {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.ai-check.fail {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.card-country {
    color: #34d399;
    font-weight: 500;
}

.btn-ai-validate {
    background: linear-gradient(135deg, #0d9488, #065f46) !important;
    border-color: #14b8a6 !important;
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 700;
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
    transition: all 0.2s;
}

.btn-ai-validate:hover {
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
    transform: translateY(-1px);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

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

/* Responsive */
@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .navbar {
        padding: 1rem;
    }

    .hero {
        padding: 3rem 1rem 5rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }
}