/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a56db;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --primary-bg: #eff6ff;
    --success: #059669;
    --success-bg: #ecfdf5;
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --radius: 10px;
    --radius-sm: 6px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    font-family: var(--font);
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

/* ===== Header ===== */
.app-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 100%);
    color: white;
    padding: 0;
    box-shadow: var(--shadow-md);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo svg {
    flex-shrink: 0;
}

.header-subtitle {
    font-size: 13px;
    opacity: 0.7;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== Main Content ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 32px 64px;
}

/* ===== Mode Tabs ===== */
.mode-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--gray-200);
}

.mode-tab {
    padding: 12px 32px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    color: var(--gray-400);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.mode-tab:hover {
    color: var(--gray-600);
}

.mode-tab.active {
    color: var(--primary);
}

.mode-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.mode-panel {
    display: block;
}

/* ===== Step Indicator ===== */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.step-item .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-item .step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.step-item.active .step-number {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px var(--primary-bg);
}

.step-item.active .step-label {
    color: var(--primary);
}

.step-item.completed .step-number {
    background: var(--success);
    color: white;
}

.step-item.completed .step-label {
    color: var(--success);
}

.step-line {
    flex: 1;
    max-width: 80px;
    height: 2px;
    background: var(--gray-200);
    transition: background 0.3s ease;
}

.step-line.active {
    background: var(--primary);
}

/* ===== Step Sections ===== */
.step-section {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: opacity 0.3s ease;
}

.step-section.disabled-section {
    opacity: 0.45;
    pointer-events: none;
}

.section-header {
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.section-header p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===== Forms ===== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.required {
    color: var(--danger);
}

.form-control {
    padding: 10px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font);
    background: white;
    color: var(--gray-800);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-control:disabled {
    background: var(--gray-100);
    color: var(--gray-400);
    cursor: not-allowed;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.input-with-hint {
    position: relative;
}

.hint-text {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
    min-height: 16px;
}

/* ===== Buttons ===== */
.form-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.display-value {
    padding: 10px 16px;
    background: var(--primary-bg);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    min-height: 20px;
}

.btn {
    padding: 10px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    touch-action: manipulation;
}

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

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:disabled {
    background: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1.5px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

/* ===== Results Table ===== */
.results-section {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.result-count {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 20px;
    margin-left: 8px;
}

.table-container {
    overflow-x: auto;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    max-height: 480px;
    overflow-y: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.data-table th {
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 2px solid var(--gray-200);
}

.data-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    white-space: nowrap;
}

.data-table td.model-cell {
    font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
    font-size: 13px;
    color: var(--primary);
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.data-table tbody tr {
    cursor: pointer;
    transition: background 0.15s ease;
}

.data-table tbody tr:hover {
    background: var(--primary-bg);
}

.data-table tbody tr.selected {
    background: #dbeafe;
    box-shadow: inset 3px 0 0 var(--primary);
}

.data-table tbody tr.selected td {
    font-weight: 600;
    color: var(--primary-dark);
}

/* ===== Selected Info ===== */
.selected-info {
    background: var(--primary-bg);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
}

.selected-info .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.selected-info .info-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.selected-info .info-value {
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 700;
}

/* ===== Model Result ===== */
.model-result {
    background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 100%);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    margin-bottom: 24px;
}

.model-number {
    font-size: 28px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    word-break: break-all;
    font-family: "Consolas", "Courier New", monospace;
    line-height: 1.4;
    min-height: 40px;
}

.model-breakdown {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.model-breakdown .breakdown-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    text-align: center;
    min-width: 80px;
}

.model-breakdown .breakdown-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.model-breakdown .breakdown-value {
    font-size: 14px;
    color: white;
    font-weight: 600;
    font-family: "Consolas", "Courier New", monospace;
}

.model-breakdown .breakdown-separator {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
    font-weight: 300;
}

.cooling-recommendation {
    background: rgba(34, 197, 94, 0.25) !important;
    border-color: rgba(34, 197, 94, 0.5) !important;
    min-width: 200px !important;
}

.cooling-recommendation .breakdown-label {
    color: rgba(255, 255, 255, 0.8) !important;
}

.cooling-recommendation strong {
    color: #4ade80;
    font-size: 16px;
}

/* ===== Empty States ===== */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--gray-400);
}

.empty-state svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
}

/* ===== Footer ===== */
.app-footer {
    text-align: center;
    padding: 20px;
    color: var(--gray-400);
    font-size: 13px;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--gray-800);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .form-grid,
    .form-grid-wide {
        grid-template-columns: 1fr;
    }
    .header-content {
        padding: 16px 20px;
    }
    .main-content {
        padding: 20px;
    }
    .step-item .step-label {
        display: none;
    }
    .header-subtitle {
        display: none;
    }
}

/* ===== Mobile (phones) ===== */
@media (max-width: 640px) {
    /* Header */
    .header-content {
        padding: 14px 16px;
    }
    .logo {
        font-size: 16px;
        gap: 8px;
    }
    .logo svg {
        width: 28px;
        height: 28px;
    }

    /* Main content */
    .main-content {
        padding: 16px 12px 48px;
    }

    /* Tabs */
    .mode-tabs {
        margin-bottom: 20px;
    }
    .mode-tab {
        flex: 1;
        padding: 10px 12px;
        font-size: 14px;
        text-align: center;
    }

    /* Step indicator */
    .step-indicator {
        margin-bottom: 24px;
        gap: 0;
    }
    .step-item {
        padding: 6px 4px;
        gap: 6px;
    }
    .step-item .step-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    .step-line {
        max-width: 30px;
    }

    /* Sections */
    .step-section,
    .results-section {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: 8px;
    }
    .section-header h2 {
        font-size: 17px;
    }
    .section-header p {
        font-size: 13px;
    }

    /* Forms */
    .form-grid,
    .form-grid-wide {
        gap: 12px;
    }
    .form-group label {
        font-size: 13px;
    }
    .form-control {
        padding: 10px 12px;
        font-size: 16px; /* prevent iOS zoom */
    }
    select.form-control {
        padding-right: 32px;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    .form-actions {
        flex-direction: column;
    }
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Selected info */
    .selected-info {
        padding: 12px 14px;
        gap: 6px 20px;
    }
    .selected-info .info-item {
        flex: 1 1 40%;
        min-width: 120px;
    }

    /* Table */
    .table-container {
        max-height: 360px;
        font-size: 12px;
    }
    .data-table th,
    .data-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
    .data-table td.model-cell {
        max-width: 200px;
        font-size: 11px;
    }

    /* Model result */
    .model-result {
        padding: 24px 16px;
    }
    .model-number {
        font-size: 20px;
        letter-spacing: 0.5px;
    }
    .model-breakdown {
        margin-top: 20px;
        gap: 4px;
    }
    .model-breakdown .breakdown-item {
        padding: 6px 10px;
        min-width: 60px;
    }
    .model-breakdown .breakdown-label {
        font-size: 10px;
    }
    .model-breakdown .breakdown-value {
        font-size: 12px;
    }
    .model-breakdown .breakdown-separator {
        font-size: 14px;
    }

    /* Footer */
    .app-footer {
        padding: 16px;
        font-size: 12px;
    }

    /* Toast */
    .toast {
        bottom: 24px;
        left: 16px;
        right: 16px;
        transform: translateY(120px);
        font-size: 13px;
        text-align: center;
        border-radius: 8px;
    }
    .toast.show {
        transform: translateY(0);
    }

    /* Step 2 quick hints */
    .hint-text {
        font-size: 11px;
    }
}

/* ===== Diagram button & modal ===== */
.btn-diagram {
    margin-left: 8px;
    padding: 2px 10px;
    font-size: 12px;
    color: #2563eb;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-weight: normal;
    vertical-align: middle;
    line-height: 1.5;
}

.btn-diagram:hover {
    background-color: #dbeafe;
    border-color: #93c5fd;
}

.btn-diagram:disabled {
    color: #9ca3af;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

.diagram-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.diagram-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.diagram-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.diagram-modal-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.diagram-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 0 4px;
}

.diagram-modal-close:hover {
    color: #111827;
}

.diagram-modal-body {
    padding: 20px;
    overflow: auto;
    text-align: center;
    background: #fff;
}

.diagram-modal-body img {
    max-width: 100%;
    max-height: 75vh;
    display: block;
    margin: 0 auto;
}

.diagram-modal-empty {
    padding: 60px 20px;
    color: #6b7280;
    font-size: 14px;
}

/* ===== Contact Button (Header) ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-btn svg {
    flex-shrink: 0;
}

/* ===== Contact Modal ===== */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.contact-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 380px;
    padding: 28px 24px 24px;
    text-align: center;
    animation: contactModalIn 0.22s ease;
}

@keyframes contactModalIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.contact-modal-content h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #1a56db;
}

.contact-subtitle {
    margin: 0 0 18px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.contact-label {
    color: #64748b;
    font-weight: 500;
}

.contact-value {
    color: #1a56db;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
    text-align: right;
}

.contact-value:hover {
    text-decoration: underline;
}

.contact-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.contact-qrcode-label {
    margin: 0 0 10px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.contact-qrcode img {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.contact-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 24px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s ease;
}

.contact-modal-close:hover {
    color: #1a56db;
}

/* ===== Back Button (Header) ===== */
.back-btn {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-btn svg {
    flex-shrink: 0;
}

/* ===== Landing Page ===== */
.landing-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 24px 80px;
    min-height: 70vh;
    animation: landingFadeIn 0.4s ease;
}

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

.landing-header {
    text-align: center;
    margin-bottom: 48px;
}

.landing-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px;
    letter-spacing: 0.5px;
}

.landing-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

.landing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    max-width: 1100px;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 28px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 86, 219, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04);
}

.product-icon-wrap {
    margin-bottom: 24px;
}

.product-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35), inset 0 -2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.product-icon svg {
    width: 56px;
    height: 56px;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.product-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
}

.product-params {
    width: 100%;
    background: #f0f6ff;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 22px;
    border: 1px solid #dbeafe;
}

.param-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #c7dafd;
    font-size: 14px;
}

.param-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.param-row:first-child {
    padding-top: 0;
}

.param-label {
    color: #4b5563;
    font-weight: 500;
}

.param-value {
    color: #1a56db;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.product-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.toggle-params {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease;
    user-select: none;
}

.toggle-params:hover {
    color: #1a56db;
}

.start-btn {
    padding: 10px 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    transition: all 0.2s ease;
    min-width: 130px;
}

.start-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
}

.start-btn:active {
    transform: translateY(0);
}

/* Hide landing when entering a tab */
.landing-page.is-hidden {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .landing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .landing-header h1 {
        font-size: 26px;
    }
}
