/* Modern Glassmorphic Design System for Missionsgatan 26 */
:root {
    --bg-dark: #090b0e;
    --card-bg: rgba(22, 28, 38, 0.45);
    --card-border: rgba(255, 255, 255, 0.07);
    --card-border-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-blue: #38bdf8;
    --accent-purple: #c084fc;
    --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    --accent-glow: rgba(56, 189, 248, 0.15);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Backdrop Glows */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

.glow-2 {
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

/* Page Wrapper */
.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    z-index: 10;
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.logo svg {
    filter: drop-shadow(0 0 8px var(--accent-blue));
}

.title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Dashboard Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* Glassmorphism Card Style */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.25rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--card-border-hover);
    box-shadow: 0 12px 40px 0 rgba(56, 189, 248, 0.08), 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.card:hover .card-icon {
    background: var(--accent-gradient);
    color: var(--bg-dark);
    transform: scale(1.05);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

/* Card Column Spans */
.wifi-card {
    grid-column: span 7;
}

.portal-card {
    grid-column: span 5;
}

.info-card {
    grid-column: span 6;
}

.guidelines-card {
    grid-column: span 6;
}

/* WiFi Card Instructions */
.wifi-instructions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.instruction-step p {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Security Note Box */
.note-box {
    margin-top: auto;
    background-color: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.note-box svg {
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.note-box span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(56, 189, 248, 0.4);
    transform: scale(1.02);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.portal-cta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
}

.portal-cta p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Lists */
.info-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.info-list li::before {
    content: "•";
    color: var(--accent-blue);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
}

.info-list li strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: fadeIn 1s ease 0.4s both;
}

/* Responsive Breakpoints */
@media (max-width: 968px) {
    .wifi-card, .portal-card, .info-card, .guidelines-card {
        grid-column: span 12;
    }
    
    .header {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .wrapper {
        padding: 2rem 1rem;
    }
    
    .card {
        padding: 1.75rem;
    }
}

/* CSS Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
