/* Sepal Yar Landing — fintech-style (Zarinpal-inspired) */

:root {
    --primary: #3bb65d;
    --primary-dark: #2d9a4d;
    --primary-soft: #e8f8ed;
    --navy: #0a1530;
    --navy-muted: #1e2a47;
    --text: #1a1d26;
    --text-secondary: #5c6370;
    --text-muted: #8b95a5;
    --bg-page: #eef0f4;
    --bg-elevated: #ffffff;
    --border: #e2e6ee;
    --border-strong: #d0d6e2;
    --shadow-xs: 0 1px 2px rgba(10, 21, 48, 0.04);
    --shadow-sm: 0 4px 16px rgba(10, 21, 48, 0.06);
    --shadow-md: 0 12px 40px rgba(10, 21, 48, 0.08);
    --shadow-lg: 0 24px 64px rgba(10, 21, 48, 0.1);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --max-width: 1280px;
    --gutter: clamp(1rem, 2.5vw, 1.5rem);
    --inset: clamp(1rem, 2vw, 1.5rem);
}

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

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url('../fonts/iransans/IRANSansWeb.woff2') format('woff2');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url('../fonts/iransans/IRANSansWeb_Medium.woff2') format('woff2');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url('../fonts/iransans/IRANSansWeb_Bold.woff2') format('woff2');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-display: swap;
    font-weight: 900;
    src: url('../fonts/iransans/IRANSansWeb_Black.woff2') format('woff2');
}

body {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif;
    background: var(--bg-page);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 100% -10%, rgba(59, 182, 93, 0.08), transparent 50%),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(103, 126, 184, 0.06), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.page-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter) 48px;
}

/* ——— Header ——— */
.header {
    position: sticky;
    top: 16px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    padding: 12px var(--inset);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    min-width: 0;
}

.logo-link {
    display: inline-flex;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-wrapper {
    height: 44px;
    display: inline-flex;
    align-items: center;
}

.logo-wrapper img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.navigation ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.navigation a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: var(--primary-dark);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.support-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
}

.support-link:hover {
    background: var(--bg-page);
    color: var(--text);
}

.login-button {
    background: var(--navy);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-xs);
}

.login-button:hover {
    background: var(--navy-muted);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* ——— Header auth (user / admin / logged-in) ——— */
.header-auth {
    display: flex;
    align-items: center;
    position: relative;
}

.header-login-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-button--user {
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(59, 182, 93, 0.3);
}

.login-button--user:hover {
    background: var(--primary-dark);
}

.login-button--more {
    background: var(--bg-elevated);
    color: var(--navy);
    border: 1px solid var(--border-strong);
    padding: 10px 12px;
    min-width: 42px;
    justify-content: center;
    list-style: none;
}

.login-button--more::-webkit-details-marker {
    display: none;
}

.login-button--more:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.header-login-details {
    position: relative;
}

.header-login-details[open] .login-button--more {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.header-login-dropdown,
.header-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 200;
    animation: header-drop-in 0.2s ease;
}

.header-user-dropdown {
    left: auto;
    right: 0;
}

@keyframes header-drop-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-login-dropdown-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 12px 8px;
    margin: 0;
}

.header-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s ease;
}

.header-dropdown-item:hover {
    background: var(--bg-page);
}

.header-dropdown-item i {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-top: 2px;
}

.header-dropdown-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}

.header-dropdown-item small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 500;
}

.header-dropdown-item--muted i {
    color: var(--text-muted);
}

.header-dropdown-item--muted strong {
    font-weight: 600;
    font-size: 0.875rem;
}

.header-user-menu {
    position: relative;
}

.header-user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    max-width: 220px;
}

.header-user-trigger:hover,
.header-user-menu.is-open .header-user-trigger {
    border-color: rgba(59, 182, 93, 0.4);
    box-shadow: var(--shadow-xs);
}

.header-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    text-align: right;
}

.header-user-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.header-user-role {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.header-user-chevron {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.header-user-menu.is-open .header-user-chevron {
    transform: rotate(180deg);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px var(--inset) 40px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(59, 182, 93, 0.04) 100%);
    pointer-events: none;
}

.hero-ornament {
    display: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.8125rem;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 182, 93, 0.2);
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-title .hero-glow {
    display: none;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 520px;
    margin-bottom: 28px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn {
    border: none;
    border-radius: var(--radius-sm);
    padding: 13px 24px;
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 182, 93, 0.35);
}

.btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 182, 93, 0.4);
}

.btn.ghost {
    background: var(--bg-elevated);
    color: var(--navy);
    border: 1px solid var(--border-strong);
}

.btn.ghost:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.stat-value span {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Hero visual — API dashboard mock */
.hero-visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-dashboard {
    width: 100%;
    max-width: 400px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.dashboard-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-right: auto;
}

.dashboard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-strong);
}

.dashboard-dot:nth-child(1) { background: #ff5f57; }
.dashboard-dot:nth-child(2) { background: #febc2e; }
.dashboard-dot:nth-child(3) { background: #28c840; }

.dashboard-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.api-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.api-row:hover {
    border-color: rgba(59, 182, 93, 0.35);
    box-shadow: var(--shadow-xs);
}

.api-row i {
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.api-row .api-meta {
    margin-right: auto;
    text-align: right;
}

.api-row .api-name {
    display: block;
    color: var(--navy);
}

.api-row .api-time {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.api-status {
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.orbit,
.chip {
    display: none;
}

/* ——— Trust strip ——— */
.trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 28px;
    padding: 18px var(--inset);
    margin-bottom: 48px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.trust-strip span {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-muted);
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.trust-item i {
    color: var(--primary);
    font-size: 1.125rem;
}

/* ——— Sections ——— */
.section {
    padding: 16px 0 56px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.section-header.row-between {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: none;
    text-align: right;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.section-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.section-link:hover {
    text-decoration: underline;
}

.cards-grid {
    display: grid;
    gap: 20px;
}

.cards-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px var(--inset);
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #5fd67a);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(59, 182, 93, 0.25);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
}

.card-icon.green {
    background: linear-gradient(145deg, #3bb65d, #2d9a4d);
    box-shadow: 0 6px 16px rgba(59, 182, 93, 0.3);
}

.card-icon.blue {
    background: linear-gradient(145deg, #4f6bb5, #3d5699);
    box-shadow: 0 6px 16px rgba(79, 107, 181, 0.25);
}

.card-icon.purple {
    background: linear-gradient(145deg, #7c6cf0, #6355d4);
    box-shadow: 0 6px 16px rgba(124, 108, 240, 0.25);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.75;
}

.card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-list li {
    position: relative;
    padding-right: 18px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-top: 4px;
}

.card-link::after {
    content: '←';
    transition: transform 0.2s ease;
}

.card-link:hover::after {
    transform: translateX(-4px);
}

/* Benefits */
.benefits .mini-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.benefits .mini-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.mini-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary-soft);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.mini-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.mini-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
    border-color: rgba(59, 182, 93, 0.35);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--navy);
    text-align: right;
    font-family: inherit;
}

.faq-question i {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 280px;
}

.faq-answer p {
    padding: 0 20px 18px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.8;
}

/* CTA */
.cta {
    padding: 24px 0 16px;
}

.cta-card {
    background: linear-gradient(135deg, var(--navy) 0%, #152238 50%, #1a3352 100%);
    border-radius: var(--radius-xl);
    padding: 40px var(--inset);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 182, 93, 0.2), transparent 60%);
    pointer-events: none;
}

.cta-title {
    position: relative;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.cta-text {
    position: relative;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.8;
}

.cta-actions {
    position: relative;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn.light {
    background: #fff;
    color: var(--navy);
}

.btn.light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn.ghost-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn.ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Footer */
.footer {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 36px var(--inset) 24px;
    margin-top: 48px;
    color: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-lg);
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 32px;
    margin-bottom: 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(59, 182, 93, 0.4);
}

.brand-title {
    font-weight: 800;
    font-size: 1.125rem;
    color: #fff;
}

.brand-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    max-width: 280px;
}

.footer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.pill-primary {
    background: var(--primary);
    color: #fff;
}

.pill-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.pill-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.pill-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a::after {
    display: none;
}

.footer-contact-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    font-size: 0.875rem;
}

.contact-label {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.contact-value {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.contact-value:hover {
    color: var(--primary);
}

.footer-certificates {
    display: none;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 8px;
}

.footer-bottom-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.125rem;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .cards-grid.three {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .header {
        top: 8px;
        flex-wrap: wrap;
    }

    .navigation {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        background: var(--bg-elevated);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 16px;
        box-shadow: var(--shadow-md);
    }

    .navigation.open {
        display: block;
    }

    .navigation ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .navigation a {
        display: block;
        padding: 12px 14px;
        border-radius: var(--radius-sm);
    }

    .navigation a:hover {
        background: var(--bg-page);
    }

    .mobile-toggle {
        display: flex;
    }

    .header-left {
        gap: 16px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
        min-height: auto;
    }

    .hero-dashboard {
        max-width: 100%;
    }

    .hero {
        padding: 32px var(--inset);
    }

    .section-header.row-between {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding-bottom: 32px;
    }

    .support-link {
        display: none;
    }

    .login-button--user {
        padding: 10px 14px;
        font-size: 0.8125rem;
    }

    .header-user-name,
    .header-user-role {
        display: none;
    }

    .header-user-trigger {
        padding: 6px;
        max-width: none;
    }

    .header-login-dropdown,
    .header-user-dropdown {
        left: auto;
        right: 0;
        min-width: 200px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 16px;
    }
}
