/* =========================
   SELZSTACK GLOBAL UI SYSTEM
   Clean SaaS Dashboard Theme
   ========================= */

:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --primary: #2563eb;
    --primary-hover: #1e40af;
    --danger: #dc2626;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --radius: 12px;
}


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


/* ---------- BASE ---------- */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}


/* Prevent content stretching edge-to-edge */

#app {
    padding: 24px;
}


/* ---------- CONTAINER ---------- */

.dashboard-container {
    max-width: 1200px;
    margin: auto;
}


/* ---------- TITLES ---------- */

.dashboard-title {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
}


/* ---------- NAV TABS ---------- */

.tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.tabs a {
    text-decoration: none;
    padding: 10px 16px;
    background: var(--card);
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 500;
    transition: all .2s;
}

.tabs a:hover {
    background: #eef2ff;
    border-color: var(--primary);
}


/* ---------- CARD ---------- */

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}


/* ---------- STATS GRID ---------- */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.stat-card {
    background: var(--card);
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stat-card h4 {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.stat-card p {
    margin: 6px 0 0;
    font-size: 26px;
    font-weight: 700;
}

.stat-card.highlight {
    border: 2px solid var(--primary);
}


/* ---------- TABLE ---------- */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: #f9fafb;
    font-weight: 600;
    color: var(--muted);
}

.admin-table tr:hover {
    background: #f3f4f6;
}


/* ---------- INPUTS ---------- */

input,
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
}


/* ---------- BUTTONS ---------- */

button {
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all .2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

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

.btn-secondary {
    background: #e5e7eb;
}

.btn-secondary:hover {
    background: #d1d5db;
}


/* ---------- MODAL ---------- */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    width: 420px;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}


/* ---------- AUTH CARD ---------- */

.auth-card {
    max-width: 420px;
    margin: 60px auto;
    background: var(--card);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}


/* ---------- SMALL UTILITIES ---------- */

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


/* ---------- AUTH PAGE LAYOUT ---------- */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f5f7fb 0%, #eef2ff 100%);
    padding: 20px;
}


/* Bigger auth card than normal cards */

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.auth-card h2 {
    margin-bottom: 20px;
}

.auth-footer {
    margin-top: 16px;
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}


/* ---------- GLOBAL LOADER ---------- */

.global-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.spinner {
    width: 46px;
    height: 46px;
    border: 5px solid #e5e7eb;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* ---------- GLOBAL MODAL ---------- */

.global-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99998;
}

.global-modal-box {
    background: white;
    padding: 24px;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.global-modal-box p {
    margin-bottom: 16px;
}


/* ===== TOASTS ===== */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    min-width: 260px;
    padding: 14px 18px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease;
}

.toast-success {
    background: #16a34a;
}

.toast-error {
    background: #dc2626;
}

.toast-info {
    background: #2563eb;
}

.toast-warning {
    background: #f59e0b;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* ===== BUTTON LOADING ===== */

.btn-loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.btn-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin 0.8s linear infinite;
}


/* =========================================================
   DESIGN SYSTEM — CORE TOKENS
   ========================================================= */

:root {
    /* Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #f59e0b;
    --info: #0ea5e9;
    --bg: #f5f7fb;
    --surface: #ffffff;
    --border: #e5e7eb;
    --text: #111827;
    --text-muted: #6b7280;
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    /* Spacing scale */
    --space-xs: 6px;
    --space-sm: 12px;
    --space-md: 20px;
    --space-lg: 32px;
    --space-xl: 48px;
}

body {
    margin: 0;
    font-family: Inter, system-ui, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

#app {
    min-height: 100vh;
    padding: var(--space-lg);
}

.page {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: var(--space-lg);
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

button,
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
}

button:hover,
.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: #e5e7eb;
    color: #111;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: var(--space-sm);
    font-size: 14px;
}

input:focus {
    outline: none;
    border-color: var(--primary);
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 360px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.table th {
    background: #f9fafb;
    font-weight: 600;
}

@media (max-width: 768px) {
    #app {
        padding: var(--space-md);
    }
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .auth-card {
        width: 100%;
    }
}

.tabs button {
    color: black;
}


/* ===== AUTH HEADER ===== */

.auth-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #111827;
    color: white;
}

.auth-left .brand {
    font-weight: 700;
    font-size: 18px;
}

.auth-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info {
    font-size: 14px;
    opacity: 0.9;
}

.user-extra {
    font-size: 13px;
    color: #9ca3af;
}


/* Mobile */

@media (max-width: 600px) {
    .auth-right {
        flex-wrap: wrap;
        gap: 8px;
    }
}

.dashboard-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    overflow-x: hidden;
    /* 🔥 fixes scroll issue */
}

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

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


/* Tablet */

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Mobile */

@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}


/* ===== GLOBAL PAGE SAFETY ===== */

html,
body {
    width: 100%;
    overflow-x: hidden;
}

#app {
    width: 100%;
    min-height: 100vh;
}


/* Main dashboard wrapper */

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    /* 🔥 CRITICAL FIX */
}

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

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

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}


/* Tablet */

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Mobile */

@media (max-width: 600px) {
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}


/* ===== RESPONSIVE TABLE ===== */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* allows scroll instead of breaking */
}

.admin-table th,
.admin-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.auth-header {
    width: 100%;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

#app {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.dashboard-container,
.page-container,
.main-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
    min-width: 0;
    /* 🔥 Prevent flex overflow */
}

body {
    margin: 0
}

.card,
.dashboard-card {
    width: 100%;
    max-width: 100%;
}


/* ===== DASHBOARD HEADER ===== */

.app-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 14px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    /* 🔥 prevents overlap */
}


/* Brand */

.app-brand {
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}


/* User info block */

.app-user {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    opacity: 0.95;
}


/* Email */

.app-user-email {
    font-weight: 600;
}


/* Referral code */

.app-user-ref {
    font-size: 12px;
    opacity: 0.8;
}


/* Logout button */

.app-logout {
    background: #fff;
    color: #111;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.app-logout:hover {
    background: #f1f5f9;
}


/* ===== MOBILE HEADER ===== */

@media (max-width: 480px) {
    .app-header {
        align-items: flex-start;
    }
    .app-brand {
        width: 100%;
    }
    .app-user {
        width: 100%;
    }
    .app-logout {
        align-self: flex-end;
    }
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    padding: 80px 8%;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: white;
}

.hero-img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .4);
}

.benefits,
.features,
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit,
.feature,
.testimonial {
    background: white;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.icon {
    font-size: 32px;
}

.section {
    padding: 80px 8%;
    text-align: center;
}

.section.alt {
    background: #F1F5F9;
}

.cta {
    padding: 80px 8%;
    text-align: center;
    background: #4F46E5;
    color: white;
}


/* ===== NAV BAR ===== */

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(15, 23, 42, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav-inner {
    max-width: 1200px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo {
    width: 36px;
    height: 36px;
}

.brand {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}


/* Desktop menu */

.nav-center {
    display: flex;
    gap: 28px;
}

.nav-center a {
    color: #cbd5e1;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.nav-center a:hover {
    color: #fff;
}


/* Right */

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* Buttons */

.btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.btn.primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.btn.ghost {
    color: #cbd5e1;
}


/* Mobile */

.menu-btn {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}


/* Mobile Menu */

.mobile-menu {
    display: none;
    background: #0f172a;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu a {
    display: block;
    padding: 12px;
    color: #cbd5e1;
    text-decoration: none;
}

.mobile-menu a.primary {
    background: #6366f1;
    color: white;
    border-radius: 8px;
    text-align: center;
}


/* Responsive */

@media (max-width: 900px) {
    .nav-center,
    .btn.ghost,
    .btn.primary {
        display: none;
    }
    .menu-btn {
        display: block;
    }
}


/* Global Styles */

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #F7FAFC;
    color: #2D3748;
}


/* Navbar */

.nav {
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.4);
    z-index: 100;
    padding: 20px 10%;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left,
.nav-center,
.nav-right {
    display: flex;
    align-items: center;
}

.nav-left {
    cursor: pointer;
}

.nav-center a {
    margin: 0 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-right a {
    margin-left: 20px;
}

.btn.primary {
    background-color: #3B82F6;
    color: white;
    padding: 10px 25px;
    border-radius: 6px;
}

.menu-btn {
    display: none;
    font-size: 30px;
    color: white;
}


/* Hero */

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 10%;
    background: linear-gradient(135deg, #3B82F6, #9333EA);
    color: white;
    font-size: 16px;
}

.hero-content h1 {
    font-size: 48px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.mock-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.mock-card h4 {
    margin: 0;
    color: white;
}


/* Features */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 10%;
    background-color: white;
}

.feature {
    background-color: #F7FAFC;
    padding: 30px;
    border-radius: 12px;
}

.feature h3 {
    font-size: 22px;
}


/* Mobile Styles */

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    .hero {
        flex-direction: column;
        padding: 60px 10%;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .features {
        grid-template-columns: 1fr;
        padding: 40px 6%;
    }
    .mock-card {
        padding: 15px;
    }
}


/* ===== NAV ===== */

.ss-nav {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.ss-nav-inner {
    max-width: 1200px;
    margin: auto;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.ss-brand {
    display: flex;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
}

.ss-logo {
    width: 32px;
}

.ss-links a {
    margin: 0 14px;
    cursor: pointer;
    opacity: .85;
}

.ss-links a:hover {
    opacity: 1;
}

.ss-actions .btn {
    margin-left: 10px;
}

.ss-menu {
    display: none;
    font-size: 24px;
}

.ss-mobile {
    display: none;
    background: #111;
    padding: 12px;
}

.ss-mobile a {
    display: block;
    padding: 10px;
    color: #fff;
}


/* ===== HERO ===== */

.ss-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
    align-items: center;
}

.ss-hero-text h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.ss-hero-text p {
    font-size: 18px;
    opacity: .8;
}

.ss-cta {
    margin-top: 24px;
}

.ss-hero-ui img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}


/* ===== SECTIONS ===== */

.ss-section {
    padding: 80px 20px;
    text-align: center;
}

.ss-section.alt {
    background: #f5f7fb;
}

.ss-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.ss-card {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.icon {
    font-size: 28px;
}


/* ===== BENEFITS ===== */

.ss-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: auto;
}

.ss-benefits div {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}


/* ===== STEPS ===== */

.ss-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.step span {
    font-size: 28px;
    font-weight: bold;
    color: #6366f1;
}


/* ===== TESTIMONIALS ===== */

.ss-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.t {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
}


/* ===== FAQ ===== */

.ss-faq {
    max-width: 700px;
    margin: auto;
}

.faq-item {
    background: #fff;
    padding: 18px;
    margin-bottom: 12px;
    border-radius: 10px;
    cursor: pointer;
}

.faq-item p {
    display: none;
}

.faq-item.open p {
    display: block;
}


/* ===== CONTACT ===== */

.ss-contact {
    max-width: 500px;
    margin: auto;
    display: grid;
    gap: 12px;
}

.ss-contact input,
.ss-contact textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}


/* ===== FOOTER ===== */

.ss-footer {
    text-align: center;
    padding: 30px;
    background: #111;
    color: #fff;
}


/* ===== MOBILE ===== */

@media (max-width: 900px) {
    .ss-links {
        display: none;
    }
    .ss-menu {
        display: block;
    }
    .ss-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ss-grid,
    .ss-benefits,
    .ss-testimonials {
        grid-template-columns: 1fr;
    }
    .ss-steps {
        flex-direction: column;
    }
}


/* ===============================
   DOWNLOAD PAGE
================================ */

.ss-download {
    padding: 100px 20px;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    min-height: 100vh;
}

.ss-download-container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.ss-download h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #0f172a;
}

.ss-download-sub {
    font-size: 18px;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 60px;
}


/* GRID */

.ss-download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}


/* CARD */

.ss-download-card {
    background: white;
    padding: 40px 28px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ss-download-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.ss-os-icon {
    width: 56px;
    margin-bottom: 16px;
}

.ss-download-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.ss-download-card p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 24px;
}


/* NOTE */

.ss-download-note {
    margin-top: 50px;
    color: #64748b;
    font-size: 14px;
}


/* MOBILE */

@media (max-width: 900px) {
    .ss-download h1 {
        font-size: 36px;
    }
    .ss-download-grid {
        grid-template-columns: 1fr;
    }
}