* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%);
    color: #1e293b;
    line-height: 1.5;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
/* Header & Navigation */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 10;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    flex-wrap: wrap;
    gap: 16px;
}
.logo {
    background-image: url('/static/inqueue_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 150px;
    height: 50px;
    text-indent: -9999px;
    transform: scale(5.0);
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}
.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #667eea;
}
.btn-outline {
    border: 1px solid #667eea;
    background: transparent;
    padding: 8px 20px;
    border-radius: 30px;
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-outline:hover {
    background: #667eea;
    color: white;
}
.btn-primary {
    background: #667eea;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(102,126,234,0.2);
}
.btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(102,126,234,0.3);
}
.btn-secondary {
    background: white;
    border: 1px solid #cbd5e1;
    padding: 12px 28px;
    border-radius: 40px;
    color: #1e293b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}
.btn-large {
    font-size: 1.1rem;
    padding: 14px 36px;
}
.btn-block {
    width: 100%;
}
/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}
.hero p {
    font-size: 1.2rem;
    color: #475569;
    max-width: 650px;
    margin: 0 auto 32px;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-buttons .btn-primary {
    background: #667eea;
}
.hero-buttons .btn-secondary {
    border-color: #667eea;
    color: #667eea;
}
.hero-buttons .btn-secondary:hover {
    background: #667eea;
    color: white;
}
/* Choose section */
.choose-section {
    padding: 60px 0 40px;
}
.choose-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
}
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.product-card {
    background: white;
    border-radius: 32px;
    padding: 36px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column; /* stack children vertically */
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
}
.product-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}
.product-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.product-card .sub {
    color: #475569;
    margin-bottom: 16px;
}
.product-card .desc {
    margin-bottom: 16px;
    line-height: 1.6;
}
.product-card ul {
    list-style: none;
    margin: 16px 0 20px;
}
.product-card ul li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-card .price-tag {
    font-size: 1.4rem;
    font-weight: 700;
    color: #667eea;
    margin: 12px 0 20px;
    margin-top: auto; /* absorbs all extra space above */
}
.product-card .btn-primary,
.product-card .btn-secondary {
    width: 100%;
    text-align: center;
}
/* Guide section */
.guide-section {
    padding: 60px 0;
    background: white;
    border-radius: 48px;
    margin: 40px 0;
}
.guide-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}
.table-wrapper {
    overflow-x: auto;
}
.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.guide-table th {
    text-align: left;
    padding: 12px 16px;
    background: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
}
.guide-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}
.guide-table tr:last-child td {
    border-bottom: none;
}
.guide-table .badge {
    display: inline-block;
    background: #667eea;
    color: white;
    font-weight: 600;
    padding: 2px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
}
.guide-table .badge-green {
    background: #10b981;
}
/* Stand / Sit */
.stand-sit {
    padding: 60px 0;
    background: #f8fafc;
    border-radius: 48px;
    margin: 40px 0;
}
.stand-sit h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}
.stand-sit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: center;
}
.stand-sit-item {
    background: white;
    border-radius: 32px;
    padding: 40px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
}
.stand-sit-item .icon {
    font-size: 4rem;
    margin-bottom: 12px;
}
.stand-sit-item h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.stand-sit-item .tags {
    color: #475569;
    font-weight: 500;
    margin-bottom: 12px;
}
.stand-sit-item .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
}
.stand-sit-item .btn-primary {
    margin-top: 16px;
    display: inline-block;
}
/* Pricing (new) */
.pricing-section {
    padding: 60px 0;
}
.pricing-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.pricing-section .subhead {
    text-align: center;
    color: #475569;
    margin-bottom: 40px;
}
.pricing-block {
    margin-bottom: 60px;
}
.pricing-block .block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.pricing-block h3 {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.pricing-card {
    background: white;
    border-radius: 28px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, border-color 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column; /* enables margin-top:auto on button */
    height: 100%;           /* fills the stretched grid cell */
}
.pricing-card:hover {
    transform: translateY(-4px);
    border-color: #667eea;
}
.pricing-card h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.pricing-card .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #667eea;
    margin: 12px 0 4px;
}
.pricing-card .price small {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}
.pricing-card ul {
    list-style: none;
    margin: 20px 0 24px;
}
.pricing-card ul li {
    padding: 6px 0;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}
.pricing-card ul li:last-child {
    border-bottom: none;
}
.pricing-card .btn-secondary,
.pricing-card .btn-primary {
    width: 100%;
}
/* Push button (and everything after it) to the bottom */
.pricing-card .btn-secondary {
    margin-top: auto;
}
/* Keep badge tight under the button, consistent spacing */
.pricing-card .save-badge {
    margin-top: 8px;
    text-align: center;
}
.save-badge {
    display: inline-block;
    background: #dbeafe;
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-top: 8px;
}
/* Toggle switch */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #475569;
}
.toggle-container .toggle-label {
    cursor: pointer;
}
.toggle-container .toggle-label.active {
    color: #1e293b;
    font-weight: 600;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
.switch input:checked + .slider {
    background-color: #667eea;
}
.switch input:checked + .slider:before {
    transform: translateX(22px);
}
/* Features (bevaret) */
.features {
    padding: 60px 0;
    background: white;
    border-radius: 48px;
    margin: 40px 0;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
}
.features-subtitle {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}
.features-subtitle--spaced {
    margin-top: 48px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.feature-card {
    background: #f8fafc;
    padding: 28px;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.2s;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.feature-card p {
    color: #475569;
}
/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}
.footer a {
    color: #cbd5e1;
    text-decoration: underline;
    cursor: pointer;
}
.footer a:hover {
    color: white;
}
.footer-legal {
    margin-top: 8px;
    font-size: 0.8rem;
}
[hidden] { display: none !important; }   /* if not already present */
/* Flag selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

/* Trigger: a single round flag button */
.lang-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.15s, transform 0.15s;
}
.lang-trigger:hover  { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.lang-trigger:active { transform: scale(0.96); }
.lang-trigger:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.35);
}

.lang-trigger .flag-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* Menu: popover below the trigger, right-aligned */
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: langMenuIn 0.15s ease-out;
}

@keyframes langMenuIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    color: #334155;
    text-align: left;
    transition: background 0.12s;
}
.lang-option:hover { background: #f1f5f9; }
.lang-option:focus-visible {
    outline: none;
    background: #f1f5f9;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.35);
}

.lang-option img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.lang-option.lang-active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}
.lang-option.lang-active::after {
    content: "✓";
    margin-left: auto;
    color: #1d4ed8;
    font-size: 0.85rem;
}
/* Modal styles (for LIA & Order) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}
.modal-content {
    background: white;
    border-radius: 32px;
    max-width: 800px;
    width: 100%;
    margin: auto;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: modalFadeIn 0.2s ease-out;
}
.modal-content--narrow {
    max-width: 500px;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.modal-actions {
    margin-top: 24px;
    text-align: right;
}
.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    box-sizing: border-box;
}
.modal-content label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: #334155;
}
.modal-content .form-group {
    margin-bottom: 16px;
}
.order-status {
    display: none;
    margin-top: 16px;
    text-align: center;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
.modal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #1e293b;
}
.lia-section {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}
.lia-section h3 {
    color: #667eea;
    margin-bottom: 12px;
    font-size: 1.2rem;
}
.lia-section p, .lia-section ul {
    line-height: 1.6;
    color: #334155;
}
.lia-section ul {
    padding-left: 20px;
    margin-top: 8px;
}

.price-equivalent {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: -8px;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .product-grid { grid-template-columns: 1fr; }
    .stand-sit-grid { grid-template-columns: 1fr; }
    .nav { flex-direction: column; align-items: stretch; }
    .nav-links { justify-content: center; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .guide-table { font-size: 0.85rem; }
    .guide-table th, .guide-table td { padding: 8px 10px; }
    .modal-content { padding: 20px; }
    .lia-section h3 { font-size: 1rem; }
    .pricing-block .block-header { flex-direction: column; align-items: stretch; }
}