/* style.css */
:root {
    --primary-color: #3b82f6; /* Trustworthy blue */
    --primary-dark: #2563eb;
    --secondary-color: #f59e0b; /* Warm impact color */
    --secondary-dark: #d97706;
    
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    
    --border-color: #e2e8f0;
    --focus-ring: rgba(59, 130, 246, 0.5);
    
    --shadow-sm: 0 1px 2px 0 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);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition);
}
a:hover {
    color: var(--primary-dark);
}

.text-center { text-align: center; }
.section-padding { padding: 5rem 0; }
.bg-light { background-color: var(--bg-light); }

/* --- Buttons --- */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}
.cta-button.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}
.cta-button.outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(59, 130, 246, 0.05);
}

.cta-button.giant {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    width: 100%;
    max-width: 400px;
}

.primary-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}
.primary-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
}

/* --- Header --- */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
}
.logo-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
}
.brand-logo {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

.desktop-nav {
    display: none;
    gap: 2rem;
}
.desktop-nav a {
    color: var(--text-muted);
    font-weight: 500;
}
.desktop-nav a:hover {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .desktop-nav { display: flex; }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: linear-gradient(to right bottom, #f0f9ff, #e0f2fe);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-text-block {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0f172a;
}
@media (min-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
}

.hero .lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.microcopy {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* --- Mission Section --- */
.mission-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.mission-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-main);
    font-weight: 500;
}

.mission-text p {
    margin-bottom: 1.5rem;
}

.mission-text p:last-child {
    margin-bottom: 0;
}

.mission-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* --- Impact Section --- */
.section-header {
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.impact-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border-color);
}
.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon-wrapper {
    width: 4rem;
    height: 4rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.impact-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.impact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Action Section --- */
.focus-bg {
    background-color: #0f172a;
    color: white;
}
.focus-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.focus-desc {
    color: #94a3b8;
    margin-bottom: 3rem;
    font-size: 1.125rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.code-box {
    background-color: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.code-box.highlight {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
    transform: scale(1.02);
}

.idno-number {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-family: monospace;
}
@media (min-width: 768px) {
    .idno-number { font-size: 3.5rem; }
}

/* --- Instructions Section --- */
.tabs-container {
    max-width: 800px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background-color: var(--bg-light);
    padding: 0.5rem;
    border-radius: var(--radius-full);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.tab-btn.active {
    background-color: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}
.tab-btn:hover:not(.active) {
    color: var(--text-main);
}

.tabs-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.instruction-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.instruction-step:last-child {
    margin-bottom: 0;
}

.step-num {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}
.step-text p {
    color: var(--text-muted);
}

.highlight-code {
    background-color: var(--bg-light);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
    color: var(--primary-color);
}

.tab-action {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
}
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition);
}
.accordion-header:hover {
    background-color: var(--bg-light);
}
.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}
.accordion-item.active .accordion-body {
    padding-bottom: 1.5rem;
}

.accordion-body p {
    color: var(--text-muted);
}

/* --- Footer --- */
.main-footer {
    background-color: #020617;
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}
.brand-desc {
    color: #94a3b8;
}

.footer-info {
    display: flex;
    gap: 3rem;
}
.info-block h5 {
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.info-block p {
    color: #94a3b8;
}
.footer-code {
    font-weight: bold;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-main);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    z-index: 2000;
    transition: bottom 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    bottom: 2rem;
}

.toast i {
    color: #10b981;
    font-size: 1.25rem;
}

/* --- Language Switcher --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.lang-switcher a {
    color: var(--text-muted);
    transition: color var(--transition);
}
.lang-switcher span.active {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
.lang-switcher a:hover {
    color: var(--text-main);
}

/* --- Past Success Banner --- */
.past-success-banner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-top: 3rem;
}

.success-icon {
    font-size: 2.5rem;
    color: #10b981;
    flex-shrink: 0;
}

.success-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 1.125rem;
}

.success-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}
.success-content strong {
    color: var(--text-main);
}

