/* ============================================================
   WebBoard - Landing Page & Auth Styles
   ============================================================ */

.landing-body { background: var(--dark); }

/* ---- Nav ---- */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 40px;
    background: rgba(15,15,26,0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 6px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---- Free badge in nav ---- */
.free-badge {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: #0a2a1a;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 100px 40px 60px;
    position: relative; overflow: hidden;
    text-align: center;
    background-image: url('../images/hero_bg.jpg');
    background-size: cover;
    background-position: center top;
}
/* dark overlay over the nebula */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,3,18,0.72) 0%, rgba(5,3,18,0.60) 60%, var(--dark-2) 100%);
    z-index: 0;
    pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.18; animation: float 8s ease-in-out infinite; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #6c63ff, transparent); top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #ff6584, transparent); top: 200px; right: -80px; animation-delay: -3s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #43e97b, transparent); bottom: -50px; left: 40%; animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

.hero-content {
    position: relative;
    z-index: 2;
    width: 75vw;
    max-width: 1000px;
    background: rgba(8, 5, 28, 0.52);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(108, 99, 255, 0.22);
    border-radius: 28px;
    padding: 64px 60px 56px;
    box-shadow: 0 8px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.hero-free-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(67,233,123,0.15), rgba(56,249,215,0.15));
    border: 1px solid rgba(67,233,123,0.3);
    color: #43e97b;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, #a8edea 50%, #43e97b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.hero-cta { position: relative; overflow: hidden; }
.hero-cta::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-20deg);
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { left: -60%; } 50% { left: 120%; } }

.hero-social-proof {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; flex-wrap: wrap;
    font-size: 0.8rem; color: var(--text-muted);
    margin-top: 12px;
}
.hero-social-proof span { display: flex; align-items: center; gap: 6px; }

/* ---- Preview Window ---- */
.hero-preview {
    position: relative; z-index: 2;
    margin-top: 60px;
    width: 100%; max-width: 680px;
}
.preview-window {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 80px rgba(108,99,255,0.25);
    animation: windowFloat 6s ease-in-out infinite;
}
@keyframes windowFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.preview-topbar {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px;
    background: var(--dark-3);
    border-bottom: 1px solid var(--border);
}
.preview-dots span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
.preview-dots span:nth-child(1) { background: #ff5f56; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #27c93f; }
.preview-title { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; flex: 1; }
.preview-screens-dots { display: flex; gap: 5px; align-items: center; }
.preview-screens-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: all 0.3s; }
.preview-screens-dots span.active { background: var(--primary); width: 16px; border-radius: 4px; }

.preview-desktop {
    position: relative;
    height: 290px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c29, #302b63);
}

/* Multiple screens inside preview */
.preview-screen {
    position: absolute;
    inset: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateX(100%);
}
.preview-screen.active { opacity: 1; transform: translateX(0); }

.preview-icon {
    position: absolute;
    display: flex; flex-direction: column; align-items: center;
    gap: 5px; cursor: pointer;
    animation: iconFloat 4s ease-in-out infinite;
}
.preview-icon:nth-child(2) { animation-delay: -1s; }
.preview-icon:nth-child(3) { animation-delay: -2s; }
.preview-icon:nth-child(4) { animation-delay: -0.5s; }
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes iconAppear { from { transform: scale(0) rotate(-10deg); opacity: 0; } to { transform: scale(1) rotate(0deg); opacity: 1; } }

.pi-img {
    width: 46px; height: 46px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.preview-icon span { font-size: 0.68rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.8); font-weight: 600; }

.preview-nav-left, .preview-nav-right {
    position: absolute; top: 50%; transform: translateY(-50%);
    font-size: 1.8rem; color: rgba(255,255,255,0.4); padding: 8px; cursor: pointer;
    z-index: 10;
}
.preview-nav-left { left: 4px; }
.preview-nav-right { right: 4px; }

/* ---- Post-it notes in demo ---- */
.preview-note {
    position: absolute;
    border-radius: 3px;
    padding: 7px 9px;
    z-index: 5;
    box-shadow: 2px 5px 14px rgba(0,0,0,0.45);
    animation: noteWobble 6s ease-in-out infinite;
}
.preview-note:nth-child(3) { animation-delay: -2s; }
.preview-note:nth-child(4) { animation-delay: -4s; }
@keyframes noteWobble { 0%,100%{ transform-origin:center; } 30%{ transform: rotate(calc(var(--r,0deg) + 1deg)) translateY(-2px); } 70%{ transform: rotate(calc(var(--r,0deg) - 1deg)); } }
.pnote-title { font-weight: 700; color: rgba(0,0,0,0.65); margin-bottom: 5px; font-size: 0.6rem; }
.pnote-line { height: 2px; background: rgba(0,0,0,0.18); border-radius: 1px; margin: 4px 0; }
.pnote-line.short { width: 55%; }

/* ---- Task list in demo ---- */
.preview-tasklist {
    position: absolute;
    background: rgba(10,22,45,0.92);
    border: 1px solid rgba(80,160,255,0.22);
    border-radius: 8px;
    padding: 8px 11px;
    min-width: 128px;
    z-index: 5;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
.ptl-header { font-size: 0.62rem; font-weight: 700; color: #c8deff; margin-bottom: 5px; }
.ptl-item { font-size: 0.58rem; color: rgba(255,255,255,0.72); padding: 1.5px 0; }
.ptl-done { color: rgba(255,255,255,0.35); text-decoration: line-through; }

/* ---- Widgets in demo ---- */
.preview-widget-mini {
    position: absolute;
    background: rgba(18,10,40,0.88);
    border: 1px solid rgba(160,130,255,0.22);
    border-radius: 8px;
    padding: 7px 10px;
    z-index: 5;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
.pwm-header { font-size: 0.56rem; color: rgba(255,255,255,0.38); margin-bottom: 3px; font-weight: 600; letter-spacing: 0.3px; }
.pwm-time { font-size: 1.15rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 2px; }
.pwm-body { font-size: 0.65rem; color: rgba(255,255,255,0.82); }
.pwm-quote-text { font-size: 0.58rem; color: rgba(255,255,255,0.62); font-style: italic; line-height: 1.45; }

/* ---- Feature label below desktop ---- */
.preview-feature-label {
    padding: 9px 16px;
    text-align: center;
    background: var(--dark-3);
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
}
#previewFeatureText { transition: opacity 0.28s ease; }

/* ---- Features ---- */
.features { padding: 80px 0; }
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1rem; margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 12px 40px rgba(108,99,255,0.2); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--primary-light); }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ---- How it works ---- */
.how-it-works { padding: 80px 0; background: var(--dark-2); }
.steps { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step { flex: 1; min-width: 220px; max-width: 300px; text-align: center; padding: 28px 20px; }
.step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800;
    margin: 0 auto 16px;
    box-shadow: 0 0 30px rgba(108,99,255,0.5);
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.88rem; }
.step-arrow { font-size: 2rem; color: var(--primary); opacity: 0.6; }

/* ---- CTA ---- */
.cta { padding: 80px 0; background: var(--dark); text-align: center; }
.cta-free-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(67,233,123,0.15), rgba(56,249,215,0.15));
    border: 1px solid rgba(67,233,123,0.3);
    color: #43e97b;
    font-size: 0.85rem; font-weight: 700;
    padding: 6px 18px; border-radius: 20px;
    margin-bottom: 20px;
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 12px; }
.cta p { color: var(--text-muted); margin-bottom: 32px; }
.cta-share {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 32px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}
.share-btn:hover { border-color: var(--primary); background: rgba(108,99,255,0.2); color: #fff; transform: scale(1.1); }

/* ---- Footer ---- */
.landing-footer { padding: 32px 0; text-align: center; border-top: 1px solid var(--border); }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ============================================================
   Auth Pages
   ============================================================ */
.auth-body {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; padding: 20px;
    background: var(--dark);
    position: relative; overflow: hidden;
    cursor: pointer; /* Suggest clickable to close */
}
.auth-body::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(108,99,255,0.15), transparent 70%);
    top: -200px; left: -200px; border-radius: 50%;
}
.auth-body::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,101,132,0.1), transparent 70%);
    bottom: -100px; right: -100px; border-radius: 50%;
}

.auth-container { width: 100%; max-width: 440px; position: relative; z-index: 1; cursor: default; }

.auth-card {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow), 0 0 60px rgba(108,99,255,0.1);
    position: relative;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Close button (✕) on auth cards */
.auth-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}
.auth-close:hover { background: rgba(231,76,60,0.2); color: #ff6584; border-color: rgba(231,76,60,0.4); }

.auth-logo {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    text-decoration: none; margin-bottom: 28px;
}
.auth-title { font-size: 1.6rem; font-weight: 700; text-align: center; margin-bottom: 8px; }
.auth-subtitle { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.auth-form { margin-top: 8px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.88rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary-light); text-decoration: none; font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ---- Remember-me row (toggle switch style) ---- */
.form-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.form-remember-label { font-size: 0.88rem; color: var(--text-muted); }

/* ---- Themes Showcase ---- */
.themes-showcase { padding: 80px 0 60px; background: var(--dark-2); overflow: hidden; }

.themes-track-wrap {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}
.themes-track-wrap::before,
.themes-track-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.themes-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-2), transparent);
}
.themes-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-2), transparent);
}

.themes-track {
    display: flex;
    gap: 20px;
    padding: 8px 20px 16px;
    animation: themesScroll 32s linear infinite;
    width: max-content;
}
.themes-track:hover { animation-play-state: paused; }

@keyframes themesScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.theme-slide {
    flex: 0 0 220px;
    height: 160px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}
.theme-slide:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 48px rgba(108,99,255,0.35);
    border-color: rgba(108,99,255,0.5);
}

.theme-slide-custom {
    background: linear-gradient(160deg, #1a0a00 0%, #3a1800 50%, #5a2a0a 100%);
    background-image:
        linear-gradient(160deg, rgba(26,10,0,0.85) 0%, rgba(58,24,0,0.85) 100%),
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px,
            transparent 2px, transparent 10px
        );
}

.theme-slide-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 28px 16px 10px;
}

.tsi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.tsi-img {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}
.tsi span {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
    white-space: nowrap;
}

.theme-slide-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 6px 12px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.3px;
}

/* ---- Multi-device ---- */
.multi-device { padding: 80px 0; background: var(--dark); }

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
}
.device-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 28px rgba(108,99,255,0.2);
}
.device-icon { font-size: 2rem; }
.device-card strong { font-size: 0.85rem; color: var(--text); font-weight: 600; }

.device-note {
    margin-top: 28px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.device-note strong { color: var(--primary-light); }

/* ---- Pricing ---- */
.pricing { padding: 80px 0; background: var(--dark-2); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 48px auto 0;
}

.pricing-card {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card-pro {
    background: linear-gradient(160deg, rgba(108,99,255,0.12), rgba(168,237,234,0.05));
    border-color: rgba(108,99,255,0.45);
    box-shadow: 0 0 40px rgba(108,99,255,0.18);
}
.pricing-card-pro:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 48px rgba(108,99,255,0.3);
}

.pricing-badge-pro {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(108,99,255,0.4);
}

.pricing-plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
}
.pricing-card-pro .pricing-plan-name { color: var(--primary-light); }

.pricing-price-wrap { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.pricing-price { font-size: 2.6rem; font-weight: 800; color: var(--text); }
.pricing-card-pro .pricing-price { color: var(--primary-light); }
.pricing-period { font-size: 1rem; color: var(--text-muted); }

.pricing-annual-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0; margin: 0 0 24px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}
.pricing-features li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.pricing-highlight {
    color: var(--text) !important;
    font-weight: 600;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .landing-nav { padding: 14px 20px; }
    .hero { padding: 90px 20px 40px; }
    .step-arrow { display: none; }
    .auth-card { padding: 30px 24px; }
    .hero-social-proof { gap: 10px; font-size: 0.75rem; }
    .cta-share { flex-wrap: wrap; }
    .preview-desktop { height: 200px; }
    .themes-track-wrap::before,
    .themes-track-wrap::after { width: 60px; }
    .theme-slide { flex: 0 0 180px; height: 140px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
    .devices-grid { grid-template-columns: repeat(3, 1fr); }
}
