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

:root {
    --primary: #6366f1;
    /* Indigo */
    --accent: #f59e0b;
    /* Amber/Gold */
    --success: #10b981;
    --navy: #0f172a;
    --navy-light: #1e293b;
    --background: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-dashboard {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: white;
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-dashboard::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.2;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-dashboard p {
    opacity: 0.8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Simulator Form Card */
.simulator-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.input-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
    background: #fdfdfd;
}

.input-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.btn-simulate {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.btn-simulate:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Results Section */
.results-section {
    display: none;
    margin-top: 40px;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.results-section.active {
    display: block;
}

.result-card-item {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    display: flex;
    gap: 25px;
    transition: all 0.3s;
    position: relative;
}

.result-card-item:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.card-visual {
    width: 160px;
    height: 100px;
    background: #e2e8f0;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
}

.card-info {
    flex: 1;
}

.card-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.feature-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-cta {
    align-self: center;
    padding: 12px 24px;
    background: var(--navy);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-cta:hover {
    background: var(--primary);
}

@media (max-width: 640px) {
    .result-card-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-visual {
        width: 100%;
        height: 120px;
    }

    .feature-list {
        justify-content: center;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Specific Card Themes */
.theme-nubank {
    background: linear-gradient(135deg, #820ad1 0%, #4c067a 100%);
}

.theme-inter {
    background: linear-gradient(135deg, #ff7a00 0%, #e66e00 100%);
}

.theme-c6 {
    background: linear-gradient(135deg, #222 0%, #000 100%);
}

.theme-xp {
    background: linear-gradient(135deg, #d4af37 0%, #a68a2d 100%);
}

.theme-btg {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
}

/* AdSense Block */
.ads-block {
    margin: 30px 0;
    text-align: center;
    background: #f1f5f9;
    padding: 20px;
    border-radius: 16px;
    border: 1px dashed var(--border);
}

footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}