/* ============================================
   arnovandenbraak.nl — Dashboard Styles
   Premium Dark Glassmorphism Theme
   ============================================ */

/* ── CSS Variables ── */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #38bdf8;
    --accent-alt: #818cf8;
    --accent-green: #34d399;
    --accent-red: #f87171;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(56, 189, 248, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(ellipse at 0% 0%, hsla(240, 50%, 12%, 1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% -10%, hsla(225, 50%, 18%, 0.6) 0%, transparent 45%),
        radial-gradient(ellipse at 100% 0%, hsla(290, 40%, 14%, 0.5) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, hsla(200, 40%, 8%, 0.4) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Utility ── */
.hidden {
    display: none !important;
}

/* ============================================
   AMBIENT ANIMATED BACKGROUND
   ============================================ */

.ambient-scene {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    mix-blend-mode: screen;
    will-change: transform, opacity;
}

.glow-1 {
    width: 550px;
    height: 550px;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(99, 102, 241, 0.15) 60%, transparent 70%);
    animation: floatGlow1 18s ease-in-out infinite alternate;
}

.glow-2 {
    width: 650px;
    height: 650px;
    top: 20%;
    right: -15%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(59, 130, 246, 0.15) 60%, transparent 70%);
    animation: floatGlow2 22s ease-in-out infinite alternate;
}

.glow-3 {
    width: 500px;
    height: 500px;
    bottom: -15%;
    left: 25%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, rgba(56, 189, 248, 0.1) 60%, transparent 70%);
    animation: floatGlow3 20s ease-in-out infinite alternate;
}

.ambient-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
    opacity: 0.7;
}

@keyframes floatGlow1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(60px, 40px) scale(1.1);
    }
    100% {
        transform: translate(-30px, 80px) scale(0.95);
    }
}

@keyframes floatGlow2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-70px, -50px) scale(1.08);
    }
    100% {
        transform: translate(40px, -80px) scale(0.92);
    }
}

@keyframes floatGlow3 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -40px) scale(1.15);
    }
    100% {
        transform: translate(-60px, 20px) scale(0.9);
    }
}

/* ============================================
   LANDING PAGE & HERO
   ============================================ */

.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.landing-wrapper {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    animation: fadeIn 0.8s ease-out;
}

/* Hero Section */
.landing-hero {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
    animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    animation: fadeInUp 0.7s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 60%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 540px;
    animation: fadeInUp 0.8s ease-out;
}

/* Feature Cards Grid */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.15rem;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.feature-card:nth-child(1) { animation-delay: 0.15s; }
.feature-card:nth-child(2) { animation-delay: 0.25s; }
.feature-card:nth-child(3) { animation-delay: 0.35s; }
.feature-card:nth-child(4) { animation-delay: 0.45s; }

.feature-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(56, 189, 248, 0.08);
}

.feature-icon {
    font-size: 1.35rem;
    line-height: 1;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.feature-info h3 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.feature-info p {
    font-size: 0.76rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.feature-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.feature-title-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}

.feature-title-row h3 {
    margin-bottom: 0;
}

.feature-badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.12rem 0.45rem;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 9999px;
    color: var(--accent);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.feature-arrow {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.feature-link:hover .feature-arrow {
    transform: translate(2px, -2px);
    color: var(--accent);
}

.feature-active {
    border-color: rgba(56, 189, 248, 0.25);
    background: rgba(56, 189, 248, 0.03);
}

.feature-active:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.18);
}

/* ============================================
   AUTHENTICATION CARD
   ============================================ */

.login-card {
    background: rgba(17, 24, 39, 0.65);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    justify-self: center;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.login-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(56, 189, 248, 0.12);
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-alt), transparent);
    opacity: 0.7;
}

.lock-icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    animation: pulse 2.4s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.login-card h2 {
    font-size: 1.85rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.g_id_signin {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.loading {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 1rem;
    animation: fadeInUp 0.3s ease;
}

.security-note {
    margin-top: 1.6rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.security-note::before {
    content: '🔒';
    font-size: 0.7rem;
}

.login-status-bar {
    margin-top: 1.15rem;
    padding: 0.45rem 0.95rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    color: var(--text-secondary);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.login-status-bar:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--glass-border-hover);
}

.status-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-online {
    background-color: var(--accent-green);
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
}

.status-offline {
    background-color: var(--accent-red);
    box-shadow: 0 0 8px rgba(248, 113, 113, 0.7);
}

.status-standby {
    background-color: #facc15;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.7);
}

.status-divider {
    color: var(--text-muted);
    opacity: 0.5;
}

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

.dashboard {
    min-height: 100vh;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ── Top Navigation Bar ── */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
}

.brand-text {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.session-timer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-red);
    font-variant-numeric: tabular-nums;
}

.session-timer.safe {
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.2);
    color: var(--accent-green);
}

.timer-icon {
    font-size: 0.8rem;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem 0.35rem 0.35rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    cursor: default;
}

.chip-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.chip-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout:hover {
    background: rgba(248, 113, 113, 0.15);
    border-color: rgba(248, 113, 113, 0.3);
    color: var(--accent-red);
}

/* ── Welcome Section ── */
.welcome-section {
    padding: 2.5rem 1.5rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.greeting {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease;
}

.greeting-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

/* ── Section Titles ── */
.section-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── Apps Grid ── */
.apps-section {
    padding: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.app-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
}

.app-tile:nth-child(1) {
    animation-delay: 0.1s;
}

.app-tile:nth-child(2) {
    animation-delay: 0.15s;
}

.app-tile:nth-child(3) {
    animation-delay: 0.2s;
}

.app-tile:nth-child(4) {
    animation-delay: 0.25s;
}

.app-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-tile:hover {
    transform: translateY(-3px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.app-tile:hover::before {
    opacity: 1;
}

.app-tile:active {
    transform: translateY(0);
}

/* Tile Variants */
.tile-klanten::before {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.12), rgba(255, 77, 77, 0.08));
}

.tile-klanten:hover {
    border-color: rgba(227, 30, 36, 0.3);
}

.tile-ha::before {
    background: linear-gradient(135deg, rgba(3, 169, 244, 0.15), rgba(2, 136, 209, 0.08));
}

.tile-ha:hover {
    border-color: rgba(3, 169, 244, 0.4);
}

.tile-energy::before {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(234, 88, 12, 0.08));
}

.tile-energy:hover {
    border-color: rgba(245, 158, 11, 0.4);
}

.tile-finance::before {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(16, 185, 129, 0.08));
}

.tile-finance:hover {
    border-color: rgba(52, 211, 153, 0.3);
}

.tile-planner::before {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.12), rgba(99, 102, 241, 0.08));
}

.tile-planner:hover {
    border-color: rgba(129, 140, 248, 0.3);
}

.tile-mileage::before {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(14, 165, 233, 0.08));
}

.tile-mileage:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.tile-icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.tile-content {
    flex: 1;
    min-width: 0;
}

.tile-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.tile-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tile-arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
}

.app-tile:hover .tile-arrow {
    transform: translateX(4px);
    color: var(--text-secondary);
}

/* ── Spotify Section ── */
.spotify-section {
    padding: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.spotify-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1db954;
    display: inline-block;
    animation: spotifyPulse 1.5s infinite;
}

@keyframes spotifyPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.5);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 6px rgba(29, 185, 84, 0);
    }
}

.now-playing-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    max-width: 400px;
    animation: fadeInUp 0.5s ease;
}

.np-art {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.np-info {
    flex: 1;
    min-width: 0;
}

.np-status {
    font-size: 0.7rem;
    color: #1db954;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.np-title {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-artist {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Spotify Embed */
.spotify-embed-section {
    padding: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.spotify-embed-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ── Footer ── */
.dashboard-footer {
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* ── Responsive ── */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 1rem;
    }

    .brand-text {
        display: none;
    }

    .session-timer {
        display: none;
    }

    .chip-name {
        display: none;
    }

    .welcome-section {
        padding: 1.5rem 1rem 0.5rem;
    }

    .greeting {
        font-size: 1.4rem;
    }

    .apps-section,
    .spotify-section,
    .spotify-embed-section {
        padding: 1rem;
    }

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

@media (max-width: 992px) {
    .landing-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-badge {
        align-self: center;
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-features {
        max-width: 550px;
        margin: 0.5rem auto 0;
    }
}

@media (max-width: 600px) {
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        text-align: left;
    }

    .container {
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-card h2 {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ambient-glow,
    .badge-pulse,
    .lock-icon,
    .feature-card {
        animation: none !important;
        transition: none !important;
    }
}